Commit Graph

74 Commits

Author SHA1 Message Date
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
hathach
d221d55b08 fix pre-commmit 2025-04-29 21:41:34 +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
6b3a5957c2 cmake remove EXAMPLE-tinyusb target as library 2025-01-25 16:08:40 +07:00
hathach
b53801a8ac add cmake RTOS=zephyr (default noos) for zephyr build 2025-01-24 15:06:05 +07:00
hathach
6080f89f3d - change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict with zephyr
- change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2025-01-22 22:31:08 +07:00
hathach
6a36c74b10 embed metadata to family.c and board.h to generate supported boards doc 2024-12-27 09:11:09 +07:00
HiFiPhile
0074ed7c67 Add bin & hex output to cmake targets. 2024-11-30 21:50:50 +01:00
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
HiFiPhile
f48a4567a6 Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb 2024-07-28 11:59:52 +02:00
HiFiPhile
fbe025190c Make FreeRTOS config work with Cortex-M33. 2024-06-27 20:46:44 +02:00
HiFiPhile
b82e0a9f1e update lpc55 bsp for rtos use. 2024-06-27 20:44:40 +02:00
HiFiPhile
a7762ff82e LPC55 : Use PLL clock for better precision, allows easier UAC testing. 2024-04-26 20:11:09 +02:00
hathach
19f1080e38 fix make build due to clang changes 2024-04-24 22:41:22 +07:00
hathach
3fd82cfe22 clang work with lpc55 2024-04-23 10:57:45 +07:00
hathach
1a3f5f7a09 update FreeRTOSConfig.h
- remove configAssert()
- configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18 20:33:43 +07:00
hathach
7213b8abb1 move tools/cmake to examples/build_system 2023-11-23 20:06:22 +07:00
hathach
82880eecbd make nanolib linking explicitly by each family/board 2023-11-23 12:43:13 +07:00
hathach
fbf64b122d switch freertos to static allocation only (dynamic = 0), since it is possible now with latest freertos cmake 2023-11-16 22:12:38 +07:00
hathach
1268d1a093 update hil test and json (remove troublesome lpc54608), run hil test on ci with IAR build 2023-08-09 18:46:23 +07:00
hathach
6d877c3170 added cmake for lpc54, update lpc55 2023-08-08 18:50:24 +07:00
hathach
a5768f52b4 more board_api.h rename 2023-08-03 15:50:52 +07:00
hathach
473f37df95 add osal queue name if needed
also mass change configQUEUE_REGISTRY_SIZE = 4
2023-08-03 12:05:21 +07:00
hathach
e43387abac rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
hathach
2ecd7c148d fix ci with lpc55 and kl, move hw test l4 to cmake iar 2023-06-25 09:55:05 +07:00
hathach
eb7fcf1b74 add CPU_CORE for all family 2023-06-24 18:38:41 +07:00
hathach
e754795d3a fix build warnings 2023-06-16 15:29:34 +07:00
hathach
a7f330fa94 fix build, update freertos config for cmake 2023-06-16 14:17:25 +07:00
hathach
bb795e6a5e update cmake to build with IAR for g0 and g4 2023-06-02 15:26:16 +07:00
hathach
fcf7791454 add IAR support for G0 with cmake 2023-06-02 13:27:18 +07:00
hathach
e7090c7514 cmake refactor 2023-06-02 11:42:17 +07:00
hathach
19a597bcae add lto for cmake 2023-06-01 12:36:08 +07:00
hathach
7ac85d08c7 move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make 2023-05-26 16:37:47 +07:00
hathach
c0ecf8b50f move set TOP to family_support.cmake 2023-05-26 14:56:22 +07:00
hathach
4c9605910f update cmake with freertos 2023-05-25 21:27:26 +07:00
hathach
5fea010406 add family_support_configure_common() 2023-05-25 17:27:05 +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
hathach
49d8d27770 improve flash target 2023-05-19 16:27:07 +07:00
hathach
e8dd200fed move cmake folder to tools/ 2023-05-19 14:46:39 +07:00
hathach
9fd0fee458 adding nrf 2023-05-15 14:25:42 +07:00
Ha Thach
a57ba87859 revert family.mk 2023-05-13 13:24:00 +07:00
hathach
dbcef41f95 add support for other lpc55 boards 2023-05-13 13:24:00 +07:00
hathach
2c745d1b1e able to build lpc55 2023-05-13 13:23:59 +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
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +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
Bastien Nocera
6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
hathach
e3b7ed9ae9 use dummy for all ZLP for ip3511, fix lpc55 build with DEBUG=1 2022-10-24 18:43:21 +07:00
hathach
7187cd9a85 fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsp 2022-06-06 12:51:10 +07:00