Skip to content

Commit

Permalink
Merge pull request #351 from ianfixes/2023-06-07_nano_every
Browse files Browse the repository at this point in the history
Fix flags for nano every
  • Loading branch information
ianfixes authored Jun 8, 2023
2 parents 439d668 + 27ae4b1 commit 34f48ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed

### Fixed
- Compiler flags for Nano Every

### Security

Expand Down
2 changes: 1 addition & 1 deletion cpp/arduino/ArduinoDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
#define TIMER5B 17
#define TIMER5C 18

#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega4809__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)
// Verified on these platforms, see https://github.com/Arduino-CI/arduino_ci/pull/341#issuecomment-1368118880
#define LED_BUILTIN 13

Expand Down
3 changes: 2 additions & 1 deletion misc/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ platforms:
gcc:
features:
defines:
- __AVR_ATmega4809__
- AVR_NANO_4809_328MODE
- MILLIS_USE_TIMERB3
- NO_EXTERNAL_I2C_PULLUP
- AVR_NANO_4809_328MODE
warnings:
flags:
esp32:
Expand Down

0 comments on commit 34f48ca

Please # to comment.