So , I created a FC2 UART configuration using the MCUXpresso Config tool , it created code, which is good.
I am working under the usart_interrupt_rb_transfer.c example for testing. I fire up the code and it gets to the BOARD_InitBootPeripherals(); and then I get an assert trap.
The problem is that an interrupt is being call for FC2 and there isn't a routine in there yet.
Some background, this example doesn't actually use the configuration tool for the example, it initialized the DEMO_USART in a manual way. This is fine and understandable. It configures the interrupt return routine in the USART_TransferCreateHandle() function.
My question is , when you use the Config tool, the code created does nothing with the interrupt service routine, so should I be setting this up BEFORE calling BOARD_InitBootPeripherals() ?? Why isn't there a ready made hook.
I guess I could turn off Enabled in initialization in Configuration screen. Then I can turn it on normally.
Its just not logical behavior , but then my expectations don't make something True...am I right?