Commit Graph

1111 Commits

Author SHA1 Message Date
4bd47bcb99 disable bad gcc 6 warning 2022-07-12 13:29:47 -05:00
fc1a27b6c9 RP@040: rework CMake for compiler warnings 2022-07-12 12:58:30 -05:00
0bfb9d62de Merge pull request #1543 from robert-hh/1170_0.13.0
mimxrt: Change the definitions for MIMXRT boards.
2022-07-11 15:53:24 +07:00
6da1e93edd fix rt1050 evk build with latest mcu-sdk 2022-07-11 14:21:19 +07:00
19768936ae bump up mcux-sdk for rt11xx, add back OPT_MCU_MIMXRT11XX 2022-07-11 14:01:18 +07:00
ecb899408b Merge pull request #1544 from hathach/ci-parallel-build
Ci parallel build
2022-07-01 20:52:46 +07:00
53db23142a add get-dependencies.py 2022-07-01 17:23:14 +07:00
ec6f56768a mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
60c1750a9b mimxrt: Add/change definitions for MIMXRT11XX boards.
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
023191be23 Let to define CFG_BOARD_UART_BAUDRATE in CMake 2022-06-29 20:28:22 +01:00
19956f070d Merge pull request #1539 from hathach/improve-ci
Improve ci
2022-06-29 16:27:17 +07:00
158b3d761d fix xmc4000 build 2022-06-29 15:27:24 +07:00
5a378703fb fix end symbol for samx7x and same5x 2022-06-29 15:05:09 +07:00
a62c2640b5 remove redundant rp2040 boards, all boards supported by pico-sdk already supported 2022-06-29 14:08:01 +07:00
8fe9022a6e fix buid_board.py script 2022-06-29 14:06:44 +07:00
898b52be45 update rp2040 warnings
- remove "-Wno-stringop-overflow -Wno-array-bounds"
- skip -Wconversion for gcc 9 and prior
- suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-28 16:27:44 +07:00
83602ea123 Merge branch 'master' into rp2040_warning 2022-06-28 13:34:47 +07:00
4057c2d8d9 rework suppress_tinyusb_warnings
* gcc 9.2.1 has some spurious -Wconversion warnings
* cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples)
* fixed a few warnings in a couple of examples
2022-06-27 22:43:41 +01:00
b9dc9dbd78 fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
0042eccb3b fix redundant-decls warnings by usbd/usbh 2022-06-24 22:52:11 +07:00
1d6918ce41 suppress redundant-decls warnings for freertos examples 2022-06-24 21:53:46 +07:00
835ab01cab fix stm32 g4 and wb build issue with freertos, also add them to ci build 2022-06-24 21:52:51 +07:00
4f6e770eda add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused,  -Wredundant-decls
2022-06-24 19:46:19 +07:00
4639cac85c Merge pull request #1526 from ccrome/chc-add-teensy-41
Added The Teensy 4.1 board
2022-06-22 11:22:44 +07:00
742b99f689 Added The Teensy 4.1 board
The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash
on the Teensy 4.0.  This largely doensn't matter for TinyUsb, except
when you attempt to access any memory in the flash above the 2MB
boundary, when it fails with a hard fault.
2022-06-21 11:12:39 -07:00
2f7f3e604e Re-add some warning suppression for rp2040 2022-06-17 12:54:28 -05:00
8cbc34de11 add tuh_configure() for port/dynamic host behavior config 2022-06-08 01:17:01 +07:00
1b08672945 more ci fix 2022-06-06 13:25:48 +07:00
7187cd9a85 fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsp 2022-06-06 12:51:10 +07:00
2571211957 remove static port defined for device/host 2022-06-03 11:32:09 +07:00
8b9cf152a0 rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
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
26c4d4b328 Minor cleanup of RP2040 code post addition of Pico-PIO_USB
* Removed some compiler warnings, and cleaned out unnecessary warning suppression from CMake suppress_tinyusb_warnings()
* Made explicit family_configure_dual_usb_example() for DUAL mode examples as family_configure_target() may not generally be called multiple times for the same target

* Renamed library pico_pio_usb to tinyusb_picio_pio_usb to be clearer and avoid conflict if someone already has a pico_pio_usb in their project
* Added family_add_pico_pio_usb() method for adding Pico-PIO_SUB support to an existing example
* Allowed tinyusb_pico_pio_usb to be added to regular apps using the Pico SDK
2022-05-20 17:25:30 -05:00
c2bcda86e2 Merge pull request #1412 from hathach/pio-host
PIO USB support
2022-05-16 16:29:20 +07:00
4586d8f119 add upstream Pico-PIO-USB 2022-05-16 13:44:06 +07:00
35b77a4a81 cmake lib rename 2022-05-10 22:14:00 +07:00
717a474125 move pio-usb init to family_configure_pio_usb_example() to stay compatible 2022-05-10 21:56:47 +07:00
26ee622222 move pio usb files to src 2022-05-10 12:51:48 +07:00
f19d913b5d set irq priority for freertos 2022-05-05 22:29:12 -07:00
0b30a10ab3 configure hid_to_cdc example to build with rp2040 with pio usb as host 2022-04-29 22:24:36 +07:00
4a661dead0 add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section 2022-04-27 17:57:52 +07:00
12debd7763 keep up with pio usb 2022-04-22 01:06:17 +07:00
98bbb0d402 Merge branch 'master' into pio-host 2022-04-21 12:05:22 +07:00
cc5a4720e5 catch up with pio lib 2022-04-14 22:00:47 +07:00
d5d4909c20 proof of concpet that device pio-usb work with host pio-usb 2022-04-08 13:36:05 +07:00
c25f835aea update to use pio hw endpoint 2022-04-01 23:31:43 +07:00
db6cba6a7b rename pio to pio_usb 2022-04-01 16:38:41 +07:00
e2f0aef93b make use pio_usb_port_reset_start/end 2022-03-30 16:41:55 +07:00
735300b53c remove cxd56 __pycache-_ folder 2022-03-28 12:47:32 +07:00
45052c625e Merge branch 'master' into pio-host 2022-03-20 00:51:00 +07:00