Commit Graph

207 Commits

Author SHA1 Message Date
hathach 8af8869d3b
renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXX
fix build util with makefile
2023-06-16 11:26:38 +07:00
hathach bce282186e
update kinetis kl to use mcx-sdk, also add cmake support
note: cdc_msc_freertos built but does not seems to work with kl
2023-06-14 22:36:44 +07:00
Martino Facchin cdbd3a0b4e Merge remote-tracking branch 'mainline/master' into HEAD
Update fsp to 4.0.0
2023-06-05 09:12:50 +02:00
hathach 2016ad72f3
fix iar ci 2023-06-02 16:21:49 +07:00
hathach c2bc363f06
build g0 g4 iar cmake 2023-06-02 16:11:00 +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 6b44d8fb55
add cmake support for g0, exlicitly call HAL_Init() and also HAL_IncTick() in systick irq, fix button active state. 2023-06-01 15:58:02 +07:00
hathach af59864ab5
Merge branch 'master' into feature/STM32G0 2023-06-01 13:28:28 +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 05cc342dfa
update deps, rename kinetis_k32 to k32l 2023-05-26 15:45:55 +07:00
hathach 7a3d7a7c23
cmsis_5 missing mcx and imxrt 2023-05-25 16:17:41 +07:00
hathach 5a0c2bd638
update get_deps.py to support geting family as argument 2023-05-25 16:11:57 +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 9f0bae4c3f
fix freertos build with nrf 2023-05-19 18:04:08 +07:00
hathach 270136e84a
adding cpu core .mk for makefile
fix cortex m33 for nrf5340 dk
2023-05-19 16:02:26 +07:00
hathach e8dd200fed
move cmake folder to tools/ 2023-05-19 14:46:39 +07:00
hathach 116a258858
fix nrf build 2023-05-16 10:14:00 +07:00
hathach 792cf95f2d
revert ci gcc to 11.2, update nrfx to version 2.11 2023-05-15 23:35:29 +07:00
HiFiPhile f1bef8d8dd
Merge pull request #2057 from abakosh/develop
fix(iar_template.ipcf): add missing portable links, and delete the us…
2023-05-12 13:15:19 +02:00
HiFiPhile 9c1918fe46
Remove deprecated dcd_synopsys 2023-05-12 13:13:42 +02:00
hathach 8e3bdd2391 add python script to help building cmake, build all imxrt boards with ci 2023-05-10 13:09:15 +07:00
Aladdin Bakosh 4be7546372 fix(iar_template.ipcf): add missing portable links, and delete the usbh_control.c from the list 2023-05-08 15:57:34 +02:00
Martino Facchin 161c95f1b7 renesas: update fsp to 4.0.0 2023-05-04 14:42:32 +02:00
hathach 629717cd13 fix cmake build 2023-05-04 16:38:06 +07:00
hathach 841a62170e bump up imxrt mcux-sdk to 2.13.1 commit f357a1150f6cf6c6b844f53f2d426bfb3e649850 2023-04-24 16:54:26 +07:00
hathach 11e1aff389 update freeRTOS kernel to latest for library cmake
add per family freeRTOSConfig.h also make changes to build with
freertos_kernel cmake
- hard coded configPRIO_BITS based on family
- change configSUPPORT_STATIC_ALLOCATION to 0,
configSUPPORT_DYNAMIC_ALLOCATION to 1
- enable configRECORD_STACK_HIGH_ADDRESS for tracing
- enable INCLUDE_xTaskGetCurrentTaskHandle which is required to compile
stream_buffer (although we don't use it).
2023-04-21 20:55:44 +07:00
HiFiPhile 152a22f3ee Update lib & template. 2023-04-14 16:05:56 +02:00
hathach 5ef260d5fc fix build for esp32 2023-04-03 17:44:05 +07:00
hathach 641613c428 update all cmake for esp32 build 2023-03-30 10:41:11 +07:00
hathach 96718b7ca0 merge s2 and s3, update cmake for espressif, add tinyusb_src as component 2023-03-30 00:31:26 +07:00
hathach 71fb6469d4 separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN to
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
- CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN
- fix missing mem section and align for host
2023-03-24 14:05:21 +07:00
hathach f80d11301e
update doc and generate deps list 2023-03-23 16:33:35 +07:00
hathach f27486e19a add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t 2023-03-22 10:00:42 +07:00
hathach b2568eb02b
bump up mm32sdk to fix HSE_VALUE not 8Mhz warnings 2023-03-17 20:22:08 +07:00
hathach 1ed04ad05d
update mm32sdk with idndef for SYSCLK_FREQ_XXMHz and SYSCLK_HSI_XXMHz
add HSE_VALUE define for each board with 8mhz, 12mhz accordingly
2023-03-17 19:46:22 +07:00
hathach a4b17483b9
fix ci build with fomu 2023-03-17 17:01:56 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach 323a56e309
bump up freeRTOS deps to version 10.5.1 2023-03-17 15:39:59 +07:00
hathach 6763521ec7
remove all submodules 2023-03-17 15:31:41 +07:00
hathach 511f5be8b3
bump up pico-pio-usb dependency 2023-03-17 14:46:34 +07:00
hathach e045995407 minor update get_deps 2023-03-11 08:54:51 +07:00
hathach 4065ca3fca Merge branch 'master' into renesas-ra 2023-03-11 08:40:36 +07:00
hathach cae05c6593 update get-deps.py 2023-03-11 08:33:08 +07:00
hathach 7428a16d2d remove ra submodules 2023-03-11 08:23:21 +07:00
hathach 7c9bd81eca update deps script 2023-03-10 22:56:42 +07:00
hathach d41320a42e adding python script to manage dependencies instead of submodule 2023-03-10 20:49:11 +07:00
hathach 76f43a7a16
starting to remove submodule cmsis5 and nrfx 2023-03-10 19:23:23 +07:00
hathach 9e0ae5f29d
improve ci 2023-03-08 12:15:39 +07:00
hathach e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +07:00
hathach b6404d143e
clean up top 2023-03-06 13:03:55 +07:00
hathach 9930863b41
fix iar ci 2023-03-06 12:45:47 +07:00
hathach 956d1c9c4e
update size to fix macos ci 2023-03-06 10:33:04 +07:00
hathach b4ef98cbdc
fix ci build on windows 2023-03-05 10:57:16 +07:00
hathach 9a8a9359e4
use make abspath intead of shell realpath 2023-03-03 15:55:34 +07:00
hathach 7e48da5b44
update version to 0.15.0
add changelog
2023-02-10 12:47:48 +07:00
Ha Thach 7166bb3643
Merge pull request #1876 from hathach/support-iar
Support iar build
2023-01-30 22:05:21 +07:00
Ha Thach 8681dbb7a2
Merge pull request #1870 from DRNadler/WindowsBuildFix
Windows build fix for some mingw gnu make situations
2023-01-30 17:23:50 +07:00
hathach 39eb1ce70e minor clean up 2023-01-30 17:21:48 +07:00
hathach 6257123157 Merge branch 'master' into support-iar 2023-01-30 16:44:22 +07:00
Nathaniel Brough 02f1f05697 feat(fuzz): Adds seed corpus for cdc and msc classes 2023-01-29 09:38:05 -08:00
Dave Nadler 9b6ef4fcbc When tools/top.mk finds it is running on Windows, it expects SHELL set to cmd.exe.
Some Windows development environments invoke a mingw version of gnu make
with SHELL set to /bin/sh or /bin/bash (either explicitly or by default),
in which case tinyUSB make fails when a $(shell...) command feeds DOS syntax to sh.
We can't just use sh, as many Windows environments won't have unix utilities
like realpath (used by this makefile for sh shell commands).

This fix forces SHELL=cmd.exe on Windows and documents the issue.
Also adds additional documentation to help the next person...

With this fix, tinyUSB can be easily built and debugged in environments like
NXP's MCUxpresso (import as a makefile project).
2023-01-22 12:11:50 -05:00
hathach c86e628a4c update build script to support iar with CC=iccarm option 2023-01-17 23:37:00 +07:00
hathach 53db23142a add get-dependencies.py 2022-07-01 17:23:14 +07:00
hathach 5323472afd update get-deps for ci 2022-07-01 16:37:34 +07:00
hathach 8f9ecace4d
update build_board.py to parallel build 2022-06-29 21:06:02 +07:00
hathach d5d5a6437c
more parallel ci 2022-06-29 18:23:45 +07:00
hathach 8d07ea7ce5
build_family.py in parallel 2022-06-29 16:39:19 +07:00
hathach 4da1a9359d fix build with fomu/fomu 2022-06-29 15:12:01 +07:00
hathach 8fe9022a6e fix buid_board.py script 2022-06-29 14:06:44 +07:00
hathach 993f7b6a2c include dual examples to ci 2022-05-10 13:15:07 +07:00
Ha Thach 7de166390e
Merge branch 'master' into master 2022-01-25 22:29:05 +07:00
Scott Shawcroft 7b27b8f498
Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
Scott Shawcroft 4fe0a30ec7
Skip net and freertos examples 2022-01-05 14:33:24 -08:00
Yunhao Tian 75f7fb3d9d Add mksunxi tool to make flashable image 2021-12-07 22:53:52 +08:00
Mengsk 225e718270 Update iar project template. 2021-11-25 17:27:33 +01:00
MasterPhi a754205acb Rename iar.ipcf to iar_template.ipcf 2021-09-07 12:32:17 +02:00
MasterPhi 51dddf63fa Add IAR project connections. 2021-09-03 18:26:39 +02:00
hathach a05ea0d83b add CFG_EXAMPLE_MSC_READONLY for curiosity
allow family/board to exclude specific example. exclude
net_lwip_webserver from curiosity.
2021-08-29 22:53:16 +07:00
Alex Lisitsyn f5e02e72ed espressif: group boards using target name as a family
`hw\bsp` separate one family folder to esp32s2, esp32s3
add board specific board.cmake file to override board specific options(features)
fix examples and test scripts to use new family approach
2021-04-16 15:41:42 +02:00
Alex Lisitsyn 2f0cb8b5f1 tinyusb: add support of esp32s3 target
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
hathach 4a73b6a219 update doc for BOARD name, add note for udev on Linux 2021-03-10 11:23:44 +07:00
hathach 4c31a29ff0 update doc, skip board_test in esp32s2 ci 2021-03-04 12:35:43 +07:00
hathach 908a3d128f fix ci build for rp2040 2021-03-01 21:34:45 +07:00
hathach 1abf9eeb80 clean up rp2040 assigned_address, remove panic from remote_wakeup 2021-01-27 13:18:03 +07:00
hathach c2d8aa0584 limit artifact to only uf2 for now
due to the large size of combined binaries of all boards + all examples
2021-01-26 22:04:20 +07:00
hathach e230d683ca add copy-artifact target, and add uf2 for all family board 2021-01-26 21:19:14 +07:00
hathach 0e585570a3 rename build output 2021-01-25 23:40:52 +07:00
hathach ed280e3ec1 correct ci scripts 2021-01-25 12:21:50 +07:00
hathach 87daf28421 rp2040 skip freertos example 2021-01-24 01:26:38 +07:00
hathach 959a94b98d rp2040 audio_test compile 2021-01-24 00:44:17 +07:00
hathach cdd1c45306 improve ci for esp32s2 2021-01-23 18:09:57 +07:00
hathach 575b43e67d seperate ci build for family and orphaned boards 2021-01-23 17:32:24 +07:00
hathach 0cf2b02791 Merge branch 'master' into group-boards-into-family 2021-01-22 11:17:10 +07:00
hathach 2b3008f9a8 fix esp32s2 ci build 2021-01-22 09:41:41 +07:00
kkitayam d7cfd8b91d replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files.
2021-01-14 01:19:43 +09:00
hathach ffe0fc7537 update build_all.py to support both single board and family group 2021-01-13 17:34:22 +07:00
kkitayam 8fa083d79e added support for cmd.exe as a shell on make. 2021-01-11 15:56:16 +09:00