Skip to content

Commit 83eeea4

Browse files
authored
Merge pull request #1 from espressif/master
update
2 parents 4d98cea + 3968821 commit 83eeea4

File tree

353 files changed

+9567
-1376
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+9567
-1376
lines changed

.github/scripts/install-arduino-ide.sh

+9-3
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,22 @@ else
4848
export ARDUINO_USR_PATH="$HOME/Arduino"
4949
fi
5050

51+
# Updated as of Nov 3rd 2020
52+
ARDUINO_IDE_URL="https://github.com/espressif/arduino-esp32/releases/download/1.0.4/arduino-nightly-"
53+
54+
# Currently not working
55+
#ARDUINO_IDE_URL="https://www.arduino.cc/download.php?f=/arduino-nightly-"
56+
5157
if [ ! -d "$ARDUINO_IDE_PATH" ]; then
5258
echo "Installing Arduino IDE on $OS_NAME ..."
53-
echo "Downloading 'arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT' to 'arduino.$ARCHIVE_FORMAT' ..."
59+
echo "Downloading '$ARDUINO_IDE_URL$OS_NAME.$ARCHIVE_FORMAT' to 'arduino.$ARCHIVE_FORMAT' ..."
5460
if [ "$OS_IS_LINUX" == "1" ]; then
55-
wget -O "arduino.$ARCHIVE_FORMAT" "https://www.arduino.cc/download.php?f=/arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
61+
wget -O "arduino.$ARCHIVE_FORMAT" "$ARDUINO_IDE_URL$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
5662
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
5763
tar xf "arduino.$ARCHIVE_FORMAT" > /dev/null
5864
mv arduino-nightly "$ARDUINO_IDE_PATH"
5965
else
60-
curl -o "arduino.$ARCHIVE_FORMAT" -L "https://www.arduino.cc/download.php?f=/arduino-nightly-$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
66+
curl -o "arduino.$ARCHIVE_FORMAT" -L "$ARDUINO_IDE_URL$OS_NAME.$ARCHIVE_FORMAT" > /dev/null 2>&1
6167
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
6268
unzip "arduino.$ARCHIVE_FORMAT" > /dev/null
6369
if [ "$OS_IS_MACOS" == "1" ]; then

.github/scripts/install-platformio-esp32.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,14 @@ echo "Installing Platform ESP32 ..."
1212
python -m platformio platform install https://github.com/platformio/platform-espressif32.git > /dev/null 2>&1
1313

1414
echo "Replacing the framework version ..."
15-
if [[ "$OSTYPE" == "darwin"* ]]; then
16-
sed 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' "$HOME/.platformio/platforms/espressif32/platform.json" > "platform.json"
17-
mv -f "platform.json" "$HOME/.platformio/platforms/espressif32/platform.json"
18-
else
19-
sed -i 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' "$HOME/.platformio/platforms/espressif32/platform.json"
20-
fi
15+
python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; del data['packages']['framework-arduinoespressif32']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()"
2116

2217
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
2318
echo "Linking Core..."
2419
ln -s $GITHUB_WORKSPACE "$PLATFORMIO_ESP32_PATH"
2520
else
2621
echo "Cloning Core Repository ..."
27-
git clone https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
22+
git clone --recursive https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
2823
fi
2924

3025
echo "PlatformIO for ESP32 has been installed"

.github/scripts/on-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ fi
330330
if [ ! -z "$COMMITS_SINCE_RELEASE" ] && [ "$COMMITS_SINCE_RELEASE" != "null" ]; then
331331
echo "Getting commits since $COMMITS_SINCE_RELEASE ..."
332332
commitFile=$OUTPUT_DIR/commits.txt
333-
git -C "$GITHUB_WORKSPACE" log --oneline $COMMITS_SINCE_RELEASE.. > "$OUTPUT_DIR/commits.txt"
333+
git -C "$GITHUB_WORKSPACE" log --oneline "$COMMITS_SINCE_RELEASE..HEAD" > "$OUTPUT_DIR/commits.txt"
334334
releaseNotes+=$'\r\n##### Commits\r\n'
335335
IFS=$'\n'
336336
for next in `cat $commitFile`

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ set(LIBRARY_SRCS
6060
libraries/SPI/src/SPI.cpp
6161
libraries/Ticker/src/Ticker.cpp
6262
libraries/Update/src/Updater.cpp
63+
libraries/Update/src/HttpsOTAUpdate.cpp
6364
libraries/WebServer/src/WebServer.cpp
6465
libraries/WebServer/src/Parsing.cpp
6566
libraries/WebServer/src/detail/mimetable.cpp
@@ -207,7 +208,7 @@ set(COMPONENT_ADD_INCLUDEDIRS
207208
set(COMPONENT_PRIV_INCLUDEDIRS cores/esp32/libb64)
208209

209210
set(COMPONENT_REQUIRES spi_flash mbedtls mdns ethernet esp_adc_cal wifi_provisioning)
210-
set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support openssl bt)
211+
set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support openssl bt esp_http_client esp_https_ota)
211212

212213
register_component()
213214

Kconfig.projbuild

+6-1
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,18 @@ choice ARDUINO_UDP_RUNNING_CORE
7676

7777
endchoice
7878

79+
config ARDUINO_UDP_TASK_PRIORITY
80+
int "Priority of the UDP task"
81+
default 3
82+
help
83+
Select at what priority you want the UDP task to run.
84+
7985
config ARDUINO_UDP_RUNNING_CORE
8086
int
8187
default 0 if ARDUINO_UDP_RUN_CORE0
8288
default 1 if ARDUINO_UDP_RUN_CORE1
8389
default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
8490

85-
8691
config DISABLE_HAL_LOCKS
8792
bool "Disable mutex locks for HAL"
8893
default "n"

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
- [ESP32Dev Board PINMAP](#esp32dev-board-pinmap)
1212

1313
### Development Status
14-
[Latest stable release ![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic) ![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) ![Downloads](https://img.shields.io/github/downloads/espressif/arduino-esp32/latest/total.svg?style=plastic)
1514

16-
[Latest development release ![Development Version](https://img.shields.io/github/release/espressif/arduino-esp32/all.svg?style=plastic) ![Development Date](https://img.shields.io/github/release-date-pre/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) ![Downloads](https://img.shields.io/github/downloads-pre/espressif/arduino-esp32/latest/total.svg?style=plastic)
15+
Latest Stable Release [![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Downloads](https://img.shields.io/github/downloads/espressif/arduino-esp32/latest/total.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/)
16+
17+
Latest Development Release [![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Downloads](https://img.shields.io/github/downloads/espressif/arduino-esp32/latest/total.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/)
18+
1719

1820
### Installation Instructions
1921
- Using Arduino IDE Boards Manager (preferred)

0 commit comments

Comments
 (0)