Skip to content

Commit

Permalink
Updated boards_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Dec 13, 2023
1 parent 7c0f395 commit b77fd02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:
architecture: "x64"
- name: Install PlatformIO
run: python -m pip install platformio
- name: List
run: ls -laR
- name: List ~/.
run: ls -laR ~/.
- name: Copy boards
run: cp -vv ./boards/*.json ~/.platformio/platforms/espressif32/boards/
# - name: Install Espressif platform
# run: pio pio pkg install espressif
# - name: List
# run: ls -laR
# - name: List ~/.
# run: ls -laR ~/.
# - name: Copy boards
# run: cp -vv ./boards/*.json ~/.platformio/platforms/espressif32/boards/
- name: Build firmware
run: pio ci --lib="." --project-conf "example/platformio.ini" "example/main.cpp"
run: pio ci --lib="." --project-conf "example/platformio.ini" "example/main.cpp"
env:
PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"
1 change: 1 addition & 0 deletions example/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
; https://docs.platformio.org/page/projectconf.html

[platformio]
boards_dir=./boards
#default_envs = ESP32-2424S012C
#default_envs = ESP32-2424S012N
#default_envs = ESP32-2432S024C
Expand Down

0 comments on commit b77fd02

Please sign in to comment.