Commit Graph

19 Commits

Author SHA1 Message Date
Eli Hughes
f392b4c91d Added initial support for FRDM-MCXA156 and fixed up a crash with MCXN947
I will be porting tinyuf2 to MCXA156 and N947 and need this work in place.

This is the 1st step before bringing in support for other MCX devices.

We had previous patched https://github.com/hathach/mcux-sdk.git'  for MCX support as it was not pulically available

I updated get_deps to point to the mcux-sdk version 2.16.10 from NXP. I repointed the entry in the get_deps script to use NXP MCU repo.  The existing current code couldn't build as the MCUXpresso 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.

- Cleaned up the MCX family.c a little bit.  the MCXA/N these chips don't have SCT so I removed the neopixel code.

- 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.

- Patched get_deps so it will do a fetch/check on a new folder.  Some of the deps were failing on a fresh clone of tinyusb

- Fixed  lpc51,54 and lpc55 make/cmake files to build with mcuxpresso sdk 2.16.10  The folder structure for flexcomm/uart changed a little bit

- lpc55s59 libpower_hardabi.a no longer is included in mcuxpressosdk, (fsl_power.c is replacement). remove of libpower_hardabi.a from the linker config.  LPC55 still works as expected.

- Using tinyuf2 get deps
2025-04-27 09:42:42 -04:00
hathach
6a36c74b10 embed metadata to family.c and board.h to generate supported boards doc 2024-12-27 09:11:09 +07:00
hathach
d6d8acad90 add CFG_EXAMPLE_VIDEO_READONLY for mcxa15 2024-04-08 11:15:21 +07:00
hathach
c97c3418c7 minor update bsp 2024-04-05 20:31:55 +07:00
hathach
757a1726e8 rename frdm board 2024-04-05 18:33:58 +07:00
hathach
5ce4585884 fix pre-commit format 2024-04-05 17:14:51 +07:00
Jerry Palacios
5c14bd13da MCX A and MCX N merged to MCX family 2024-02-20 18:02:42 -06:00
Jerry Palacios
73122cd5f9 mcx family renamed as mcxn
MCXN and MCXA have different ARM Cortex M33 core, can't be on the same family
2024-02-09 09:36:58 -06:00
Jerry Palacios
31c9176b2b frdmmcxn947 board added 2024-02-07 17:10:47 -06:00
Jerry Palacios
6c4a5292a6 Back to original 2024-02-07 17:03:13 -06:00
Jerry Palacios
17cd5e0952 Bunny brain board created, but not modified yet
Bunny brain board created, but not modified yet
2024-01-23 17:55:19 -06:00
Jerry Palacios
2fadc06412 BOARD_InitPins pinlist modification
BOARD_InitPins pinlist modification
2024-01-23 17:53:09 -06:00
Jerry Palacios
fca0b44fa1 Update pin_mux.c 2024-01-23 17:10:21 -06:00
Jerry Palacios
b3ce3e25eb Led pin configurations changed from P3_4 to P0_10 2024-01-23 17:09:19 -06:00
Jerry Palacios
e819a28a8b frdm-mcxn947 folder created
frdm-mcxn947 folder created.
Led and button pin modified compared to mcxn947brk board
2024-01-23 16:49:44 -06:00
hathach
d70403f1f4 refactor khci to chipidea fs driver for device (host is not yet) 2023-06-15 13:06:27 +07:00
hathach
8b8b9690ad update segger rtt to fix cast align 2023-06-14 12:01:21 +07:00
hathach
19a597bcae add lto for cmake 2023-06-01 12:36:08 +07:00
Ha Thach
1ef820ecfe Enhance chipidea (#2075)
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead
* add dcd dcache for chipidea
* add cmake for lpc18
* add makefile build for mcx
* use fork of mcu sdk
* fix ci build with nrf
* flash rp2040 with openocd
2023-05-23 21:45:00 +07:00