memory_regions.ld file problem

Hello, 

when I create a new project on my ra6t1 microcontroller, the memory_regions.ld file is not created. How can I solve this?
Parents Reply Children
  • Thanks  ,

    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,

    IK

  • 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.

    Thanks,

    IK