Skip to content

Commit

Permalink
Improved compiler options for auto build (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-b-jakobsson authored Oct 28, 2023
1 parent 08740db commit 9a8fa37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
arduino-cli core update-index --additional-urls file://$PWD/package_drazzy.com_index.json
arduino-cli core install ATTinyCore:avr --additional-urls file://$PWD/package_drazzy.com_index.json
- name: Compile Arduino default sketch
run: arduino-cli compile -b ATTinyCore:avr:attinyx61 --build-path .build/default
run: arduino-cli compile -b ATTinyCore:avr:attinyx61 --board-options "chip=861,clock=16pll,pinmapping=new,TimerClockSource=default,LTO=enable,millis=enabled,eesave=aenable,bod=4v3" --build-path .build/default
- name: Compile Arduino sketch with Community X16 pin support
run: arduino-cli compile -b ATTinyCore:avr:attinyx61 --build-property "build.extra_flags=-DCOMMUNITYX16_PINS" --build-path .build/community
run: arduino-cli compile -b ATTinyCore:avr:attinyx61 --board-options "chip=861,clock=16pll,pinmapping=new,TimerClockSource=default,LTO=enable,millis=enabled,eesave=aenable,bod=4v3" --build-property "build.extra_flags=-DCOMMUNITYX16_PINS" --build-path .build/community
- name: Install IntelHex library
run: pip install intelhex
- name: Make default SMC.BIN file
Expand Down Expand Up @@ -52,3 +52,4 @@ jobs:
.build/community/x16-smc.ino.elf
.build/community/SMC*.BIN
.build/community/readme

0 comments on commit 9a8fa37

Please sign in to comment.