e290006144
Adds a shim layer around the mcux lpuart driver to adapt it to the Zephyr serial interface. NXP has multiple uart hardware blocks that implement different features and have different register maps. The k64 has a uart block called 'uart', while the kw41 has a uart block called 'lpuart' (low power uart). The MCUXpresso SDK provides separate drivers for each type of uart block but with similar software interfaces. As a result, there are also separate shim drivers in Zephyr. There is a 1:1:1 relationship between hardware block, mcux driver, and mcux shim driver. Because we now have two mcux shim drivers for the uart interface, a new naming convention is created: <interface>_mcux_<hw block> Where <interface> is the name of the Zephyr interface, in this case 'uart'. This convention is not new. <hw block> is the name of the NXP hardware block, in this case 'lpuart'. This is the new part, and distinguishes different hardware blocks for the same interface. Change-Id: I3a80b9bffa116bbb2b02ee950d4bdd79a19a4edc Signed-off-by: Maureen Helm <maureen.helm@nxp.com> |
||
---|---|---|
.. | ||
components | ||
devices | ||
drivers | ||
Kconfig | ||
Makefile | ||
README |
README
The NXP MCUXpresso Software Development Kit (MCUX) provides device header files and peripheral drivers for Kinetis, LPC, and i.MX SoCs. It was previously called the Kinetis Software Development Kit (KSDK), then renamed to include support for LPC and i.MX SoCs. The K64F sources in this directory are imported from mcux.nxp.com. MCUX for KWxx is not yet deployed on mcux.nxp.com like most other devices, therefore the sources are imported from the KW41Z product page on nxp.com: Kinetis KW41Z Connectivity Software Linux(REV 1.0.2) https://www.nxp.com/webapp/Download?colCode=KW41Z-CONNECTIVITY-SOFTWARE-LIN&appType=license&Parent_nodeId=1441226359347708902175&Parent_pageType=product The current version supported in Zephyr is MCUX 2.0. It currently supports the following SoCs: - MK64F12 (aka K64F) - MKW41Z4 (aka KW41Z) - MKW31Z4 - MKW21Z4 Additionally, it provides the following components: - overwrites header file for MCR20 Register values MCR20Overwrites.h (components/mcr20a/MCR20Overwrites.h) Origin: Kinetis MKW2xD and MCR20A Connectivity Software URL: https://www.nxp.com/webapp/Download?colCode=MKW2XD-MRC20A-CONNECTIVITY-SW&appType=license&Parent_nodeId=1425322332576706617013&Parent_pageType=productI Revision: (REV 1.0.0)