An initial port to the FRDM-K46Z based on the the following: https://developer.mbed.org/users/okini3939/notebook/dmx512/
Fork of DMX by
Need to update the UART references to the K46Z. The KE02 Sub-Family Reference Manual provides us with the required information.
The modifications are wrapped with the target for the K46: For example, defined(TARGET_KL46Z)
Diff: DMX.cpp
- Revision:
- 17:12dd79109ce3
- Parent:
- 16:84a017ef96f8
- Child:
- 18:6303931e4102
--- a/DMX.cpp Thu Mar 05 21:28:02 2015 +0000 +++ b/DMX.cpp Fri Mar 13 13:34:53 2015 +0000 @@ -49,7 +49,7 @@ if ((p_rx == PTE23) || (p_rx == PTE17)) { _uart = (UARTLP_Type *)UART2; NVIC_SetPriority(UART2_IRQn, 1); - } else + } #elif defined(TARGET_LPC4088) if (p_rx == p10) {