Skip to content

Merge upstream #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 489 commits into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
489 commits
Select commit Hold shift + click to select a range
70656aa
fix leak in log_printf
me-no-dev Jan 9, 2019
a539257
An example to read high frequency analog data using i2s_adc (#2295)
lbernstone Jan 10, 2019
b0582e1
Fix compilation failing on Windows because of liblib.a
me-no-dev Jan 10, 2019
e544e67
PlatformIO: Revert back default partition table to "default.csv" (#2299)
ivankravets Jan 10, 2019
566b69e
Test @PlatformIO with CameraWebServer example (#2300)
ivankravets Jan 10, 2019
9a7946e
I2C fix READ of zero bytes hardware hang (#2301)
stickbreaker Jan 10, 2019
e8a2c16
Update issue templates
me-no-dev Jan 11, 2019
f7cf583
Update README.md
me-no-dev Jan 11, 2019
81844f5
Add API to feed the loop WDT (call from loop only)
me-no-dev Jan 12, 2019
6cf307d
Fix copy/paste error in RMT
me-no-dev Jan 14, 2019
45fa0f8
Fix issue with WiFi lib sending the wrong event ID when debug is on
me-no-dev Jan 22, 2019
6718da0
Add ESP-EYE support to the camera demo
me-no-dev Jan 22, 2019
fa6f759
I2s adc (#2309)
lbernstone Jan 22, 2019
3350476
I2C debugging and Log Dump Explaination (#2325)
stickbreaker Jan 22, 2019
489feb8
Fix BananaPi-BIT and T-Beam pin definitions (#2343)
OttoWinter Jan 22, 2019
2ba1e66
Fix SS pin for Adafruit Feather variant of the ESP32 board (#2344)
mcwhittemore Jan 22, 2019
00a546e
python2 get.py does not work behind proxy (#2349)
tanishqjasoria Jan 22, 2019
8cbc60e
fixed rmt receive data pointer position. (#2353)
hancheol-cho Jan 22, 2019
29d5987
Webserver library - fix logging (#2355) (#2359)
meltdown03 Jan 22, 2019
ffd15e4
fix log error code format (#2366)
acevest Jan 23, 2019
86fdb5b
Fix compilation errors when used as IDF component
me-no-dev Jan 26, 2019
755cd93
add missing EEPROM lib to CMakeLists.txt, moved the EEPROM files to …
marcogmaia Feb 14, 2019
aa2393b
remove useless condition in if statement (#2371)
acevest Feb 14, 2019
e302a68
Board T-Beam: Update pins_arduino.h (#2380)
cyberman54 Feb 14, 2019
fc737e0
Add connect timeout to WiFiClient (#2383)
boarchuz Feb 14, 2019
f6b9e9c
Clarified comments and debug messages in WiFiClient Example (#2389)
joeybab3 Feb 14, 2019
c1344ae
New version of the ESP32-EVB/Gateway/PoE boards (#2397)
Stanimir-Petev Feb 14, 2019
c001996
Add default pin mapping for Serial1 and Serial2 for wESP32 (#2409)
xorbit Feb 14, 2019
2e9cb59
default FORMAT_FILESYSTEM to false in FSBrowser.ino (#2425)
lbernstone Feb 14, 2019
8806acf
Added partition menu for OROCA EduBot board. (#2429)
hancheol-cho Feb 14, 2019
8ec7640
Fix compile warning, esp32-hal-i2c.c (#2434)
stickbreaker Feb 14, 2019
71ec3c3
Correct millis() error causes by micros() overflow every about 72 min…
Feb 14, 2019
c0345ea
fix missing the first bit in HC589 shift in (#2448)
hongthiet1994 Feb 14, 2019
010a7c6
Update IDF to abea9e4c0 (#2458)
me-no-dev Feb 14, 2019
89d6b89
Fixed missing null terminator in EEPROM.readString(address, value, ma…
kfitzgerald Feb 14, 2019
2bb32bd
Unbiased random (#2468)
lbernstone Feb 18, 2019
628b8f0
Fix Olimex board definition
me-no-dev Feb 18, 2019
5af0336
Changed the description of file (#2476)
a-c-sreedhar-reddy Feb 19, 2019
f3c1a91
adding uartRxActive to expose the RX state machine status as a boolea…
atanisoft Mar 3, 2019
84e458a
Add Heltec boards defintion and update board menu chooices (#2475)
Heltec-Aaron-Lee Mar 3, 2019
2ceab7c
return macaddress (#2477)
a-c-sreedhar-reddy Mar 3, 2019
dffda0b
log no networks found when scanResult is 0 (#2484)
a-c-sreedhar-reddy Mar 3, 2019
ff85f3e
connect only to provided creds (#2491)
a-c-sreedhar-reddy Mar 3, 2019
cebd870
Default pin remap for wESP32 (#2508)
xorbit Mar 3, 2019
cb0a939
Adding debug flag to PIO build script (#2510)
atanisoft Mar 3, 2019
566f659
Frog Board ESP32 definition (#2515)
hosek Mar 3, 2019
7df50a9
Update IDF to ebdcbe8c6 (#2539)
me-no-dev Mar 3, 2019
d5f71ce
Added a parameter for max files in SD (#2563)
lbernstone Apr 9, 2019
e28dce7
Get Odroid-Go's PSRAM detected (#2564)
tobozo Apr 9, 2019
1db72a2
Added ESP32-CAM board (#2572)
Niek Apr 9, 2019
8e8c503
Added rmtDeinit to header. Fixes #2585 (#2587)
lbernstone Apr 9, 2019
4930853
Add support for ffat on 4MB ESP32 Dev Module and mhetesp32minikit boa…
CelliesProjects Apr 9, 2019
8091c2c
Add M5Stick-C to board manager (#2594)
EeeeBin Apr 9, 2019
67ee7c3
workaround for FS implementations that do not support fflush() (#2596)
everslick Apr 9, 2019
dd64980
Add server connect timeout to HTTPClient (#2606)
boarchuz Apr 9, 2019
92220b7
Added PATCH request. (#2610)
buddemat Apr 9, 2019
53a4bf3
Added 2 ffat partition schemes for 4MB modules + improved description…
marcmerlin Apr 10, 2019
0906bf5
update getLocalTime(). (#2629)
a-c-sreedhar-reddy Apr 10, 2019
a0c975d
Reset retry counter upon successful write (#2638)
dyarkovoy Apr 10, 2019
9150803
Hide log_v behind conditional define, reduce excessive logging (#2641)
stickbreaker Apr 10, 2019
da8b7c1
overload Preferences.getBytes similar to nvs so you can get size of t…
lbernstone Apr 10, 2019
6744565
Also show how space is allocated for the default partitions (#2649)
marcmerlin Apr 11, 2019
a87b2ec
Fix AsyncUDP receive memory leak (#2607)
jweigelt Apr 11, 2019
e0beac8
File with more than 32,767 characters (#2566)
Apr 11, 2019
25c0b52
Alternative Improve _uploadReadByte (#2656)
vicatcu Apr 12, 2019
1412606
Properly allocate string and remove warning (#2652)
Apr 12, 2019
7b5cd47
Set ESP-IDF to 3.2 (#2662)
me-no-dev Apr 12, 2019
1efcd21
replace with strerror (#2663)
vicatcu Apr 12, 2019
6dab3f6
Fix LEDC channels above 8 not properly clearing
me-no-dev Apr 12, 2019
33d4186
Add board "SparkFun LoRa Gateway 1-Channel". (#2664)
jdieg0 Apr 13, 2019
d922557
Set default Serial1 pins for Adafruit Feather 32
me-no-dev Apr 13, 2019
fa74767
Allow selecting in IDF the running core for Arduino's core tasks
me-no-dev Apr 13, 2019
c600929
Add missing definitions
me-no-dev Apr 13, 2019
ea043cd
Fix WiFi Multi not clearing password
me-no-dev Apr 13, 2019
ef07a84
Update esp32-camera driver
me-no-dev Apr 13, 2019
582e643
Add proper timeout handling to WiFiClientSecure
me-no-dev Apr 15, 2019
af23d0b
Return empty string instead of "0" (#2673)
Bmooij Apr 15, 2019
01d7ea7
Refactored use of LOG_X(LOG_TAG, ...) to log_x(...) (#2672)
Bascy Apr 15, 2019
3d6e4e1
Use milliseconds for timeout
me-no-dev Apr 15, 2019
9a9ff62
Add connect with timeout to Client class
me-no-dev Apr 15, 2019
6bf1048
Add LGPL 2.1 License
me-no-dev Apr 16, 2019
f8eebb5
Fix indentation
ivankravets Apr 17, 2019
672e4fa
Add optional support for CORS headers (#2688)
vicatcu Apr 22, 2019
a28cf00
add lolin32 CPU freq choice (#2682)
jandegr Apr 22, 2019
606446a
Update ALKS board (#2694)
cleveHEX Apr 23, 2019
119ece2
Portability from ESP8266, virtual Stream member functions. (#2701)
dok-net Apr 23, 2019
0202ba7
Fix reorder error in WebServer (#2700)
nhynes Apr 23, 2019
619568d
Converted EEPROM library to use nvs instead of partition. (#2678)
lbernstone Apr 23, 2019
271e5cd
Fix Werror=reorder for idf.py build (#2707)
nhynes Apr 25, 2019
a0ad987
Add TTGO T-Watch board definition (#2681)
lewisxhe Apr 25, 2019
932666a
Ensure that _size is properly set in begin (#2706)
lbernstone Apr 26, 2019
ab309e4
Copy ESP8266 String w/SSO to ESP32 repo (#2715)
earlephilhower Apr 26, 2019
697d4ff
Add board "WEMOS D1 MINI ESP32". (#2710)
dok-net Apr 27, 2019
d13de28
Undo the redefinition of FPSTR from 8266 merge (#2726)
earlephilhower Apr 30, 2019
50d1429
Update esp32-hal-rmt.c
me-no-dev May 1, 2019
7dd537f
Fix libgcc not being in rom
me-no-dev May 9, 2019
bea7bd1
Implemented ability to change BLE address (#2690)
WhyKickAmooCow May 11, 2019
43bf393
Fix semaphores in IDF & std::string assert (#2728)
h2zero May 11, 2019
bd57ff4
StreamString SSO fix (#2736)
earlephilhower May 11, 2019
2f249ed
Use std::abs for a float-compatible abs() function (#2738)
projectgus May 11, 2019
c453a00
Adding TTGO T1 board definition (#2744)
atanisoft May 11, 2019
2743e7b
Update mac.md (#2745)
amonmoce May 11, 2019
aff2e42
Add Pycom GPy board (#2754)
devingleeson May 11, 2019
0acf19a
Update IDF to v3.2 977854975 (#2771)
me-no-dev May 12, 2019
e9389e3
Fix AsyncUDP buffer error
me-no-dev May 13, 2019
fd5a2f0
Fix #2750 (#2763)
judge2005 May 13, 2019
e57de64
Fixed multi_heap_free failed during setting the value of the characte…
chcbaram Jun 5, 2019
714ba94
Update BLERemoteCharacteristic.cpp (#2800)
elettro1 Jun 5, 2019
e055b28
Ignore Werror-maybe-uninitialized from Azure IoT Library (#2824)
sieren Jun 5, 2019
43b781a
Update AsyncUDP library.json (#2837)
andig Jun 5, 2019
aae6f24
Update (#2838)
Stanimir-Petev Jun 5, 2019
89feacb
Fix map() division by zero (#2848)
ArturBieniek4 Jun 5, 2019
7d78247
Fix persistance issue found, see ESP8266 issue #6152 (#2851)
Jun 5, 2019
1aced12
docs: fix typo (#2973)
Jason-Cooke Jul 9, 2019
5bf3aab
Make a selective menuconfig option for FFat (#2966)
lbernstone Jul 9, 2019
f558e69
Fix warnings in platformio (#2960)
luc-github Jul 9, 2019
476660f
Cleanup WiFiMulti (#2955)
NathanJPhillips Jul 9, 2019
4ee17ec
Fix warning -Wempty-body by adding braces to 'if' stmt body (#2951)
MartyMacGyver Jul 9, 2019
74ffdac
fix for BLE Library Compile Error #2866 (#2876)
coolbreeze413 Jul 9, 2019
2e32022
ESP8266 => ESP32 tidyup, set correct default port (#2948)
pfeerick Jul 9, 2019
d2816b2
Fix Unused Variable Warning (#2940)
stickbreaker Jul 9, 2019
02e5172
Fix Timeout Bug in WebServer (#2938)
vicatcu Jul 9, 2019
20498cf
Expand gitignore to cover files created by Visual Micro (#2934)
dok-net Jul 9, 2019
a22ec4a
Reduce flash usage up to 214k in one click (#2929)
romansavrulin Jul 9, 2019
b3783fb
fixed typo (#2927)
exezm0r Jul 9, 2019
c29ec9d
Removed partitioning comments from EEPROM class example (#2920)
lbernstone Jul 9, 2019
e1548e9
Fix hang on client disconnect during upload (#2914)
romansavrulin Jul 9, 2019
05de017
BLE Library onRead Callback fix and Client disconnect feature (#2913)
romansavrulin Jul 9, 2019
b0d8d4d
Change some WiFi buffer settings to match esp-idf. See #2899 (#2912)
lbernstone Jul 9, 2019
c13d11e
fix empty reply from server error (#2903)
pmalhaire Jul 9, 2019
87e5787
Added support for TinyPICO in the boards list (#2901)
UnexpectedMaker Jul 9, 2019
ca7106e
Added convert method to EEPROM to transfer data from partition to nvs…
lbernstone Jul 9, 2019
d5fdd71
WiFiClient.cpp - Fix connect() behavior (#2784)
weinrank Jul 9, 2019
d1134fd
Fix issue with semaphores (#2974)
chegewara Jul 10, 2019
7dbda49
Update boards.txt (#2933)
atanisoft Jul 10, 2019
c17b212
WPA2 connection fix (significant improvement to connection time) (#2989)
boarchuz Jul 16, 2019
1c7e329
RMT: Fix in bitshift of NeoPixel example project (#2986)
david-cermak Jul 16, 2019
3376ea1
Added more menu settings for TinyPICO - Fash mode and Flash speed. Se…
UnexpectedMaker Jul 16, 2019
9e32cec
Update IDF to a8916daeb (#2992)
me-no-dev Jul 17, 2019
509d31b
create variant for magicbit board (#2987)
Magicblocks Jul 17, 2019
56ce580
Fix incorrect definition of FPSTR() and move from pgmspace.h to WStri…
bxparks Jul 17, 2019
548f712
Fix empty libs being included with the builder (#2997)
me-no-dev Jul 17, 2019
6954150
Create stale.yml
me-no-dev Jul 31, 2019
a9c8b46
Update stale.yml
me-no-dev Jul 31, 2019
a070884
Update stale.yml
me-no-dev Aug 1, 2019
fa55a2c
Update stale.yml
me-no-dev Aug 1, 2019
65e256c
Try github CI (#3115)
me-no-dev Aug 20, 2019
a5f3fc6
Magicbit Variant (#3107)
Magicblocks Aug 20, 2019
007a93e
Update Print.cpp (#3060)
atanisoft Aug 20, 2019
7357667
add core installation 1.0.2 (#3064)
a-c-sreedhar-reddy Aug 20, 2019
a12d609
Corrected count of characteristics to get (#3082)
arjanmels Aug 20, 2019
2a1fde7
Include stdint for uint16_t (#3069)
a-c-sreedhar-reddy Aug 20, 2019
91b9fae
Add generic IP utilities (#3038)
a7md0 Aug 20, 2019
2bda4a9
Fix BLE stop advertising not working (#3034)
beegee-tokyo Aug 20, 2019
ec40c4c
Cast TimerWakeup conversion factor as ULL (#3027)
lbernstone Aug 20, 2019
61f7193
The progress callback is now correctly invoked with Update.write (#3024)
ducalex Aug 20, 2019
ee6336a
links http -> https (#3010)
Rotzbua Aug 20, 2019
cd5257a
ESP.getCpuFreqMHz fix (#3007)
lbernstone Aug 20, 2019
03066e4
Flush UART RX queue too (#3009)
romansavrulin Aug 20, 2019
5137fc5
Ble notification/indication status and timeout (#2998)
romansavrulin Aug 20, 2019
f4acac4
Bugfix/http client (#2867)
Aug 20, 2019
d5e2bb1
Update IDF to 90747cc8b (#3118)
me-no-dev Aug 20, 2019
390da0d
bump CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM to improve RX performance…
me-no-dev Aug 20, 2019
70a8964
Update Both CIs to run parallel jobs (#3120)
me-no-dev Aug 20, 2019
6daf773
Fix travis deploy generating bad json
me-no-dev Aug 21, 2019
f356ccd
Added the pragma line to the top (#3139)
jubueche Aug 27, 2019
fd089d8
Pull in ESP8266 String::replace() fixes, others (#3143)
earlephilhower Aug 27, 2019
7a57439
Rework the sketch builder to match the IDE (#3146)
me-no-dev Aug 27, 2019
1b8c7e3
Try bash only examples build (#3164)
me-no-dev Sep 1, 2019
2a7e509
Fix long Ticker period conversion: cast ms to uint64_t when calculati…
full-stack-ex Sep 5, 2019
0d163a1
Update IDF 3.2 to 7dd492319 + WiFi fix (#3177)
me-no-dev Sep 5, 2019
5c04de6
Fix packager
me-no-dev Sep 5, 2019
80ea521
Add support for 160MHz rated CPUs (#3135)
me-no-dev Sep 5, 2019
07613b3
Update URL to point to upstream repository (#3187)
marcelstoer Sep 8, 2019
717ca79
#3181 printf double vsnprintf() fix, malloc, va_end (#3184)
knifter Sep 8, 2019
5f77b01
Fix return of Print::print(timeinfo, format) (#3189)
me-no-dev Sep 8, 2019
f71a4bd
Bugfix/detect baudrate (#3188)
Sep 8, 2019
f5cacfe
Remove extra connects from Client.h (#3191)
me-no-dev Sep 9, 2019
9710fed
Fix wrong values in .cvs files (#3196)
luc-github Sep 10, 2019
7fe2812
Inline ESP::getCycleCount() to make it safe to call from ISRs (#3165)
dok-net Sep 11, 2019
cd4f903
Fix WiFi disconnect event not being propageted. (#3085)
edoardoo Sep 11, 2019
bab3a70
Added timeout to WiFiScan.cpp to prevent getting stuck at WIFI_SCAN_R…
EricMc1289 Sep 11, 2019
0739015
Fix Camera Example (#3202)
me-no-dev Sep 12, 2019
4ce2cc3
Fix HTTP Client with SSL (#3216)
me-no-dev Sep 16, 2019
06a399b
Extend logging of ArduinoOTA (#3217)
me-no-dev Sep 16, 2019
56fe2db
Fix F_Fat::format return false when succeed (#3220)
luc-github Sep 20, 2019
e22d8b6
Update stale messages for easier filtering
me-no-dev Sep 21, 2019
9eaeeb6
Change the first argument of SPI::wrteBytes to be const (#3242)
me-no-dev Sep 22, 2019
96d6975
Changed WeMosBat.name (#3240)
FraserLee Sep 22, 2019
a5935ce
Add sample for Time date for FatFS like SPIFFS (#3234)
luc-github Sep 22, 2019
b3ba80d
nvs_handle is an int, was assigning NULL. Also cleaned up end to ens…
lbernstone Sep 22, 2019
8ea12f8
Update pins (#3249)
Magicblocks Sep 23, 2019
298c610
Added board defintion for VintLabs boards (#3252)
pvint Sep 24, 2019
731fd19
Update get.py
me-no-dev Sep 24, 2019
0eec630
Add missing env to PIO CI build
me-no-dev Sep 24, 2019
0ac2de7
Add partition schemes to adafruit featheresp32 (#3255)
tpitman Sep 24, 2019
b30e55e
Added partition size option for Pico Kit (#3258)
bitbank2 Sep 24, 2019
f32083a
Fix timerRestart
me-no-dev Sep 24, 2019
ca88fdc
Fixed FFat::end. Fixes #3244 (#3245)
lbernstone Sep 24, 2019
895a150
Update README.md
me-no-dev Sep 24, 2019
a5c873b
Update README.md
me-no-dev Sep 24, 2019
f8c0689
Better cleanup on mount failures, as the idf api now seems to assign …
lbernstone Sep 26, 2019
589bb70
Update WiFiScan.h (#3266)
billprozac Sep 26, 2019
9bbd720
Update BLEDevice.cpp (#3267)
billprozac Sep 26, 2019
5bff89f
Fixed issue-3153 - Allocating enough memory to construct the entire U…
william-ferguson-au Sep 29, 2019
1c77790
allow the examples to build in a more strict env (#3299)
me-no-dev Sep 29, 2019
3b71e13
Builder scripts update (#3300)
me-no-dev Sep 29, 2019
caa391a
More efficient CI builds (#3303)
me-no-dev Sep 30, 2019
ed96d2a
Use Github Actions for release (#3309)
me-no-dev Oct 1, 2019
40ebee1
Update BluetoothSerial.cpp (#3308)
rafern Oct 1, 2019
5f1dff7
IDF release/v3.2 d3e562907 (#3292)
me-no-dev Oct 1, 2019
64cfb33
Add Added unimplemented getCharacteristicsByHandle function (#3277)
tanakamasayuki Oct 1, 2019
71e3d51
Fix BLEUUID toString (#3289)
tanakamasayuki Oct 1, 2019
01d9345
Update development JSON location
me-no-dev Oct 1, 2019
270a275
Add pages action (#3311)
me-no-dev Oct 1, 2019
8a46697
Fix for issue_3209. (#3210)
william-ferguson-au Oct 1, 2019
b334b2c
Add config, menu partition Wrover (#3147)
chio7896 Oct 1, 2019
38c4c06
Support for Master mode, Pin and SSP (#3219)
IonicEV Oct 1, 2019
5ad468f
Add ARM toolchain
me-no-dev Oct 1, 2019
c8e3f0c
Support Pi 4 on 64bit kernel
me-no-dev Oct 1, 2019
85c77a9
Fix CI Builds for Linux (#3313)
me-no-dev Oct 1, 2019
d0b064a
Update CI scripts for better error handling (#3316)
me-no-dev Oct 2, 2019
6f70e27
Base64::encode : const correctness / String by reference passing (#3314)
dirkmueller Oct 2, 2019
4638628
Wait for client.available() to prevent ESP32 crashes (#3154)
paynterf Oct 2, 2019
b10ed77
Update boards_manager.md
me-no-dev Oct 2, 2019
048b265
Update boards_manager.md
me-no-dev Oct 2, 2019
8fb8e7d
CI can be used on windows desktop with msys
me-no-dev Oct 2, 2019
c2b3f2d
Make yield() overridable (#2991)
dok-net Oct 4, 2019
24b277a
Add readFloat to BLE (#3321)
copercini Oct 6, 2019
e506136
Fix typo in SPIFFS and FFAT examples (#3322)
mariansam Oct 6, 2019
0cdfb0b
Add support for WiFi long range mode (#3190)
me-no-dev Oct 6, 2019
9ef3e2d
Allow sketches to have custom partitions (#3328)
me-no-dev Oct 6, 2019
a35035f
fix authrization problem (#3329)
lightzl Oct 8, 2019
79e4339
Remove warnings if no debug enabled (#3334)
luc-github Oct 8, 2019
0cab248
Added a description README.md for libraries (#3349)
lbernstone Oct 14, 2019
611ba8e
Update README.md (#3353)
TechieZee Oct 14, 2019
b847f41
SPI: Ensure all read-only data pointers are marked as const (#3356)
davefiddes Oct 14, 2019
c8d8dc2
Added partition size options for TinyPICO (#3358)
UnexpectedMaker Oct 14, 2019
91e095f
Add an error message in case of invalid configured dependency mbedTLS…
Boldie Oct 17, 2019
188560e
Some event log messages were off by one. (#3391)
xk Nov 11, 2019
ec63d09
Fix WiFiGeneric event handler (#3412)
Nov 11, 2019
e59355d
Docs for lib builder (#3415)
lbernstone Nov 11, 2019
7d2632c
Implement Tx only Flush (#3433)
stickbreaker Nov 11, 2019
547c2d3
Root CA of webserver has changed, minor changes (#3447)
martinius96 Nov 11, 2019
b3085d4
Add menu items Partition Scheme and Debug Level for node32s (#3455)
Nov 11, 2019
8c4ca5a
Update BLE_client.ino (#3463)
takanotume24 Nov 11, 2019
f41beb9
Fixed so configTime will not crash if tcpip is not initialized (#3470)
lbernstone Nov 11, 2019
bc3d113
Fixed incorrect usage of xEventGroupWaitBits (#3446)
wolph Nov 11, 2019
dac493f
SPI: Fix discarded-qalifiers warning when compiling with all warnings…
davefiddes Nov 11, 2019
cec3fca
Fix BluetoothSerial crash when restart (#3471)
rgot-org Nov 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: Bug report
about: Please fill in the bug report carefully
title: ''
labels: ''
assignees: ''

---

Make your question, not a Statement, inclusive. Include all pertinent information:

What you are trying to do?
Describe your system( Hardware, computer, O/S, core version, environment).
Describe what is failing.
Show the shortest possible code that will duplicate the error.
Show the EXACT error message(it doesn't work is not enough).
All of this work on your part shows us that you have worked to solve YOUR problem. The more complete your issue posting is, the more likely someone will volunteer their time to help you.

If you have a Guru Meditation Error or Backtrace, ***please decode it***:
https://github.com/me-no-dev/EspExceptionDecoder

----------------------------- Remove above -----------------------------


### Hardware:
Board: ?ESP32 Dev Module? ?node32? ?ttgo_lora?
Core Installation version: ?1.0.0? ?1.0.1-rc4? ?1.0.1? ?1.0.1-git? ?1.0.2? ?1.0.3?
IDE name: ?Arduino IDE? ?Platform.io? ?IDF component?
Flash Frequency: ?40Mhz?
PSRAM enabled: ?no? ?yes?
Upload Speed: ?115200?
Computer OS: ?Windows 10? ?Mac OSX? ?Ubuntu?

### Description:
Describe your problem here


### Sketch: (leave the backquotes for [code formatting](https://help.github.com/articles/creating-and-highlighting-code-blocks/))
```cpp

//Change the code below by your sketch
#include <Arduino.h>

void setup() {
}

void loop() {
}
```

### Debug Messages:
```
Enable Core debug level: Debug on tools menu of Arduino IDE, then put the serial output here
```
27 changes: 27 additions & 0 deletions .github/scripts/check-cmakelists.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash
#
# This script is for Travis. It checks all non-examples source files in libraries/ and cores/ are listed in
# CMakeLists.txt for the cmake-based IDF component
#
# If you see an error running this script, edit CMakeLists.txt and add any new source files into your PR
#

set -e

# pull all submodules
git submodule update --init --recursive

# find all source files in repo
REPO_SRCS=`find cores/esp32/ libraries/ -name 'examples' -prune -o -name '*.c' -print -o -name '*.cpp' -print | sort`

# find all source files named in CMakeLists.txt COMPONENT_SRCS
CMAKE_SRCS=`cmake --trace-expand -C CMakeLists.txt 2>&1 | grep COMPONENT_SRCS | sed 's/.\+COMPONENT_SRCS //' | sed 's/ )//' | tr ' ;' '\n' | sort`

if ! diff -u0 --label "Repo Files" --label "COMPONENT_SRCS" <(echo "$REPO_SRCS") <(echo "$CMAKE_SRCS"); then
echo "Source files in repo (-) and source files in CMakeLists.txt (+) don't match"
echo "Edit CMakeLists.txt as appropriate to add/remove source files from COMPONENT_SRCS"
exit 1
fi

echo "CMakeLists.txt and repo source files match"
exit 0
36 changes: 36 additions & 0 deletions .github/scripts/install-arduino-core-esp32.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

export ARDUINO_ESP32_PATH="$ARDUINO_USR_PATH/hardware/espressif/esp32"
if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
echo "Installing ESP32 Arduino Core ..."
script_init_path="$PWD"
mkdir -p "$ARDUINO_USR_PATH/hardware/espressif"
cd "$ARDUINO_USR_PATH/hardware/espressif"

echo "Installing Python Serial ..."
pip install pyserial > /dev/null

if [ "$OS_IS_WINDOWS" == "1" ]; then
echo "Installing Python Requests ..."
pip install requests > /dev/null
fi

if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
echo "Linking Core..."
ln -s $GITHUB_WORKSPACE esp32
else
echo "Cloning Core Repository..."
git clone https://github.com/espressif/arduino-esp32.git esp32 > /dev/null 2>&1
fi

echo "Updating Submodules ..."
cd esp32
git submodule update --init --recursive > /dev/null 2>&1

echo "Installing Platform Tools ..."
cd tools && python get.py
cd $script_init_path

echo "ESP32 Arduino has been installed in '$ARDUINO_ESP32_PATH'"
echo ""
fi
220 changes: 220 additions & 0 deletions .github/scripts/install-arduino-ide.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
#!/bin/bash

#OSTYPE: 'linux-gnu', ARCH: 'x86_64' => linux64
#OSTYPE: 'msys', ARCH: 'x86_64' => win32
#OSTYPE: 'darwin18', ARCH: 'i386' => macos

OSBITS=`arch`
if [[ "$OSTYPE" == "linux"* ]]; then
export OS_IS_LINUX="1"
ARCHIVE_FORMAT="tar.xz"
if [[ "$OSBITS" == "i686" ]]; then
OS_NAME="linux32"
elif [[ "$OSBITS" == "x86_64" ]]; then
OS_NAME="linux64"
elif [[ "$OSBITS" == "armv7l" || "$OSBITS" == "aarch64" ]]; then
OS_NAME="linuxarm"
else
OS_NAME="$OSTYPE-$OSBITS"
echo "Unknown OS '$OS_NAME'"
exit 1
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
export OS_IS_MACOS="1"
ARCHIVE_FORMAT="zip"
OS_NAME="macosx"
elif [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then
export OS_IS_WINDOWS="1"
ARCHIVE_FORMAT="zip"
OS_NAME="windows"
else
OS_NAME="$OSTYPE-$OSBITS"
echo "Unknown OS '$OS_NAME'"
exit 1
fi
export OS_NAME

ARDUINO_BUILD_DIR="$HOME/.arduino/build.tmp"
ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"

if [ "$OS_IS_MACOS" == "1" ]; then
export ARDUINO_IDE_PATH="/Applications/Arduino.app/Contents/Java"
export ARDUINO_USR_PATH="$HOME/Documents/Arduino"
elif [ "$OS_IS_WINDOWS" == "1" ]; then
export ARDUINO_IDE_PATH="$HOME/arduino_ide"
export ARDUINO_USR_PATH="$HOME/Documents/Arduino"
else
export ARDUINO_IDE_PATH="$HOME/arduino_ide"
export ARDUINO_USR_PATH="$HOME/Arduino"
fi

if [ ! -d "$ARDUINO_IDE_PATH" ]; then
echo "Installing Arduino IDE on $OS_NAME ..."
echo "Downloading 'arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT' to 'arduino.$ARCHIVE_FORMAT' ..."
if [ "$OS_IS_LINUX" == "1" ]; then
wget -O "arduino.$ARCHIVE_FORMAT" "https://www.arduino.cc/download.php?f=/arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
tar xf "arduino.$ARCHIVE_FORMAT" > /dev/null
mv arduino-nightly "$ARDUINO_IDE_PATH"
else
curl -o "arduino.$ARCHIVE_FORMAT" -L "https://www.arduino.cc/download.php?f=/arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
unzip "arduino.$ARCHIVE_FORMAT" > /dev/null
if [ "$OS_IS_MACOS" == "1" ]; then
mv "Arduino.app" "/Applications/Arduino.app"
else
mv arduino-nightly "$ARDUINO_IDE_PATH"
fi
fi
rm -rf "arduino.$ARCHIVE_FORMAT"

mkdir -p "$ARDUINO_USR_PATH/libraries"
mkdir -p "$ARDUINO_USR_PATH/hardware"

echo "Arduino IDE Installed in '$ARDUINO_IDE_PATH'"
echo ""
fi

function build_sketch(){ # build_sketch <fqbn> <path-to-ino> [extra-options]
if [ "$#" -lt 2 ]; then
echo "ERROR: Illegal number of parameters"
echo "USAGE: build_sketch <fqbn> <path-to-ino> [extra-options]"
return 1
fi

local fqbn="$1"
local sketch="$2"
local xtra_opts="$3"
local win_opts=""
if [ "$OS_IS_WINDOWS" == "1" ]; then
local ctags_version=`ls "$ARDUINO_IDE_PATH/tools-builder/ctags/"`
local preprocessor_version=`ls "$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/"`
win_opts="-prefs=runtime.tools.ctags.path=$ARDUINO_IDE_PATH/tools-builder/ctags/$ctags_version -prefs=runtime.tools.arduino-preprocessor.path=$ARDUINO_IDE_PATH/tools-builder/arduino-preprocessor/$preprocessor_version"
fi

echo ""
echo "Compiling '"$(basename "$sketch")"' ..."
mkdir -p "$ARDUINO_BUILD_DIR"
mkdir -p "$ARDUINO_CACHE_DIR"
$ARDUINO_IDE_PATH/arduino-builder -compile -logger=human -core-api-version=10810 \
-fqbn=$fqbn \
-warnings="all" \
-tools "$ARDUINO_IDE_PATH/tools-builder" \
-tools "$ARDUINO_IDE_PATH/tools" \
-built-in-libraries "$ARDUINO_IDE_PATH/libraries" \
-hardware "$ARDUINO_IDE_PATH/hardware" \
-hardware "$ARDUINO_USR_PATH/hardware" \
-libraries "$ARDUINO_USR_PATH/libraries" \
-build-cache "$ARDUINO_CACHE_DIR" \
-build-path "$ARDUINO_BUILD_DIR" \
$win_opts $xtra_opts "$sketch"
}

function count_sketches() # count_sketches <examples-path>
{
local examples="$1"
rm -rf sketches.txt
if [ ! -d "$examples" ]; then
touch sketches.txt
return 0
fi
local sketches=$(find $examples -name *.ino)
local sketchnum=0
for sketch in $sketches; do
local sketchdir=$(dirname $sketch)
local sketchdirname=$(basename $sketchdir)
local sketchname=$(basename $sketch)
if [[ "${sketchdirname}.ino" != "$sketchname" ]]; then
continue
fi;
if [[ -f "$sketchdir/.test.skip" ]]; then
continue
fi
echo $sketch >> sketches.txt
sketchnum=$(($sketchnum + 1))
done
return $sketchnum
}

function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total-chunks> [extra-options]
{
local fqbn=$1
local examples=$2
local chunk_idex=$3
local chunks_num=$4
local xtra_opts=$5

if [ "$#" -lt 2 ]; then
echo "ERROR: Illegal number of parameters"
echo "USAGE: build_sketches <fqbn> <examples-path> [<chunk> <total-chunks>] [extra-options]"
return 1
fi

if [ "$#" -lt 4 ]; then
chunk_idex="0"
chunks_num="1"
xtra_opts=$3
fi

if [ "$chunks_num" -le 0 ]; then
echo "ERROR: Chunks count must be positive number"
return 1
fi
if [ "$chunk_idex" -ge "$chunks_num" ]; then
echo "ERROR: Chunk index must be less than chunks count"
return 1
fi

set +e
count_sketches "$examples"
local sketchcount=$?
set -e
local sketches=$(cat sketches.txt)
rm -rf sketches.txt

local chunk_size=$(( $sketchcount / $chunks_num ))
local all_chunks=$(( $chunks_num * $chunk_size ))
if [ "$all_chunks" -lt "$sketchcount" ]; then
chunk_size=$(( $chunk_size + 1 ))
fi

local start_index=$(( $chunk_idex * $chunk_size ))
if [ "$sketchcount" -le "$start_index" ]; then
echo "Skipping job"
return 0
fi

local end_index=$(( $(( $chunk_idex + 1 )) * $chunk_size ))
if [ "$end_index" -gt "$sketchcount" ]; then
end_index=$sketchcount
fi

local start_num=$(( $start_index + 1 ))
echo "Found $sketchcount Sketches";
echo "Chunk Count : $chunks_num"
echo "Chunk Size : $chunk_size"
echo "Start Sketch: $start_num"
echo "End Sketch : $end_index"

local sketchnum=0
for sketch in $sketches; do
local sketchdir=$(dirname $sketch)
local sketchdirname=$(basename $sketchdir)
local sketchname=$(basename $sketch)
if [ "${sketchdirname}.ino" != "$sketchname" ] \
|| [ -f "$sketchdir/.test.skip" ]; then
continue
fi
sketchnum=$(($sketchnum + 1))
if [ "$sketchnum" -le "$start_index" ] \
|| [ "$sketchnum" -gt "$end_index" ]; then
continue
fi
build_sketch "$fqbn" "$sketch" "$xtra_opts"
local result=$?
if [ $result -ne 0 ]; then
return $result
fi
done
return 0
}
Loading