Skip to content
Permalink
Browse files

boards: adafruit_trinket_m0: Force program flash to 0x2000

Apparently zephyr,code-partition doesn't work unless you define
BOOTLOADER_MCUBOOT.

Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
  • Loading branch information...
psidhu authored and nashif committed Apr 26, 2019
1 parent de87390 commit d52ca2555079fbcbfeb0146e350b3514fdbe6dd7
Showing with 8 additions and 0 deletions.
  1. +8 −0 boards/arm/adafruit_trinket_m0/adafruit_trinket_m0.dts
@@ -11,6 +11,14 @@
model = "Adafruit Trinket M0";
compatible = "adafruit,trinket-m0", "atmel,samd21e18a", "atmel,samd21";

soc {
nvmctrl: nvmctrl@41004000 {
flash0: flash@0 {
reg = <0x2000 0x3E000>;
};
};
};

chosen {
zephyr,console = &sercom0;
zephyr,shell-uart = &sercom0;

0 comments on commit d52ca25

Please sign in to comment.
You can’t perform that action at this time.