Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jun 27, 2024
1 parent 3e01747 commit ebbe8ea
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build-ArduinoIDE-T-ETH-ELite-ESP32S3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ jobs:
cp -r $PWD/lib/* $HOME/Arduino/libraries
cd $GITHUB_WORKSPACE ;
arduino-cli compile -b esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,PSRAM=opi --build-property "build.extra_flags=-DLILYGO_T_ETH_LITE_ESP32S3" $PWD/$EXAMPLES
arduino-cli compile -b esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,PSRAM=opi --build-property "build.extra_flags=-DLILYGO_T_ETH_ELITE_ESP32S3" $PWD/$EXAMPLES
2 changes: 1 addition & 1 deletion examples/I2C_BME280Sensor/I2C_BME280Sensor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void setup()
while (!Serial); // time to get serial running
Serial.println(F("BME280 test"));

Wire.begin(I2C_SDA_PIN, I2C_SCL_PIN);
Wire.begin(I2C_SDA, I2C_SCL);

deviceScan(&Wire, &Serial);

Expand Down
38 changes: 21 additions & 17 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
; default_envs = T-ETH-Lite-ESP32
; default_envs = T-ETH-Lite-ESP32S3
; default_envs = T-ETH-POE-PRO
; default_envs = T-ETH-ELite-ESP32S3
default_envs = T-ETH-ELite-ESP32S3

; ! Debug .
; default_envs = T-ETH-ELite-ESP32S3-LR1121 , T-ETH-ELite-ESP32S3-SX1262 , T-ETH-ELite-ESP32S3-SX1276 , T-ETH-ELite-ESP32S3-SX1276-TCXO , T-ETH-ELite-ESP32S3-SX1280 , T-ETH-ELite-ESP32S3-SX1280PA
Expand Down Expand Up @@ -44,7 +44,7 @@

; ! Wire bus examples
; src_dir = examples/I2C_HP303BSensor
; src_dir = examples/I2C_BME280Sensor
src_dir = examples/I2C_BME280Sensor

; ! Serial examples
; src_dir = examples/TinyGPS_Example
Expand Down Expand Up @@ -77,7 +77,7 @@
; src_dir = examples/T-ETH-ELite/T-ETH-Elite-LoRa-Shield

[env]
platform = espressif32@6.4.0
platform = espressif32@6.7.0
framework = arduino
upload_speed = 921600
monitor_speed = 115200
Expand Down Expand Up @@ -150,8 +150,7 @@ lib_ignore =
; monitor_dtr = 1

; ESP32-S3-WROOM-1 + W5500 FLASH:16MB PSRAM:8MB OPI
; [env:T-ETH-ELite-ESP32S3]
[T-ETH-ELite-ESP32S3]
[eht_elite_base]
board=esp32s3box
build_flags =
${env.build_flags}
Expand All @@ -171,40 +170,45 @@ lib_ignore =
lib_deps =
SPI

[env:T-ETH-ELite-ESP32S3]
extends = eht_elite_base
build_flags =
${eht_elite_base.build_flags}

[env:T-ETH-ELite-ESP32S3-LR1121]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_LR1121

[env:T-ETH-ELite-ESP32S3-SX1262]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_SX1262

[env:T-ETH-ELite-ESP32S3-SX1276]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_SX1276

[env:T-ETH-ELite-ESP32S3-SX1280]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_SX1280

[env:T-ETH-ELite-ESP32S3-SX1280PA]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_SX1280PA

[env:T-ETH-ELite-ESP32S3-SX1276-TCXO]
extends = T-ETH-ELite-ESP32S3
extends = eht_elite_base
build_flags =
${T-ETH-ELite-ESP32S3.build_flags}
${eht_elite_base.build_flags}
-DUSING_SX1276_TCXO


Expand Down

0 comments on commit ebbe8ea

Please sign in to comment.