Hello guys!
Is my first time using platformIO and already trying to do something complicated. I have read pages about custom boards, and custom platforms, and yet no clue on how to do what I am planning. Already noticed platformIO is awesome, so I am sure is possible, somehow…
Here is what I am trying to do (not looking for a ready to use solution (unless really obvious to others)):
I have a custom board with an ATSAME51 and I am already using platformIO to program it!
Now I need to be able to write and build small cpp “pluings” that will be “uploaded” to a fixed RAM/Flash address and call functions from the base firmware.
For this I need to edit/reduce available memory used by base firmware; And, I guess, to create a new platform that will build code without any startup code and limited to only use the previously released memory. And also place its entry on a fixed address (so I can call it from main code).
Am I making things harder than necessary?
For this do I really need a new platform or it should be a new board? None?
Any way, I was no able to find any linker script configuration on platformio files (or been looking the wrong documentation).
Any guidance will be appreciated!! Thanks!