Skip to content

Commit 27ae4b1

Browse files
committed
Fix flags for nano every
1 parent 439d668 commit 27ae4b1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515
### Removed
1616

1717
### Fixed
18+
- Compiler flags for Nano Every
1819

1920
### Security
2021

Diff for: cpp/arduino/ArduinoDefines.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#define TIMER5B 17
9090
#define TIMER5C 18
9191

92-
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)
92+
#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__)
9393
// Verified on these platforms, see https://github.com/Arduino-CI/arduino_ci/pull/341#issuecomment-1368118880
9494
#define LED_BUILTIN 13
9595

Diff for: misc/default.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ platforms:
6565
gcc:
6666
features:
6767
defines:
68+
- __AVR_ATmega4809__
69+
- AVR_NANO_4809_328MODE
6870
- MILLIS_USE_TIMERB3
6971
- NO_EXTERNAL_I2C_PULLUP
70-
- AVR_NANO_4809_328MODE
7172
warnings:
7273
flags:
7374
esp32:

0 commit comments

Comments
 (0)