Added initial support for FRDM-MCXA156. I will be porting tinyuf2 to… #2925
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I will be porting tinyuf2 to MCXA156 and N947 and need this in place.
It is similar to A153 but with FPU,SIMD enable int the CM33 core. It has much more flash/ram/peripherals and uses the chipidea FS controller.
I repointed the entry in the get_deps script to use NXP MCU repo. The existing current code couldn't build as the MCX Xpresso SDK was old.
For now, I put a copy of fsl_spc.c in the drivers folder for the mcx family. None of the ports could build with the version in the mcux github sdk. The sdk on github has version 2.4.0. The SDK package that can be downloaded with the SDK generator uses 2.4.2. All of the clock_config routines use versions of the datastructure from 2.4.2. For now, keeping an updated copy in hw/bsp/mcx/drivers so we can build against the latest mcuxpresso sdk and enable MCXA156. I'll file an issue on the nxp github.
I cleaned up the family.c a little bit. these chips don't have SCT so I removed the neopixel code. I fixed a clock init issue w/ N947 that was causing it to crash when initializing the uart.
I tested the cmake and make scripts on the A153,A156 and N947 using the CDC/MSC sample. All worked OK.