Commit Graph

5464 Commits

Author SHA1 Message Date
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
Scott Shawcroft 84e2df51be
Split by compiler for testing 2022-01-05 14:11:39 -08:00
Scott Shawcroft a79ffeb764
Add Raspberry Pi Zero W and Zero 2 W
These are different Broadcom chips. The peripherals are essentially
the same. The main differences are:
* The CPU(s)
* The interrupt controller
* The peripheral base address (but not the peripherals that we use)
2022-01-05 13:47:01 -08:00
Ha Thach 868948f67c
Merge pull request #1264 from kasjer/kasjer/make-files-for-xc32
build system: Changes for xc32 compiler
2021-12-31 19:22:52 +07:00
Ha Thach c8641ee940
Merge pull request #1263 from kasjer/kasjer/mynewt-eptri
Fix Mynewt build for Microchip PIC32MZ devices.
2021-12-30 22:48:11 +07:00
Jerzy Kasenberg 7a596b9e55 Fix Mynewt build for Microchip PIC32MZ devices.
definition of DEBUG breaks Microchip pic32 builds for Mynewt.
When MCU is not VALENTYUSB_EPTRI there is no need to have any
preprocessor definitions.
It may not look like a big deal but for xc32 builds, compiler
automatically force-includes some file that have structure with field name
DEBUG that result in build error in dcd_eptri.c when this file
is not really needed.

Moving DEBUG and LOG_USB few lines down should not break eptri builds.
2021-12-27 10:14:38 +01:00
Jerzy Kasenberg 5c5ecea6f1 build system: Changes for xc32 compiler
Three changes are needed to accommodate xc32 compiler build:
- optimized build flag other than -Os
   added CFLAGS_OPTIMIZED that defaults to -Os but can be overridden in boards
- build without -lnosys
   added LIBS_GCC with default libraries that can be changed in boards
- build without LD_FILE specification
   if LD_FILE is empty -Wl,-T options is not added to LDFLAGS
2021-12-27 10:11:56 +01:00
Ha Thach a6789b5d5a
Merge pull request #1260 from leptun/patch-1
Fix typo
2021-12-23 11:30:15 +07:00
Alex Voinea 103817b8b6
Fix typo
Oops. Made a typo in 6de423606f
2021-12-22 22:56:53 +02:00
Ha Thach 557eb51405
Merge pull request #1258 from leptun/nucleo-f439zi
nucleo-f439zi support
2021-12-22 13:25:16 +07:00
Alex Voinea 6de423606f nucleo-f439zi support 2021-12-21 18:24:05 +01:00
Ha Thach a4cfd1c69a
Merge pull request #1255 from hathach/add-s3-devkitm
Add s3 devkitm & devkitc
2021-12-21 01:07:54 +07:00
hathach 311248c8b0 add s3 devkitc 2021-12-21 00:10:38 +07:00
hathach 63310d72e1 skip ci for s3 2021-12-21 00:04:50 +07:00
hathach a442679459 change ci to s3 to espressif_s3_devkitm 2021-12-20 23:55:04 +07:00
hathach 2ab3988d9f add s3 devkitm 2021-12-20 23:54:28 +07:00
Ha Thach 693b6886b1
Merge pull request #1252 from mkj/staticuart
samd21: make uart_init() static
2021-12-20 20:05:08 +07:00
Matt Johnston 9b2e78c915 samd21: make uart_init() static
Avoids a linker conflict if programs are using the same function name.
2021-12-20 15:43:16 +08:00
Ha Thach cadfcd153e
Merge pull request #1244 from nxf58843/feature-kuiic
Feature kuiic
2021-12-16 17:57:06 +07:00
Greg Steiert 14ea32a117 Merge branch 'feature-kuiic' of https://github.com/nxf58843/tinyusb into feature-kuiic 2021-12-15 14:21:09 -08:00
Greg Steiert 469ecdd28c added KUIIC to supported boards list 2021-12-15 14:18:27 -08:00
nxf58843 51e24dd4f8
Merge branch 'hathach:master' into feature-kuiic 2021-12-13 08:59:17 -08:00
Greg Steiert 04fd8673cd Merge branch 'master' of https://github.com/hathach/tinyusb into feature-kuiic 2021-12-13 08:56:58 -08:00
Ha Thach dd30f2c648
Merge pull request #1243 from hathach/g4-nucleo
Add G4 support
2021-12-13 23:56:13 +07:00
Greg Steiert c5416aa6aa Merge branch 'master' of https://github.com/hathach/tinyusb into feature-kuiic 2021-12-13 08:56:01 -08:00
hathach d097178ab0
correct wiring note 2021-12-13 17:59:43 +07:00
hathach 69bdd703c2
update doc to include g4 2021-12-13 17:53:38 +07:00
Ha Thach bfb5e32e1f
Merge pull request #1233 from vmilea/rp2040_bugfix/ep_close
Handle the closing of endpoints on RP2040
2021-12-09 23:38:17 +07:00
hathach 51acc3e1b9 update g4 bsp 2021-12-09 12:42:08 +07:00
Greg Steiert e72a6e90b9 added support for building uf2 file 2021-12-08 15:24:14 -08:00
Greg Steiert 59dcf2062f adding support for KUIIC board 2021-12-08 14:31:44 -08:00
Ha Thach 6bf7fba2a4
Merge pull request #1221 from kasjer/kasjer/fix-nrf5x-vbus-race-condition
nrf5x: Fix race condition during startup
2021-12-09 00:44:44 +07:00
Valentin Milea ae970ba2e2 Handle xfer events before closing EP 2021-12-08 12:34:00 +02:00
Jerzy Kasenberg 21db2351fd nrf5x: Fix race condition during startup
When NRF5x device is reset by software (after DFU for example),
power event is ready from the beginning.
When power interrupt is triggered before tud_init() finished
USBD_IRQn is enabled before it would be enabled in tud_init().
This in turn may result in BUS RESET event being sent from
USB interrupt to USB task when queue is not initialized yet.
This scenario often happens in Mynewt build where queue creation
takes more time.

