5938 Commits

Author SHA1 Message Date
graham sanderson
fc1a27b6c9 RP@040: rework CMake for compiler warnings 2022-07-12 12:58:30 -05:00
Ha Thach
1a8c3a863b
Merge pull request #1552 from hathach/fix-old-gcc
Fix warnings when compiling rp2040 with older version of gcc
2022-07-12 11:08:19 +07:00
hathach
4ea27acd1d minor update to webusb serial example 2022-07-12 01:55:33 +07:00
hathach
345558307d fix incorrect null-dereference warnings when compiling with gcc7 2022-07-12 00:50:52 +07:00
hathach
bb5dbd2da8 only enable warnings with approriate gcc version for rp2040 2022-07-11 23:57:34 +07:00
Ha Thach
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
hathach
6da1e93edd
fix rt1050 evk build with latest mcu-sdk 2022-07-11 14:21:19 +07:00
hathach
19768936ae
bump up mcux-sdk for rt11xx, add back OPT_MCU_MIMXRT11XX 2022-07-11 14:01:18 +07:00
Ha Thach
ecb899408b
Merge pull request #1544 from hathach/ci-parallel-build
Ci parallel build
2022-07-01 20:52:46 +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
12341118e3 add get-deps target
update ci to get-deps first
2022-07-01 16:24:58 +07:00
robert-hh
ec6f56768a mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh
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
Ha Thach
68c2012ed1
Merge pull request #1540 from phryniszak/master
Define CFG_BOARD_UART_BAUDRATE in CMake
2022-07-01 01:07:31 +07:00
Ha Thach
2754c641cb
Merge pull request #1542 from hathach/fix-rp2040-remote-wakeup
rp2040 enable SOF as resumed signal when remote wakeup
2022-06-30 16:27:10 +07:00
hathach
9ec92ff97b
rp2040 enable SOF as resumed signal when remote wakeup 2022-06-30 15:45:04 +07:00
Pawel Hryniszak
023191be23
Let to define CFG_BOARD_UART_BAUDRATE in CMake 2022-06-29 20:28:22 +01: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
Ha Thach
19956f070d
Merge pull request #1539 from hathach/improve-ci
Improve ci
2022-06-29 16:27:17 +07:00
hathach
158b3d761d fix xmc4000 build 2022-06-29 15:27:24 +07:00
hathach
4da1a9359d fix build with fomu/fomu 2022-06-29 15:12:01 +07:00
hathach
5a378703fb fix end symbol for samx7x and same5x 2022-06-29 15:05:09 +07:00
hathach
7949a4ec7c skip freertos example for F1C100S 2022-06-29 14:12:58 +07:00
hathach
a62c2640b5 remove redundant rp2040 boards, all boards supported by pico-sdk already supported 2022-06-29 14:08:01 +07:00
hathach
1e00fe78c7 use action gcc 2022-06-29 14:07:00 +07:00
hathach
8fe9022a6e fix buid_board.py script 2022-06-29 14:06:44 +07:00
Ha Thach
39069cf4be
Merge pull request #1538 from kilograham/another_compiler_wawrning
Fix actual compiler warning on gcc 10.3.1
2022-06-29 13:47:42 +07:00
graham sanderson
b12863d27c Fix actual compiler warning on gcc 10.3.1 2022-06-29 07:28:35 +01:00
Ha Thach
3681ad2941
Merge pull request #1521 from kilograham/rp2040_warning
Re-add some warning suppression for rp2040
2022-06-29 11:39:05 +07:00
Ha Thach
c7fce32dff
Merge pull request #1535 from robert-hh/samd_xfer_lockup
samd: Fix a lock-up situation at high traffic.
2022-06-28 20:36:04 +07:00
hathach
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
hathach
83602ea123 Merge branch 'master' into rp2040_warning 2022-06-28 13:34:47 +07:00
graham sanderson
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
robert-hh
bc4da2047b samd: Fix a lock-up situation at high traffic.
This PR fixes a transmit lock-up, which happens, when data is received
and sent at the sime time at moderate to high speeds, like code
which just echoes incoming data.

In my case, an issue was reported here:
https://github.com/micropython/micropython/issues/8521
2022-06-27 20:31:44 +02:00
Ha Thach
3ead682af0
Merge pull request #1534 from hathach/add-more-warnings
Add more warnings
2022-06-27 22:27:24 +07:00
hathach
25580b4fe9 use forloop to avoid -Warray-bounds with host setup packet 2022-06-27 21:05:41 +07:00
hathach
9c56f70111 suppress error with net example 2022-06-27 20:30:47 +07:00
hathach
dd7a17c345 prevent error on specific warnings for net lwip & dual example for rp2040 2022-06-27 17:53:42 +07:00
hathach
a0ef489890 fix all warnings with host rp2040 2022-06-27 17:11:24 +07:00
hathach
6522a8150e fix all device examples warnings 2022-06-27 13:48:47 +07:00
hathach
1a1f633922 Merge branch 'master' into add-more-warnings 2022-06-27 12:50:50 +07:00
Ha Thach
bc0f5502e2
Merge pull request #1533 from hathach/hid-report-len-uint16
Hid report len uint16
2022-06-27 12:47:08 +07:00
hathach
556b5d5044 change report len in hid API from uint8_t to uint16_t
since HS interrupt endpoint can be up to 1024, 8-bit is not enough.
affected APIs are:
- tud_hid_n_report() / tud_hid_report()
- tud_hid_report_complete_cb()
2022-06-27 12:22:36 +07:00
hathach
0b3503cb33 clean up usbd log level 2022-06-27 11:56:48 +07:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach
0042eccb3b
fix redundant-decls warnings by usbd/usbh 2022-06-24 22:52:11 +07:00
hathach
1d6918ce41
suppress redundant-decls warnings for freertos examples 2022-06-24 21:53:46 +07:00