Commit Graph

18 Commits

Author SHA1 Message Date
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
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
19f1080e38 fix make build due to clang changes 2024-04-24 22:41:22 +07:00
hathach
82880eecbd make nanolib linking explicitly by each family/board 2023-11-23 12:43:13 +07:00
HiFiPhile
b9e614bd39 Fix LPC54 build. 2023-08-06 15:59:25 +02:00
HiFiPhile
4f96eebe1b Fix LPC54 build. 2023-08-06 13:41:10 +02:00
hathach
eb7fcf1b74 add CPU_CORE for all family 2023-06-24 18:38:41 +07:00
hathach
ad39833ea4 fix build with nxp since mcux-sdk from 2.13.0 remove CMSIS folder 2023-04-26 22:10:13 +07:00
hathach
ffdffc7e06 rename FREERTOS_PORT to FREERTOS_PORTABLE_SRC
also fix trailing spaces
2023-03-16 23:11:11 +07:00
hathach
05e0205ad0 Merge branch 'master' into renesas-ra 2023-03-08 21:05:06 +07:00
Rafael Silva
2a17a7e8f8 rework make freertos port handling
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible

Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
hathach
99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
hathach
fdda9f75db add lpc54628 but usb clock;phy doesn't seem to be right 2021-04-28 23:25:07 +07:00
hathach
8a9f412788 fix lpc54 button 2021-04-28 22:34:56 +07:00
hathach
71a1f57ccd generalize lpc54 family 2021-04-28 21:34:26 +07:00
hathach
9a6552c4b3 fix build with lpc54 2021-04-28 20:02:17 +07:00
hathach
af0db342df update lpc mcu sdk path 2021-04-28 18:30:19 +07:00
hathach
3da76ae449 making new family lpc54 2021-04-28 16:13:43 +07:00