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.h
- Revision:
- 18:6303931e4102
- Parent:
- 16:84a017ef96f8
- Child:
- 19:8a86e35e54a9
--- a/DMX.h Fri Mar 13 13:34:53 2015 +0000 +++ b/DMX.h Fri Mar 13 17:36:48 2015 +0000 @@ -104,9 +104,12 @@ #elif defined(TARGET_LPC11XX) LPC_UART_TypeDef *_uart; #elif defined(TARGET_KL46Z) +/** + The UART type changes for the Freescale KL46Z +*/ UARTLP_Type *_uart; #else -//#error "this CPU not supported." + #error "this CPU not supported." #endif };