Skip to content

Commit

Permalink
Update pio and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Oct 10, 2024
1 parent 5d0b8bf commit 36b3805
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- examples/BHI260AP_aux_BMM150_euler
- examples/BHI260AP_aux_BMM150_quaternion
- examples/BHI260AP_aux_BMM150_BME280
- examples/BHI260AP_aux_BMM150_BME280_Expand_GPIO
- examples/BHI260AP_DebugInfo
- examples/BHI260AP_Orientation
- examples/BHI260AP_StepCounter
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ assets
*.test
build
*.old
sdkconfig
sdkconfig
tmp
28 changes: 25 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
; src_dir = examples/QMC6310_GetDataExample
; src_dir = examples/QMC6310_GetPolarExample
; src_dir = examples/QMI8658_BlockExample
src_dir = examples/QMI8658_CalibrationExample
; src_dir = examples/QMI8658_CalibrationExample
; src_dir = examples/QMI8658_GetDataExample
; src_dir = examples/QMI8658_InterruptBlockExample
; src_dir = examples/QMI8658_InterruptExample
Expand All @@ -51,6 +51,7 @@ src_dir = examples/QMI8658_CalibrationExample
; src_dir = examples/BHI260AP_aux_BMM150_euler
; src_dir = examples/BHI260AP_aux_BMM150_quaternion
; src_dir = examples/BHI260AP_aux_BMM150_BME280
src_dir = examples/BHI260AP_aux_BMM150_BME280_Expand_GPIO
; src_dir = examples/BMM150_GetDataExample


Expand All @@ -66,7 +67,7 @@ src_dir = examples/QMI8658_CalibrationExample
; src_dir = examples/TouchDrv_GT9895_GetPoint

; default_envs = esp32dev
default_envs = esp32s3
; default_envs = esp32s3
; default_envs = esp32c3
; default_envs = rp2040
; default_envs = nrf52840
Expand Down Expand Up @@ -106,19 +107,28 @@ build_flags =
-Wmissing-field-initializers
-std=c++11

lib_deps =
https://github.com/CreativeRobotics/Commander.git ; BHI260AP_aux_BMM150_BME280_Expand_GPIO example


[env:esp32dev]
extends = env
platform = [email protected]
framework = arduino
board = esp32dev

lib_deps =
${env.lib_deps}

[env:esp32c3]
extends = env
platform = [email protected]
framework = arduino
board = esp32-c3-devkitm-1

lib_deps =
${env.lib_deps}

[env:esp32s3]
extends = env
platform = [email protected]
Expand All @@ -129,13 +139,19 @@ build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
; -UARDUINO_USB_CDC_ON_BOOT

lib_deps =
${env.lib_deps}

[env:rp2040]
extends = env
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower

lib_deps =
${env.lib_deps}

[env:nrf52840]
platform = nordicnrf52
board = nrf52840_dk_adafruit
Expand All @@ -146,8 +162,14 @@ upload_protocol = nrfutil
; upload_protocol = nrfjprog
; upload_protocol = jlink

lib_deps =
${env.lib_deps}

[env:stm32]
platform = ststm32
framework = arduino
board = nucleo_f411re
upload_protocol = stlink
upload_protocol = stlink

lib_deps =
${env.lib_deps}

0 comments on commit 36b3805

Please sign in to comment.