Skip to content

Commit 951099f

Browse files
authored
Solo1 (#46)
1 parent 9e89e8f commit 951099f

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: IDF_Arduino 4.4.3
1+
name: IDF_Arduino 4.4.3 solo1
22

33
on:
44
workflow_dispatch: # Manually start a workflow

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if ! [ -x "$(command -v git)" ]; then
1010
exit 1
1111
fi
1212

13-
TARGET="all"
13+
TARGET="esp32"
1414
BUILD_TYPE="all"
1515
SKIP_ENV=0
1616
COPY_OUT=0

configs/defconfig.esp32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ CONFIG_ESP_MAIN_TASK_STACK_SIZE=4096
3939
CONFIG_ESP_INT_WDT_TIMEOUT_MS=1000
4040
CONFIG_ESP_TASK_WDT_PANIC=y
4141
CONFIG_ESP_TASK_WDT_TIMEOUT_S=10
42-
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1 is not set
4342
CONFIG_ESP_TIMER_TASK_STACK_SIZE=4096
4443
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=8
4544
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER_NUM=8
@@ -48,6 +47,7 @@ CONFIG_FATFS_CODEPAGE_850=y
4847
CONFIG_FATFS_LFN_STACK=y
4948
# CONFIG_FMB_CONTROLLER_SLAVE_ID_SUPPORT is not set
5049
CONFIG_FMB_TIMER_PORT_ENABLED=y
50+
CONFIG_FREERTOS_UNICORE=y
5151
CONFIG_FREERTOS_HZ=1000
5252
# CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION is not set
5353
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y

tools/archive-build.sh

100755100644
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
44
IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD || echo "")
55

66
idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
7-
archive_path="dist/arduino-esp32-libs-$idf_version_string.tar.gz"
8-
build_archive_path="dist/arduino-esp32-build-$idf_version_string.tar.gz"
9-
pio_archive_path="dist/framework-arduinoespressif32-$idf_version_string.tar.gz"
10-
pio_zip_archive_path="dist/framework-arduinoespressif32-$idf_version_string.zip"
7+
archive_path="dist/arduino-esp32-libs-solo1-$idf_version_string.tar.gz"
8+
build_archive_path="dist/arduino-esp32-build-solo1-$idf_version_string.tar.gz"
9+
pio_archive_path="dist/framework-arduinoespressif32-solo1-$idf_version_string.tar.gz"
10+
pio_zip_archive_path="dist/framework-arduinoespressif32-solo1-$idf_version_string.zip"
1111

1212
mkdir -p dist && rm -rf "$archive_path" "$build_archive_path"
1313

1414
cd out
15-
echo "Creating framework-arduinoespressif32"
15+
echo "Creating framework-arduinoespressif32-solo1"
1616
cp -rf ../components/arduino arduino-esp32
1717
rm -rf arduino-esp32/docs
1818
rm -rf arduino-esp32/tests
@@ -33,6 +33,9 @@ cp -f tools/gen_esp32part.py arduino-esp32/tools/
3333
cp -f tools/platformio-build-*.py arduino-esp32/tools/
3434
cp ../package.json arduino-esp32/package.json
3535
cp ../core_version.h arduino-esp32/cores/esp32/core_version.h
36+
# Replace "framework-arduinoespressif32" with "framework-arduino-solo1"
37+
awk -i inplace -v cuv1="framework-arduinoespressif32" -v cuv2="framework-arduino-solo1" '{gsub(cuv1,cuv2); print;}' "arduino-esp32/tools/platformio-build-esp32.py"
38+
awk -i inplace -v cuv1="framework-arduinoespressif32" -v cuv2="framework-arduino-solo1" '{gsub(cuv1,cuv2); print;}' "arduino-esp32/tools/platformio-build.py"
3639
mv arduino-esp32/ framework-arduinoespressif32/
3740
# If the framework is as tar.gz is needed uncomment next line
3841
# tar --exclude=.* -zcf ../$pio_archive_path framework-arduinoespressif32/

tools/config.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)