Skip to content

Commit 07c2c09

Browse files
committed
Add MINICORE macros
Used for libraries to determine what core is used
1 parent 30b35da commit 07c2c09

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

avr/variants/pb-variant/pins_arduino.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
#include <avr/pgmspace.h>
2828

29+
#define MINICORE
30+
#define MCUDUDE_MINICORE
2931

3032
// Digital pins
3133
#define NUM_DIGITAL_PINS (27)

avr/variants/standard/pins_arduino.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
#include <avr/pgmspace.h>
2828

29+
#define MINICORE
30+
#define MCUDUDE_MINICORE
2931

3032
// Definitions to make sure all variants will be supported
3133
#if defined(__AVR_ATmega48__)

0 commit comments

Comments
 (0)