I had to move my project from MCXA153 to MCXN236 for two reasons.
- The sensor I was using came with a closed-source static library. The library required a 4K memory allocation on the stack that was breaking things. I tried increasing the stack but there was also heap usage from libc for printf operations. I did a delicate dance trying to adjust the stack/heap limits but I just had to give up at the end. While it is a simple sensor, I couldn't get going with a 32K RAM. I couldn't get use the sensor without the library.
- I tried using another sensor but I had to give up due to floating point operations. This sensor also came with a closed source static library.
I got away with switching the microcontroller. Onwards to trying to get other components going.