Skip to content

Commit

Permalink
Add build of ABP example
Browse files Browse the repository at this point in the history
Fixes #37
  • Loading branch information
ngraziano committed Nov 8, 2023
1 parent f92672c commit 2cc2140
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ jobs:
run: platformio ci --lib="." --board=ATmega328P --project-option="lib_deps=https://github.com/ngraziano/avr_stl.git" examples/simple_sx1262
- name: Build esp32 exemple
run: platformio ci --lib="." examples/esp32 --project-conf examples/esp32/platformio-ci.ini
- name: Build esp32 abp
run: platformio ci --lib="." examples/esp32-deepsleep-abp --project-conf examples/esp32-deepsleep-abp/platformio-ci.ini
# - name: Build rak811 exemple
# run: platformio ci --lib="." examples/rak811_gps --project-conf examples/rak811_gps/platformio-ci.ini
21 changes: 21 additions & 0 deletions examples/esp32-deepsleep-abp/platformio-ci.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:esp32]
platform = espressif32
board = heltec_wifi_lora_32
framework = arduino
upload_port = COM9

monitor_port = COM9
monitor_speed = 19200

build_flags = -std=gnu++17 -Wall -Wextra -O3 -DENABLE_SAVE_RESTORE
build_unflags = -std=gnu++11
3 changes: 3 additions & 0 deletions examples/simple/.vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}

0 comments on commit 2cc2140

Please sign in to comment.