Skip to content

Commit

Permalink
platformio fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK committed Feb 17, 2024
1 parent 2b6dbff commit 6fb7252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,19 @@ jobs:
~/.cache/pip
~/.platformio/.cache
key: ${{ github.workflow }}
save-always: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: platformio run
env:
PLATFORMIO_BUILD_FLAGS: "\n
PLATFORMIO_BUILD_FLAGS: "\
-D DE200_LANGUAGE={{ inputs.lang }}
{{ (inputs.bicolor && '-D DE200_BICOLOR') || '' }}
{{ (inputs.filsens && '-D DE200_FILAMENT_SENSOR') || '' }}
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
src_dir = Marlin
default_envs = megaatmega2560

[common]
[env]
build_flags = -fmax-errors=5 -g -fmerge-all-constants
lib_deps =
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
Expand Down

0 comments on commit 6fb7252

Please sign in to comment.