On 07/06/2021 20:45, Gregory Nutt wrote:

I will, I believe, need to declare - place - MCAN related structures such
that they (or at least some elements of them) are in SRAM.

You will need to exercise care.  SRAM (called isram in the linker
scripts) is already used for other things including the MMU page table:
https://github.com/patacongo/incubator-nuttx/blob/master/boards/arm/sama5/sama5d2-xult/scripts/dramboot.ld#L21

The first 112Kb should be available, however, unless the board logic
uses that too.


Thanks Greg - needs no more than 4kbyte. Just got to understand linker scripts now lol and will check for any board logic usage there (there's none that I've set up for my board, at least)

Reply via email to