Hello, when I create a new project on my ra6t1 microcontroller, the memory_regions.ld file is not created. How can I solve this?
Hello fan ,
Thanks for reaching out to us!
Could you please indicate which e2studio and FSP version you are using?
Also have you generated code and built your project. The memory_regions.ld is created as soon as your build is complete and the Debug folder is also generated. The memory_regions.ld is under the Debug folder.
Best Regards,
IK
hi,
e2 version is 2024-10. I generate the code on the configuration screen, then I build it. But there is no memory_regions.ld file in the debug folder.
Ok , please also provide the FSP version and in which OS are you using e2studio? So that we can replicate your issue.
Thanks,
fsp version is 5.7.0 and os is windows
Thanks fan ,
Well I also tried to e2studio 2024-10 using FSP 5.7.0. I created a bare-metal without RTOS , Flat project using GCC as toolchain and I am sorry I couldn't replicate your issue the memory_regions.ld has been generated successfully under Debug folder in my case.
I suspect that maybe you have configured something in Build settings in different way than the default one.
Would it be possible please to share your project to check your settings in more detail?
Thanks and Regards,
hello,
i created new empty project. The error is stil exists. In this project, the fsp version is 5.2 but I get the same error in 5.7
memory_regions_error.zip
Hello fan,
Apologies for coming late back to this. Does this issue still persist?
Since when trying to create a project as I mentioned to you in my previous reply with the same version of tools e2studio and FSP the memory_regions.ld file was generated fine.
A workaround on this would be to create you own custom memory_regions.ld in Debug folder if not generated, of course including the start addresses and the lengths of the memories depending your device part number and include it the fsp.ld linker script.
This will work and you should be able to build and link the file successfully.