Commit Graph

213 Commits

Author SHA1 Message Date
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
hathach 496c7c701a fix ci 2020-11-09 01:23:19 +07:00
hathach 4d57b4ea33 clean up 2020-09-05 13:57:07 +07:00
hathach 5fb3d439b3 update ci to also build host example 2020-09-04 01:32:30 +07:00
hathach a0f6fa4e06
update ci script 2020-07-19 14:19:39 +07:00
hathach 706413f751 add tud_speed_get()
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
hathach 4265dfb2de minor clean up 2020-04-07 21:47:24 +07:00
hathach 353aa80814 add ci build_esp32s.py 2020-04-07 16:49:17 +07:00
hathach aff52919d6 skip freertos example for cxd56 msp430 and fomu 2020-04-07 16:23:27 +07:00
hathach f073a5ecd3 CI: seperate esp32s2 into different job
skip esp32s in build_all.py script
2020-04-07 11:15:59 +07:00
hathach a344427e3f fix CROSS_COMPILE for esp32s2 2020-04-06 20:39:20 +07:00
hathach 0814bd9948 minor clean up 2020-04-03 12:39:57 +07:00
hathach 7c33a7127f make as wrapper to idf.py for consistency
update ci build script to only build esp32-s2 target with freertos
examples
2020-04-03 12:08:06 +07:00
hathach ff9ceb65d2 doc update 2020-04-01 20:56:46 +07:00
hathach a3e50242b9 add dcd_esp32s2
skip esp32s2_saola for make build since idf use cmake
2020-04-01 17:07:28 +07:00
hathach d74a92bf45 makefile clean up
allow board to define CROSS_COMPILE (default to arm gcc)
2020-03-25 14:06:51 +07:00
hathach 4e6d464c7a add cdc_msc_freertos to ci 2020-03-11 10:25:46 +07:00
hathach ec4323277d fix ci 2020-03-09 17:55:31 +07:00
hathach 6f5466f017 add Flash & Ram to ci build result 2020-03-09 17:42:57 +07:00
hathach 85a3315a99 Adding lwip_webserver to ci
- buil_al.py skip specific MCU if .skip.MCU_ exists
- reduce stm32f070 heap & stack size to compile webserver
2020-03-09 15:51:29 +07:00
hathach 019d1b09c5 try to trigger mynewt example 2020-01-03 17:11:22 +07:00
hathach 2caa1ac078 Merge branch 'master' into develop 2019-12-24 21:13:05 +07:00
hathach a1c94067f7 add driver 99-tinyusb.rules for ubuntu, rename window usbser inf 2019-12-23 19:48:52 +07:00
hathach 988edce745 fix build 2019-12-09 18:49:38 +07:00
hathach 9fe34c2e62 update build all script to build a specific 2019-11-21 16:37:34 +07:00
hathach 6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
hathach 7599541c1a rename cdc_msc_hid to cdc_msc, hid has its own example hid_composite now 2019-09-11 13:09:14 +07:00
hathach e5e73ed76c drop board_* in bsp c file
move hw/cmsis to hw/mcu/nordic since only nrf uses it.
2019-08-23 23:35:55 +07:00
hathach aa7ff56166 format travis build 2019-08-08 12:20:41 +07:00
hathach 92134b5ef2 clean up build script 2019-07-11 23:52:58 +07:00
hathach ae930dce83 more travis 2019-07-08 18:03:48 +07:00
hathach 6a8465384b include midi_test in travis build 2019-07-03 00:55:33 +07:00
hathach 6861b670fc add uf2 target for uf2 bootloader board: metro m0/m4 feather nrf52840 2019-05-20 12:35:33 +07:00
hathach 22d8479299
update travis build script 2019-05-15 18:11:08 +07:00
hathach 3278a9765b
ea4357 build with makefile, add to travis 2019-05-15 18:01:58 +07:00
hathach 15076006ca
ea4088 quickstart build with makefile 2019-05-15 17:24:21 +07:00
hathach 1491274cb4
mcb1800 work with makefile, add to travis build 2019-05-15 16:20:43 +07:00
hathach 352a02c305
add lpc1769 to travis device example build 2019-05-15 12:58:59 +07:00
hathach 2e07a09b0d
add makefile support for lpcxpresso1347 2019-05-14 18:34:57 +07:00
hathach b55c34564e
add lpcxpresso11u68 to travis build 2019-05-14 17:53:00 +07:00
hathach 6e4dc2f23d adding msc Start Stop to buitin command, but not complate yet
add tud_msc_start_stop_cb() as optional callback
2019-05-06 16:48:50 +07:00
hathach 49ad6fe0ac update travis build, make with 4 thread 2019-05-03 14:02:22 +07:00
hathach a55875522c reduce travis make thread to 2 2019-05-03 13:56:52 +07:00
hathach 3290e009df update travis build 2019-05-02 19:01:25 +07:00
hathach 6446b02ae7 add hid_test.py for testing #58
add feather nrf52840 express to supported board
2019-05-02 18:10:06 +07:00
hathach f9d9eebfe1 support hid generic inout #58
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach d204ae27fa update build script 2019-05-01 16:04:41 +07:00
hathach 30cc042f6e
include msc_dual_lun example to travis 2019-04-26 15:55:00 +07:00
hathach 1e9848d917
replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
- remove dcd_edpt_stalled() from dcd porting
2019-03-27 16:09:49 +07:00
hathach df1aac44b8
add board_noos_millis() for blinky 2019-03-23 16:51:07 +07:00
hathach 4647ad8136
clean up 2019-03-20 14:41:35 +07:00
Scott Shawcroft bf70f89240
Introduce a Makefile for the OS_NONE device example
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
hathach 14cebcb5f5 remove tools/usbtreeview 2018-10-23 11:42:49 +07:00
hathach c3b082ab20 add tusb_usbser.inf for windows 2018-07-25 14:07:27 +07:00
hathach 19963ca611 clean up 2018-06-19 15:08:31 +07:00
hathach 32d4b6518c move tools.md to tools/readme.md 2014-04-16 12:05:14 +07:00
hathach 1ad78f104e refractor hid device driver 2013-12-02 14:17:51 +07:00
hathach 92646ebadb add UsbTreeView to tools folder 2013-10-16 12:15:24 +07:00