Skip to content

Commit

Permalink
Add MINICORE macros
Browse files Browse the repository at this point in the history
Used for libraries to determine what core is used
  • Loading branch information
MCUdude committed Apr 26, 2021
1 parent 30b35da commit 07c2c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avr/variants/pb-variant/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include <avr/pgmspace.h>

#define MINICORE
#define MCUDUDE_MINICORE

// Digital pins
#define NUM_DIGITAL_PINS (27)
Expand Down
2 changes: 2 additions & 0 deletions avr/variants/standard/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include <avr/pgmspace.h>

#define MINICORE
#define MCUDUDE_MINICORE

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

0 comments on commit 07c2c09

Please sign in to comment.