Hello,
I'm migrating to a new PC and I made a fresh install of E2Studio (2024-07 24.7.0) and latest FSP (5.5.0)
I imported my projects made with FSP 5.1. Then I starting trying to compile.
The first project I tried is the bootloader project for a RA6M4 microcontroller. In FSP 5.1 has the MCUBoot 1.10.0 but in the new PC has the MCUBoot 2.1.0
The compilation fails because in flash_map.c file doesn't have the FLASH_DEVICE_QSPI definition.
In my old pc, this definition is in sysflash.h file:
#define FLASH_DEVICE_INTERNAL_FLASH (0x7F) #define FLASH_DEVICE_EXTERNAL_FLASH (0x80) #define FLASH_DEVICE_QSPI (FLASH_DEVICE_EXTERNAL_FLASH | 0x01)
But in my new PC, i have only the internal and external defines.
I tried removing the QSPI configuration from the MCUboot stack and adding after, but the problem still exists.
Sysflash is an autogenerated file. Removing the file and generating a new one doesn't fix the problem.
So, how can I make to generate this define? All configuration of QSPI are checked and i can not find what is wrong.
Thanks.
I would recommend deleting the ra, ra_cfg, and the debug folder. Then regenerate project content. I migrated a RA4M2 project this way and had no issues. It sounds like you have some left-over artifacts.
It works!
Thank you!