Hi! I’m not sure why it doesn’t work for your config, but I’d advice you rather to do:
```make ifneq (,$(filter saml21j17b,$(CPU_MODEL))) ROM_LEN ?= 0x20000 RAM_LEN ?= 0x4000 endif ``` In Makefile.include at cpu/sam0_common/Makefile.include. It’s what you have done? Cheers, Francisco Javier Acosta Padilla Research Engineer at INFINE team Inria Saclay Ile-de-France On 20 June 2018 at 18:51:55, [email protected] ([email protected]) wrote: > Hi, > > I'm trying to use the periph_flashpage test with a saml21j17b chip. For this > to run, I > added > > ROM_LEN ?= 0x20000 > RAM_LEN ?= 0x4000 > to > RIOT/cpu/sam0_common/Makefile.include > > However, even with this, flashpage_write_and_verify never returns > FLASHPAGE_OK > and is unable to write data to any pages. Has anyone encountered this? > > Thanks._______________________________________________ > users mailing list > [email protected] > https://lists.riot-os.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
