Skip to content

Commit 6fae00c

Browse files
Add build.board property
This causes the ARDUINO_PINOCCIO macro to be defined when the Pinoccio boards are selected. This does not distinguish between the 256RFR2 and 128RFR2 versions, but since the later was only a prototype, and the regular CPU defines are also available, this shouldn't be a problem (the alternative would be to check for both boards everywhere in the code, which isn't nice either).
1 parent e01dd70 commit 6fae00c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hardware/pinoccio/avr/boards.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pinoccio.build.mcu=atmega256rfr2
2020
pinoccio.build.f_cpu=16000000L
2121
pinoccio.build.core=arduino
2222
pinoccio.build.variant=pinoccio
23+
pinoccio.build.board=PINOCCIO
2324

2425
##############################################################
2526
pinoccio128.name=Pinoccio 128RFA1
@@ -43,3 +44,4 @@ pinoccio128.build.mcu=atmega128rfa1
4344
pinoccio128.build.f_cpu=16000000L
4445
pinoccio128.build.core=pinoccio
4546
pinoccio128.build.variant=pinoccio
47+
pinoccio.build.board=PINOCCIO

0 commit comments

Comments
 (0)