How to Use Default Linker Script and Startup Code in e2studio Without FSP

Hello Renesas Community,

I'm currently working with Renesas microcontrollers using e2studio, and I’m encountering a problem that’s preventing me from using a straightforward development flow.

Here’s the issue: every time I create a new project, e2studio automatically includes FSP, which forces me to use the associated middleware, peripheral drivers, and configuration tools that I don’t want. While I understand that FSP can be useful for many, I prefer to avoid it and handle the peripheral initialization myself.

However, when I try to bypass FSP, I lose access to the default startup code and linker script that Renesas provides out of the box, which are tightly coupled with FSP. I don’t want to write my own linker script from scratch, as this would take a lot of time.

What I’m looking for is:

  1. A way to disable FSP entirely in e2studio while still being able to use the default linker script and startup code.

  2. To retain the default memory map and low-level initialization code (such as system clock setup and interrupt vector table) without FSP interfering.

  3. A project template or setup that gives me a clean slate with the default Renesas configuration without being forced into using FSP.

I’ve tried:

  • Starting a new project with minimal FSP configurations, but e2studio still automatically includes the parts of FSP I don’t need.

  • Manually removing FSP from an existing project, but this disrupts the default startup files and linker script.

Is there a way to disable FSP completely while keeping the startup code and linker script intact? Any advice or best practices would be greatly appreciated!

Thank you in advance!