by the way, you must use interrupt mode in UART?
If "reduced device driver" or "small driver" is enabled, it uses polling mode in UART driver. Thus, it no call to alt_irq_register().
There are few solutions for this:
- Increase your on-chip memory size so that can set "reduced device driver" or "small driver" to false (but you need to check the HW spec).
- Use external memory ("reduced device driver" = false)
- "reduced device driver" = true, modify UART driver to use interrupt even if "reduced device driver" is enabled (I never try this before and not sure it can work or not and I'm not sure the code size can fit to your on-chip memory or not after this change).
Good luck!