graham sanderson
31a979a6cc
fix some clang compiler warnings
2024-07-18 11:11:06 +01:00
graham sanderson
5f6152a87e
not all GCC compiler builds support --no-warn-rwx-segments; check_linker_flag is not available in all supported version of CMake, so just allow it to be passed in
2024-07-18 11:11:06 +01:00
graham sanderson
0d72f153cf
fix arguable bug caught as warning by LLVM embedded toolchain for ARM 14.0.0
2024-07-18 11:11:06 +01:00
Liam Fraser
23c9353cd8
net_lwip_webserver: allow TINYUSB_LWIP_PATH to be defined by parent CMake file
2024-07-18 11:10:55 +01:00
Liam Fraser
3804ab9a67
RP2040: no need to clear usb_hw (usb registers) as they are reset to default state by a hardware reset
2024-07-17 15:47:00 +01:00
Liam Fraser
770efd9b46
RP2040: Use our own unaligned memcpy to avoid alignment faults with some memcpy implementations
2024-07-17 15:47:00 +01:00
Ha Thach
e86826318c
Merge pull request #2718 from hathach/hid-2253-followup
...
follow up to #2253
2024-07-17 15:19:43 +07:00
hathach
0ecf15bc61
follow up to #2253
...
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
Ha Thach
1ba88ff3ac
Merge pull request #2715 from hathach/more-hil-pi5
...
hil flash itsybitsy m4 with picoprobe
2024-07-16 14:43:58 +07:00
hathach
5edc8458f2
hil flash itsybitsy m4 with picoprobe
2024-07-16 14:30:51 +07:00
Ha Thach
7ff52021ad
Merge pull request #2712 from hathach/migrate-hil-pi5
...
update hil test to run on new pi5
2024-07-15 18:10:16 +07:00
hathach
cc6806144f
update hil test to run on new pi5
2024-07-15 17:46:20 +07:00
Ha Thach
bd15f65e81
Merge pull request #2710 from hathach/dwc2-test-mode-followup
2024-07-12 21:15:52 +07:00
hathach
4ce1cce40a
simplify dwc2 test mode
...
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h
2024-07-12 20:17:14 +07:00
Ha Thach
b97520e89f
Merge pull request #2709 from hathach/add-tud_cdc_configure_fifo
...
add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
2024-07-12 17:38:33 +07:00
hathach
ef71093046
add lsusb for hil pi4
2024-07-12 17:20:06 +07:00
Ha Thach
d26b574f80
Merge pull request #2688 from HiFiPhile/3511_rtos
...
LPC55: FreeRTOS fix
2024-07-12 17:16:44 +07:00
hathach
1f590c3628
- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
...
- new line, and code format
2024-07-12 16:53:21 +07:00
Ha Thach
65b3edbb09
Merge pull request #2705 from hathach/v203-use-224kb
...
V203 use 224kb
2024-07-11 21:36:00 +07:00
hathach
e251493a16
skip FLASH_ function to reduce dependency
2024-07-10 22:58:00 +07:00
hathach
c1175b7013
enable full 224KB flash for ch32v203 with flash enhanced read mode in SystemInit (better with startup).
...
add flash with wlink-rs
2024-07-10 22:48:06 +07:00
Ha Thach
cb37a17ef7
Merge pull request #2699 from hathach/revert-2693-enum-int
...
Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'"
2024-07-05 15:42:39 +07:00
hathach
8d5dbb9577
add board_reset_to_bootloader(), try to implement that for ch32v203 but not working yet
2024-07-05 15:40:02 +07:00
hathach
ca12a57902
add u for unsigned
2024-07-05 15:19:16 +07:00
Ha Thach
bd562e4180
Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'"
2024-07-05 15:15:00 +07:00
HiFiPhile
236aa9622a
Merge pull request #2693 from ra1nb0w/enum-int
...
audio.h: fix error ISO C restricts enumerator values to range of 'int'
2024-06-28 20:45:45 +02:00
Davide Gerhard
8f9a57636c
audio.h: fix error ISO C restricts enumerator values to range of 'int'
...
fix error
~/dsp/libs/tinyusb/src/class/audio/audio.h:643:53: error: ISO C restricts enumerator values to range of 'int' before C23 [-Werror=pedantic]
643 | AUDIO_CHANNEL_CONFIG_RAW_DATA = 0x80000000, // TODO
| ^~~~~~~~~~
compilation terminated due to -Wfatal-errors.
Closes: https://github.com/hathach/tinyusb/issues/2690
2024-06-28 19:57:59 +02:00
HiFiPhile
7125ac20ca
Merge pull request #2691 from ra1nb0w/strict-overflow
...
audio_device.c: fix strict-overflow warning with gcc >= 12
2024-06-28 11:12:56 +02:00
Davide Gerhard
8f699023f3
audio_device.c: fix strict-overflow warning with gcc >= 12
...
Fix the following error
~/libs/tinyusb/src/class/audio/audio_device.c:1493:23: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
1493 | while (p_desc < p_desc_end)
| ~~~~~~~^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
2024-06-28 10:55:43 +02:00
HiFiPhile
756ad3553d
Merge pull request #2689 from ra1nb0w/semicolon
...
remove double semicolon since ISO C not allow it
2024-06-27 21:48:25 +02:00
Davide Gerhard
85e1f423bf
remove double semicolon since ISO C not allow it
...
ISO C does not allow extra ';' outside of a function [-Werror=pedantic]
2024-06-27 21:30:16 +02:00
HiFiPhile
fbe025190c
Make FreeRTOS config work with Cortex-M33.
2024-06-27 20:46:44 +02:00
HiFiPhile
b82e0a9f1e
update lpc55 bsp for rtos use.
2024-06-27 20:44:40 +02:00
Ha Thach
13dedddd19
Merge pull request #2686 from hathach/add-host-devinfo
2024-06-25 15:29:17 +07:00
hathach
4396ecd22c
change COMPILE_DEFINE to CFLAGS_CLI for cmake/make
2024-06-25 11:31:19 +07:00
Ha Thach
044f4d1801
Merge pull request #2676 from Okarss/fsdev_documentation
...
[FSDEV] Update the STM32 documentation
2024-06-21 20:45:44 +07:00
Okarss
822ff7b316
Update for OTG_FS devices
2024-06-21 16:23:28 +03:00
Okarss
7594d8e103
Fix the legend
2024-06-21 15:56:54 +03:00
hathach
f9cd5ccdf0
skip examples for ch32v203g6
2024-06-21 18:50:44 +07:00
HiFiPhile
906c84d2b6
Merge pull request #2683 from andrewleech/synopsys_esp32_freertos
...
synopsys/dwc2_esp32: Add header for vTaskDelay.
2024-06-21 12:42:11 +02:00
hathach
ab55bc077d
update cmake.xml
2024-06-21 16:09:08 +07:00
hathach
02bea8982e
add new ch32v203g6u board, sysfreq is defined in board.cmake/mk
2024-06-21 16:08:37 +07:00
Andrew Leech
0d79da37e7
synopsys/dwc2_esp32: Add header for vTaskDelay.
2024-06-20 15:18:41 +10:00
Ha Thach
1cc319a15d
Merge pull request #2680 from Ryzee119/patch-1
2024-06-18 19:21:30 +07:00
Okarss
458be5dad8
Fix the table
2024-06-18 13:40:49 +03:00
hathach
ac3ec59845
add optional COMPILE_DEFINE from cmake cli
2024-06-18 16:18:58 +07:00
Okarss
5083d1eb33
Update Host mode information for FSDEV devices
2024-06-18 12:12:44 +03:00
hathach
de62b55042
add dual/host_info_to_device_cdc example
2024-06-18 13:29:04 +07:00
hathach
d945261aef
LOG3 in isr
2024-06-18 12:53:57 +07:00
hathach
f93eb40b1d
add host/device_info example
2024-06-18 12:52:32 +07:00