Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
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
9ad8607
Fix Memory leak in addApbChangeCallback() (#3560)
stickbreaker Dec 30, 2019
3fc974f
bugfix(touchpad):swap touch8 and touch9 #3584 (#3620)
TreeNewbeer Jan 9, 2020
d8b2098
Use IDF's ADC Driver and Add analogReadMilliVolts (#3377)
me-no-dev Jan 20, 2020
c09ec5b
Added MGBOT IOTIK 32A and IOTIK 32B boards (#3427)
vrxfile Jan 20, 2020
cfe8526
Add Uri with support for regexUri and globUri (#3441)
Bmooij Jan 20, 2020
8869d39
Created variant for LilyGo TTGO LoRa32-OLED V2 (#3479)
robsonos Jan 20, 2020
7de1717
Fix replacing of headers with overlapping names. Fixes issue #3483 (#…
Jan 20, 2020
3607525
WString explicit converters to reduce Flash size (#3497)
everslick Jan 20, 2020
85ef51f
BLE: reception support multiple service data (#3502)
egrekov Jan 20, 2020
7b3c1df
Fix inability to use all buffers in RMT (#3512)
collin80 Jan 20, 2020
5443d7c
Add TTGO T Journal Camera module & improve commenting (#3515)
WizardTim Jan 20, 2020
579e04b
Cleanup SPI_Multiple_Buses (#3527)
muman613 Jan 20, 2020
2f13a96
Add WIFI_REASON_CONNECTION_FAIL in WiFiGeneric.cpp (#3529)
felixstorm-c4a8 Jan 20, 2020
c2b37d9
Updated BLERemoteCharacteristic to exposre esp_gatt_auth_req_t parame…
cipherz Jan 20, 2020
915d45d
Defined BLE setAdvertisementType (#3535)
syonbori Jan 20, 2020
6e77f7f
Setting loging level to VERBOSE on Semaphore::take (#3545)
I-Connect Jan 20, 2020
0607d36
HardwareSerial::write(const char*, ...) API compatibility to AVR, ESP…
dok-net Jan 20, 2020
dd78794
Update CaptivePortal.ino (#3628)
DanielLester83 Jan 20, 2020
e7c9813
Added Piranha ESP-32 and Metro ESP-32 boards (#3542)
drondistortion Jan 20, 2020
82e208c
Fixed incorrect board name for TinyPICO - You can now use this to det…
UnexpectedMaker Jan 20, 2020
5960cd3
update coreESP32 boards.txt (#3569)
radiumray Jan 20, 2020
86de90f
Added partition and flash size menus for VintLabs boards (#3602)
pvint Jan 20, 2020
89351e3
Update WiFiClient.cpp (#3608)
Vigeant Jan 20, 2020
cb005fc
Extend BLEDevice::setPower() to include powerType parameter. It's opt…
robert-alfaro Jan 20, 2020
8d938c8
Add HONEYLemon board (#3640)
jackrobotics Jan 20, 2020
2195109
Added the channel parameter to the scan fucntion in order to select w…
ingframin Jan 20, 2020
ac9d04a
Add BLEDevice::stopAdvertising() helper method to compliment startAdv…
robert-alfaro Jan 20, 2020
cd85239
Added file.close to examples (#3611)
lbernstone Jan 20, 2020
7637a73
Fix recent commit d8b2098 (PR #3377) which includes esp_adc_cal compo…
robert-alfaro Jan 20, 2020
32d5654
Implement rmtLoop to be able to continuously send pulses (#3650)
me-no-dev Jan 20, 2020
307b136
Implement BTSerial onData to dynamically receive packets from SPP (#3…
me-no-dev Jan 20, 2020
1977370
IDF release/v3.3 (#3339)
me-no-dev Jan 20, 2020
b4a9684
Fix SerialBT.flush (#3579)
mishafarms Jan 20, 2020
ed59ae6
Update README.md (#3653)
kartik-nighania Jan 21, 2020
bb0a194
fix WiFiClient.connected() (#3654)
markyad Jan 21, 2020
b50a175
Use python3 in CI
me-no-dev Jan 25, 2020
80f9f9a
fix removeApbChangeCallback() error in spiStopBus() (#3675)
stickbreaker Jan 26, 2020
ed220bd
Minimize HardwareSerial Receive and Transmit delays (#3664)
hreintke Jan 26, 2020
b2c6788
std::shared_ptr Memory Leak (#3680)
stickbreaker Jan 29, 2020
109ba7a
Revert "std::shared_ptr Memory Leak (#3680)" (#3682)
me-no-dev Jan 29, 2020
9b75c65
Add Senses's WEIZEN board from Senses IoT platform (#3687)
Isaranu Jan 29, 2020
13e0206
Move _STREAM_BOUNDARY before _STREAM_PART (#3720)
abergmann Feb 14, 2020
0f77227
add new board Handbit (#3807)
hznupeter Mar 12, 2020
5508689
Update install-platformio-esp32.sh
me-no-dev Apr 13, 2020
2c9b648
Add support of unified provisioning to Arduino
sweetymhaiske Apr 15, 2020
4d118b3
Minor modifications in provisioning (#3919)
sweetymhaiske Apr 21, 2020
c821531
Add M5Stack-ATOM Board (#3883)
Gitshaoxiang Apr 23, 2020
5d9bb5c
Allow using custom linker scripts (#3735)
valeros May 4, 2020
49b7664
HardwareSerial bugfix & improvement (#3713)
hreintke May 5, 2020
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
  •  
  •  
  •  
38 changes: 16 additions & 22 deletions .github/scripts/install-arduino-core-esp32.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,33 @@

export ARDUINO_ESP32_PATH="$ARDUINO_USR_PATH/hardware/espressif/esp32"
if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
echo "Installing ESP32 Arduino Core in '$ARDUINO_ESP32_PATH'..."
echo "Installing ESP32 Arduino Core ..."
script_init_path="$PWD"
mkdir -p "$ARDUINO_USR_PATH/hardware/espressif" && \
mkdir -p "$ARDUINO_USR_PATH/hardware/espressif"
cd "$ARDUINO_USR_PATH/hardware/espressif"
if [ $? -ne 0 ]; then exit 1; fi

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..." && \
echo "Linking Core..."
ln -s $GITHUB_WORKSPACE esp32
else
echo "Cloning Core Repository..." && \
echo "Cloning Core Repository..."
git clone https://github.com/espressif/arduino-esp32.git esp32 > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: GIT clone failed"; exit 1; fi
fi

cd esp32 && \
echo "Updating submodules..." && \
echo "Updating Submodules ..."
cd esp32
git submodule update --init --recursive > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: Submodule update failed"; exit 1; fi

echo "Installing Python Serial..." && \
pip install pyserial > /dev/null
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi

if [ "$OS_IS_WINDOWS" == "1" ]; then
echo "Installing Python Requests..."
pip install requests > /dev/null
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi
fi

echo "Downloading the tools and the toolchain..."
cd tools && python get.py > /dev/null
if [ $? -ne 0 ]; then echo "ERROR: Download failed"; exit 1; fi
echo "Installing Platform Tools ..."
cd tools && python get.py
cd $script_init_path

echo "ESP32 Arduino has been installed in '$ARDUINO_ESP32_PATH'"
Expand Down
29 changes: 16 additions & 13 deletions .github/scripts/install-arduino-ide.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
OS_NAME="linux32"
elif [[ "$OSBITS" == "x86_64" ]]; then
OS_NAME="linux64"
elif [[ "$OSBITS" == "armv7l" ]]; then
elif [[ "$OSBITS" == "armv7l" || "$OSBITS" == "aarch64" ]]; then
OS_NAME="linuxarm"
else
OS_NAME="$OSTYPE-$OSBITS"
Expand Down Expand Up @@ -40,34 +40,32 @@ 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'..."
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
if [ $? -ne 0 ]; then echo "ERROR: Download failed"; exit 1; fi
echo "Extracting 'arduino.$ARCHIVE_FORMAT'..."
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
tar xf "arduino.$ARCHIVE_FORMAT" > /dev/null
if [ $? -ne 0 ]; then exit 1; fi
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
if [ $? -ne 0 ]; then echo "ERROR: Download failed"; exit 1; fi
echo "Extracting 'arduino.$ARCHIVE_FORMAT'..."
echo "Extracting 'arduino.$ARCHIVE_FORMAT' ..."
unzip "arduino.$ARCHIVE_FORMAT" > /dev/null
if [ $? -ne 0 ]; then exit 1; fi
if [ "$OS_IS_MACOS" == "1" ]; then
mv "Arduino.app" "/Applications/Arduino.app"
else
mv arduino-nightly "$ARDUINO_IDE_PATH"
fi
fi
if [ $? -ne 0 ]; then exit 1; fi
rm -rf "arduino.$ARCHIVE_FORMAT"

mkdir -p "$ARDUINO_USR_PATH/libraries"
Expand Down Expand Up @@ -95,7 +93,7 @@ function build_sketch(){ # build_sketch <fqbn> <path-to-ino> [extra-options]
fi

echo ""
echo "Compiling '"$(basename "$sketch")"'..."
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 \
Expand All @@ -115,9 +113,13 @@ function build_sketch(){ # build_sketch <fqbn> <path-to-ino> [extra-options]
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
rm -rf sketches.txt
for sketch in $sketches; do
local sketchdir=$(dirname $sketch)
local sketchdirname=$(basename $sketchdir)
Expand Down Expand Up @@ -163,8 +165,10 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
return 1
fi

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

Expand Down Expand Up @@ -214,4 +218,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
done
return 0
}

70 changes: 35 additions & 35 deletions .github/scripts/install-platformio-esp32.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,59 @@

export PLATFORMIO_ESP32_PATH="$HOME/.platformio/packages/framework-arduinoespressif32"

echo "Installing Python Wheel..."
echo "Installing Python Wheel ..."
pip install wheel > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi

echo "Installing PlatformIO..."
echo "Installing PlatformIO ..."
pip install -U https://github.com/platformio/platformio/archive/develop.zip > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi

echo "Installing Platform ESP32..."
python -m platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage > /dev/null 2>&1
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi
echo "Installing Platform ESP32 ..."
python -m platformio platform install https://github.com/platformio/platform-espressif32.git > /dev/null 2>&1

echo "Replacing the framework version..."
echo "Replacing the framework version ..."
if [[ "$OSTYPE" == "darwin"* ]]; then
sed 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' "$HOME/.platformio/platforms/espressif32/platform.json" > "platform.json" && \
sed 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' "$HOME/.platformio/platforms/espressif32/platform.json" > "platform.json"
mv -f "platform.json" "$HOME/.platformio/platforms/espressif32/platform.json"
else
sed -i 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' "$HOME/.platformio/platforms/espressif32/platform.json"
fi
if [ $? -ne 0 ]; then echo "ERROR: Replace failed"; exit 1; fi

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

echo "PlatformIO for ESP32 has been installed"
echo ""


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

local board="$1"
local sketch="$2"
local sketch_dir=$(dirname "$sketch")
echo ""
echo "Compiling '"$(basename "$sketch")"'..."
python -m platformio ci --board "$board" "$sketch_dir" --project-option="board_build.partitions = huge_app.csv"
local board="$1"
local sketch="$2"
local sketch_dir=$(dirname "$sketch")
echo ""
echo "Compiling '"$(basename "$sketch")"' ..."
python -m platformio ci --board "$board" "$sketch_dir" --project-option="board_build.partitions = huge_app.csv"
}

function count_sketches() # count_sketches <examples-path>
{
local examples="$1"
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
rm -rf sketches.txt
for sketch in $sketches; do
local sketchdir=$(dirname $sketch)
local sketchdirname=$(basename $sketchdir)
Expand Down Expand Up @@ -91,35 +89,37 @@ function build_pio_sketches() # build_pio_sketches <board> <examples-path> <chun
chunks_num="1"
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
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 ))
chunk_size=$(( $chunk_size + 1 ))
fi

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

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

local start_num=$(( $start_index + 1 ))
Expand All @@ -141,7 +141,7 @@ function build_pio_sketches() # build_pio_sketches <board> <examples-path> <chun
sketchnum=$(($sketchnum + 1))
if [ "$sketchnum" -le "$start_index" ] \
|| [ "$sketchnum" -gt "$end_index" ]; then
continue
continue
fi
build_pio_sketch "$board" "$sketch"
local result=$?
Expand Down
Loading