To prevent this scenario USBD_IRQn is not enabled in power event
interrupt handler before dcd_init() was called.
2021-12-08 08:27:27 +01:00
hathach cd76193f3c try updating clock configure for g4 nucleo (not work yet) 2021-12-08 10:37:46 +07:00
Valentin Milea 36e69b86bf Remove buffer reclaim logs 2021-12-07 15:35:30 +02:00
Ha Thach cde824f17f
Merge pull request #1222 from scoudreau/swo_logger
Remove unused-parameter errors when LOGGER=swo
2021-12-07 19:53:27 +07:00
Ha Thach c157837878
Merge pull request #1213 from kkitayam/add_hcd_for_msp_exp432e401y
Add a HCD driver for MSP-EXP432E401Y
2021-12-07 19:24:41 +07:00
hathach a5251cb86b skip host ci for tm4c due to sram overflow 2021-12-07 17:14:20 +07:00
hathach 8e0400d531 change uart baudrate for tm4c123 to 115200 2021-12-07 16:28:24 +07:00
hathach 03835c8183 move hcd_musb.c include to family.mk 2021-12-07 16:27:48 +07:00
Ha Thach f8288be03f
Merge pull request #1227 from kkitayam/fix_dcd_musb_buffer_overrun
Fix buffer overrun in dcd_musb driver
2021-12-06 00:43:25 +07:00
Valentin Milea 48e1f6d899 Handle the closing of endpoints on RP2040 2021-12-04 16:04:48 +02:00
kkitayam 7137a0a92f Fix buffer overrun at pipe_read_packet() 2021-12-04 01:25:34 +09:00
kkitayam 81285273a6 Fix memory overrun at pipe_read_packet() 2021-12-04 01:18:42 +09:00
Ha Thach 6ecd93eb60
Merge branch 'master' into add_hcd_for_msp_exp432e401y 2021-12-03 00:30:09 +07:00
Ha Thach 3e9bb3bee1
Merge pull request #1225 from perigoso/doc-requirements
after commit: eae4132 this dependency is no longer required
2021-12-03 00:27:37 +07:00
Rafael Silva c52c9cda91 after commit: eae4132 this dependency is no longer required
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-12-02 10:24:19 +00:00
Ha Thach 6f0c2cf0d8
Merge pull request #1224 from hathach/chipidea-controller
rename transdimension to chipidea
2021-12-02 14:10:24 +07:00