Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
8e4ebf4
Add "ODROID ESP32" boards support (#1506)
Jun 18, 2018
83810fa
add support for TXT records in mDNS query responses (#1480)
horihiro Jun 18, 2018
c63d746
Added SPI bus pins (#1454)
timkoers Jun 18, 2018
d06fa8e
Make scanNetworks return int16 (#1496) (#1514)
theproxy Jun 19, 2018
33392af
Missing include gpio.h in esp32-hal-dac.h (#1512)
lbernstone Jun 19, 2018
36c8020
Added WiFi.disconnect to ESPNow examples. Fixes https://github.com/es…
lbernstone Jun 19, 2018
c7b3800
Changed pinmap to show pins34-39 as GPI (#1510)
lbernstone Jun 19, 2018
7abd586
Add component CMakeLists.txt file for use with CMake-based build syst…
projectgus Jun 24, 2018
a59eafb
Update IDF to aaf1239 (#1539)
me-no-dev Jun 27, 2018
cde668d
ArduinoOTA endless loop (#1533)
lbernstone Jun 27, 2018
0586452
Adjust RAM size and calculator
me-no-dev Jun 27, 2018
873876d
Fix peek, read and available logic in WiFiClientSecure
me-no-dev Jun 27, 2018
93566a4
fix PR tests
me-no-dev Jun 27, 2018
ed953a0
BluetoothSerial: check return value and return number of bytes writte…
gohai Jun 27, 2018
58bdebc
* release deployment comprehensive update (#1548)
pacucha42 Jun 28, 2018
a8ccbd4
Update esptool to be compatible with the packager (#1554)
me-no-dev Jun 28, 2018
47421b8
Added OTAWebupdated (#1544)
karan6190 Jun 28, 2018
eb4e891
Update build.sh
me-no-dev Jun 28, 2018
b855eb2
* arduino-esp32 release mgmt. update (#1557)
pacucha42 Jun 28, 2018
184bb06
Fix io16 io17 and PSRAM support (#1564)
me-no-dev Jun 30, 2018
6411ac4
Remove confusing Debug output. (#1574)
stickbreaker Jul 2, 2018
3967beb
Added WiPy 3.0 board (#1572)
korstiaanS Jul 2, 2018
c4c946a
Broke HTTP_Method out into a separate library for reuse in ESPAsyncWe…
lbernstone Jul 2, 2018
8b01b9e
Change esptool version notation
me-no-dev Jul 3, 2018
12ca9e8
Port UART reset fix from ESP-IDF (#1408)
chemicstry Jul 3, 2018
4e5cbda
Add declarations for all Serial, SPI and Wire buses
me-no-dev Jul 3, 2018
0161e28
Added OTAWebUpdater Doc (#1583)
karan6190 Jul 3, 2018
2fe9652
"fix" SPI
me-no-dev Jul 3, 2018
659c8ad
Fix TelnetToSerial sketch
me-no-dev Jul 3, 2018
5e46c9b
Add Wrover Support and Option to enable SPIRAM
me-no-dev Jul 3, 2018
a835bb2
Add missing flag to fix psram issues
me-no-dev Jul 4, 2018
9f8f057
* relnotes handling update (#1592)
pacucha42 Jul 4, 2018
95b8754
Make Stream functions if File to not wait for timeout
me-no-dev Jul 5, 2018
bad5390
Prevent exceptions in WiFi if not yet started
me-no-dev Jul 5, 2018
05111bb
fix case where library source subfolders are not compiled when used a…
me-no-dev Jul 5, 2018
871dd18
Print to debug the IP address obtained by DHCP
me-no-dev Jul 5, 2018
8afdd71
Add missing event string to WiFi events
me-no-dev Jul 5, 2018
b0c6991
Small adjustments to the web server
me-no-dev Jul 5, 2018
9efecc1
Implement RX buffer for WiFi client to speed up small reads
me-no-dev Jul 5, 2018
9f6d0d2
EEPROM.readstring was returning an extra character (#1609)
lbernstone Jul 7, 2018
901a341
BluetoothSerial: set COD to be compatible with macOS (#1304) (#1556)
gohai Jul 7, 2018
c77aed4
Allow using argument with attachInterrupt (#1535)
bertmelis Jul 7, 2018
9925772
* update 'version' in platform.txt (#1619)
pacucha42 Jul 10, 2018
79010b6
Add XinaBox CW02 to supported boards (#1620)
brendanvanbreda Jul 10, 2018
3e16058
Fix WiFi Client not properly reporting connected state
me-no-dev Jul 10, 2018
c1a94b5
Fix wrong event description
me-no-dev Jul 10, 2018
4e9d1ee
Fix connected to be wrongly reported in WiFiClient
me-no-dev Jul 10, 2018
ff90778
Fix HTTP client returning disconnected when there is still data avalable
me-no-dev Jul 10, 2018
ddfeae9
Fix AsyncUDP server exception
me-no-dev Jul 11, 2018
28a410d
Spurious Interrupts Temporary fix 20180711 (#1625)
stickbreaker Jul 12, 2018
e63aa40
Enable PSRAM builds when used as IDF component
me-no-dev Jul 15, 2018
44f5a4d
Fix Client returning disconnected because of VFS errors
me-no-dev Jul 16, 2018
cbd4dc5
Add ALKS board variant (#1643)
cleveHEX Jul 16, 2018
c830511
EEPROM library: Move #include of Arduino.h to header file (#1641)
per1234 Jul 16, 2018
b14f82b
Release notes formatting update (#1634)
pacucha42 Jul 16, 2018
05d72f9
fix WiFi STA going into loop in some cases of disconnect
me-no-dev Jul 16, 2018
e157ec0
expose post args during upload (#1650)
Jul 17, 2018
2fda054
[OTA Timeout] Added ability set OTA timeout in the OTA client (#1669)
tsathishkumar Jul 24, 2018
8d7fb58
Fix for spurious interrupts during I2C communications (#1665)
stickbreaker Jul 24, 2018
da798c7
Add TTGO LoRa32 with OLED Version 1.x Board (#1663)
CaptIgmu Jul 24, 2018
f1f8d7e
Packet with zero data length (#1659)
Schuemi Jul 24, 2018
d854dc1
Create WiFiClientEnterprise.ino (#1640)
martinius96 Jul 24, 2018
f9a382a
fix some compilation error and warnings in i2c
me-no-dev Jul 24, 2018
7761ebd
Add M5Stack-FIRE board (#1647)
0x1abin Jul 25, 2018
328523f
Memory leak (#1672)
Schuemi Jul 25, 2018
1fe3ee8
Feature/selective compilation (#1671)
nathanjel Jul 25, 2018
2f5b3c0
Functions _uploadReadByte and _parseForm were modified in order to (#…
MaValki Jul 25, 2018
17065df
Added a define to format the spiffs in SPIFFS_Test.ino (#1662)
lbernstone Jul 25, 2018
7d2560c
roll back the while loop in _parseForm
me-no-dev Jul 25, 2018
e51f7a5
fix compilation errors in idf
me-no-dev Jul 25, 2018
2fba812
Added instructions for installation with boards manager (#1630)
lbernstone Jul 26, 2018
3222e64
add LOLIN D32 & D32 PRO Board support (#1688)
wemos Jul 28, 2018
30b3eeb
* merge only annotated tag messages into release notes (#1683)
pacucha42 Jul 28, 2018
abb8ea9
Fix WiFiMulti Logs (#1690)
copercini Jul 30, 2018
a7ddf39
Cleanup on README and boards_manager (#1693)
lbernstone Jul 30, 2018
bdc45e3
[OTA] Fix "Error response from device" if OK response comes to early …
Gei0r Jul 30, 2018
e346f20
Fix WiFiMulti Logs
copercini Jul 30, 2018
b05430c
Wire ReSTART fix, with others (#1717)
stickbreaker Aug 14, 2018
d057e54
Added a freeEntries method to Preferences library (#1722)
lbernstone Aug 14, 2018
7d3a67a
Update Arduino/hardware path (#1727)
tnoborio Aug 14, 2018
cb53ec4
Informations about WifiClientEnterprise.ino sketch (#1737)
martinius96 Aug 14, 2018
fff1783
Switch to isolated build flags per framework (#1748)
ivankravets Aug 14, 2018
172802b
Remove duplicate ota_data flashing under IDF
me-no-dev Aug 16, 2018
a989853
Update mac.md (#1760)
TRANTANKHOA Aug 18, 2018
9db207a
Improve bus recovery (#1767)
stickbreaker Aug 18, 2018
14d6f6e
Correct pins for actual hardware (#1768)
stickbreaker Aug 18, 2018
65511b2
Add separate method to get free PSRAM and report only internal in get…
me-no-dev Aug 18, 2018
80c110e
Add more methods to access memory properties
me-no-dev Aug 18, 2018
a0f0bd9
Fix BTserial memory leaks (#1801)
copercini Aug 27, 2018
6e4e4c9
Updated ISSUE_TEMPLATE to try to get better postings (#1730)
lbernstone Sep 17, 2018
339618f
Updating Boart.txt ESP32Thing in PartitionScheme and DebugLevel (#1860)
chepecarlos Sep 17, 2018
ce61074
Add functionality allowing rxBuffer of HardwareSerial to be changed i…
coddingtonbear Sep 17, 2018
02ee799
Add T-Beam Board Support (#1852)
lewisxhe Sep 17, 2018
a6a9a51
_uart_isr use wr_addr != rd_addr as test for internal queue not empty…
qt1 Sep 17, 2018
3a8ac27
layout fix (#1845)
lynxzp Sep 17, 2018
18d260e
Fix for TFT_eSPI and Adafruit libs (#1837)
tobozo Sep 17, 2018
c8fe873
add WiFiAccessPoint example (#1833)
fedy0 Sep 17, 2018
f9f995b
Flush serial in DeepSleep example to allow print before sleep (#1791)
lbernstone Sep 17, 2018
1e4bf14
cores: replace max, min, round macros with imports from std (#1783)
yoursunny Sep 17, 2018
cb8d72f
Fix WifiClientEnterprise - STA mode set (#1782)
martinius96 Sep 17, 2018
145904f
Add wESP32 support (#1821)
xorbit Sep 17, 2018
3028ec4
Add BananaPi-BIT Development Board Support (#1810)
yelvlab Sep 17, 2018
7206b2f
FAT on SPI Flash Library (#1809)
lbernstone Sep 17, 2018
5be3078
InterruptArg should take voidFuncPtrArg as argument (#1776)
hreintke Sep 17, 2018
ea61563
Functional interrupt (#1728)
hreintke Sep 17, 2018
4e96bff
Initial version of rmt driver (#1525)
david-cermak Sep 17, 2018
96822d7
Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878)
me-no-dev Sep 21, 2018
e5ea089
Reduce resource requirements, Share Interrupt (#1877)
stickbreaker Sep 21, 2018
85032b2
Do not break UDP if pbuf is null
me-no-dev Sep 26, 2018
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (espressif#1878)
* TX Flow Control and Code cleanup * Use semaphore instead of delay TX functionality is done. * Use single buffer and empty queue on exit * Fix compile issues because of LwIP code relocation * Add temporary header to fix Azure not compiling * Fix AsyncUDP early init * AsyncUDP Multicast fixes * Add source mac address and rework multicast * Allow redefinition of default pins for Serials 1 and 2 * Update IDF to 3276a13 * Update esptool.py to 2.5.0 * Fix sketches * Fix log level in BluetoothSetial
  • Loading branch information
me-no-dev authored Sep 21, 2018
commit 96822d783f3ab6a56a69b227ba4d1a1a36c66268
25 changes: 21 additions & 4 deletions cores/esp32/HardwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,25 @@
#include <string.h>
#include <inttypes.h>

#include "pins_arduino.h"
#include "HardwareSerial.h"

#ifndef RX1
#define RX1 9
#endif

#ifndef TX1
#define TX1 10
#endif

#ifndef RX2
#define RX2 16
#endif

#ifndef TX2
#define TX2 17
#endif

#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
HardwareSerial Serial(0);
HardwareSerial Serial1(1);
Expand All @@ -27,12 +44,12 @@ void HardwareSerial::begin(unsigned long baud, uint32_t config, int8_t rxPin, in
txPin = 1;
}
if(_uart_nr == 1 && rxPin < 0 && txPin < 0) {
rxPin = 9;
txPin = 10;
rxPin = RX1;
txPin = TX1;
}
if(_uart_nr == 2 && rxPin < 0 && txPin < 0) {
rxPin = 16;
txPin = 17;
rxPin = RX2;
txPin = TX2;
}
_uart = uartBegin(_uart_nr, baud, config, rxPin, txPin, 256, invert);
}
Expand Down
1 change: 1 addition & 0 deletions cores/esp32/apps/sntp/sntp.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "lwip/apps/sntp.h"
22 changes: 22 additions & 0 deletions cores/esp32/esp32-hal-log.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,38 +79,50 @@ int log_printf(const char *fmt, ...);

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_VERBOSE
#define log_v(format, ...) log_printf(ARDUHAL_LOG_FORMAT(V, format), ##__VA_ARGS__)
#define isr_log_v(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(V, format), ##__VA_ARGS__)
#else
#define log_v(format, ...)
#define isr_log_v(format, ...)
#endif

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
#define log_d(format, ...) log_printf(ARDUHAL_LOG_FORMAT(D, format), ##__VA_ARGS__)
#define isr_log_d(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(D, format), ##__VA_ARGS__)
#else
#define log_d(format, ...)
#define isr_log_d(format, ...)
#endif

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_INFO
#define log_i(format, ...) log_printf(ARDUHAL_LOG_FORMAT(I, format), ##__VA_ARGS__)
#define isr_log_i(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(I, format), ##__VA_ARGS__)
#else
#define log_i(format, ...)
#define isr_log_i(format, ...)
#endif

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_WARN
#define log_w(format, ...) log_printf(ARDUHAL_LOG_FORMAT(W, format), ##__VA_ARGS__)
#define isr_log_w(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(W, format), ##__VA_ARGS__)
#else
#define log_w(format, ...)
#define isr_log_w(format, ...)
#endif

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_ERROR
#define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__)
#define isr_log_e(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__)
#else
#define log_e(format, ...)
#define isr_log_e(format, ...)
#endif

#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_NONE
#define log_n(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__)
#define isr_log_n(format, ...) ets_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__)
#else
#define log_n(format, ...)
#define isr_log_n(format, ...)
#endif

#include "esp_log.h"
Expand All @@ -121,12 +133,22 @@ int log_printf(const char *fmt, ...);
#undef ESP_LOGI
#undef ESP_LOGD
#undef ESP_LOGV
#undef ESP_EARLY_LOGE
#undef ESP_EARLY_LOGW
#undef ESP_EARLY_LOGI
#undef ESP_EARLY_LOGD
#undef ESP_EARLY_LOGV

#define ESP_LOGE(tag, ...) log_e(__VA_ARGS__)
#define ESP_LOGW(tag, ...) log_w(__VA_ARGS__)
#define ESP_LOGI(tag, ...) log_i(__VA_ARGS__)
#define ESP_LOGD(tag, ...) log_d(__VA_ARGS__)
#define ESP_LOGV(tag, ...) log_v(__VA_ARGS__)
#define ESP_EARLY_LOGE(tag, ...) isr_log_e(__VA_ARGS__)
#define ESP_EARLY_LOGW(tag, ...) isr_log_w(__VA_ARGS__)
#define ESP_EARLY_LOGI(tag, ...) isr_log_i(__VA_ARGS__)
#define ESP_EARLY_LOGD(tag, ...) isr_log_d(__VA_ARGS__)
#define ESP_EARLY_LOGV(tag, ...) isr_log_v(__VA_ARGS__)
#endif

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion cores/esp32/esp32-hal-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

#include "esp32-hal.h"
#include "apps/sntp/sntp.h"
#include "lwip/apps/sntp.h"

static void setTimeZone(long offset, int daylight)
{
Expand Down
Loading