Open essej opened 1 week ago
Hi, the e2Studio seems to regenerate some of its files while building which seems to cause your issue. We have tested and build the current version with FSP v4.4.0. Since your version is already v5.4.0, it might not be compatible any more with the previous version. So I would recommend to try this version.
I double checked the memory_regions.ld
: youre right as this is generated upon build and appears in the output (
Release/
Debug`) folder. Not sure why this does not happen at your side, but maybe this behavior has changed in the newer version.
Here is the generated file, so you can append it to the project and retry (rename it to memory_regions.ld
and place into the scripts
folder):
memory_regions.ld.txt
Following the instructions here: https://broadcom.github.io/AFBR-S50-API/e2studio.html I installed the latest version v5.4.0 of FSP with e2Studio 2024-04 from here: https://github.com/renesas/fsp/releases and imported the e2Studio/AFBR_S50_ExplorerApp_RA4M2 project without copying. I did this on both Windows 11 and macOS 14.3 but the same issues described below occur.
The first issue, strangely enough is that the build process overwrites the
ra_gen/bsp_clock_cfg.h
file with an incomplete version which then causes the build to fail. So I restored the correct contents from git, then set that file to be read-only. The build then goes almost to completion, but fails with the following linker error:(The same error occurs on mac, only the toolchain paths are different, of course)
Supposedly the
memory_regions.ld
is supposed to be generated by the build and placed in the target build dir before the link step, but that doesn't appear to be happening here. Has anyone else seen this, or reproduced this problem on their systems? Is there a known version of BSP with e2studio that works correctly? Thanks in advance!Here is the complete build log for reference: