Hi I am attempting to port NuttX to the STM32L431CC on a custom board. I have done so by copying the config for the Nucleo-L432KC board, using pretty much the same procedure as described here: https://groups.google.com/g/nuttx/c/3p1ZF1lS8cw/m/FzPVR5omAgAJ.
I have made a simple app that toggles an LED, which is the entry point app. When I flash ‘nuttx.bin’, to the Nucleo-L432, it works as expected and the LED blinks. However, when I flash the same code to my L431 it does not work. It appears that NuttX is not initialising properly. When I use the STM32CubeProgrammer to inspect the device memory, I can see that the GPIO configuration registers have not been set as they should be. For example, the GPIOB registers at 0x48000400 simply contain repeating blocks of “0xFFFFFEBF”, which is not right (and is not what I see on the Nucleo-L432). I’m finding it very hard to debug this. Are there further steps that I should try, or a different approach? My understanding was that the L432 and L431 were very similar and so the port should have been fairly straightforward. Thanks in advance for any and all suggestions! Daniel