8154 Commits

Author SHA1 Message Date
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
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
Ryzee119
d52d659261
usbh: Set interface recipient should be interface 2024-06-18 14:02:36 +09:30
Ha Thach
007a8bd46d
Merge pull request #2672 from tinic/master
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +07:00
HiFiPhile
edf1ef6d97
Merge pull request #2675 from Okarss/fsdev_toggle_bits
[FSDEV] Simplify toggle bit logic
2024-06-14 20:36:03 +02:00
Okarss
5f060a357d Update the STM32 documentation 2024-06-14 21:23:17 +03:00
Okarss
fb6a6acbff Revert the DSB because of RISC-V 2024-06-14 18:39:48 +03:00
Okarss
00062ddb0c [STM32 FSDEV] Simplify toggle bit logic 2024-06-14 18:16:09 +03:00
Ha Thach
0ac0c37078
Merge pull request #2674 from hathach/add-ch32v103
Add ch32v103 (not working yet)
2024-06-14 20:34:32 +07:00
hathach
2be72a97b8
minor update 2024-06-14 17:55:36 +07:00
hathach
e1012997f0
more update 2024-06-14 16:55:46 +07:00
hathach
f32851cf2a
fix ci skip example for ch32v1 2024-06-14 16:16:10 +07:00
hathach
5e9ad7daee
add ch32v10x to ci build 2024-06-14 16:09:08 +07:00
hathach
9ae0053573
newline 2024-06-14 16:08:26 +07:00
hathach
33f5547ed4
add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue 2024-06-14 16:06:37 +07:00
hathach
969b06d77c
minor update 2024-06-14 12:51:50 +07:00
hathach
2ed027f2bd
use stock core_riscv.h for ch32 v2 v3 2024-06-14 12:51:28 +07:00
Tinic Uro
a6d3e2a36d Use STREQUAL instead of EQUAL to fix the cmake build. 2024-06-12 09:23:18 -07:00
Tinic Uro
48e18762b5 Use correct definition. 2024-06-12 09:02:48 -07:00
Tinic Uro
9be10f2adb Fix pin definitions. 2024-06-12 08:59:43 -07:00
tinic
a0006e6861
Merge branch 'hathach:master' into master 2024-06-12 08:33:48 -07:00
Tinic Uro
bc576e7cee Make it work. 2024-06-12 08:33:10 -07:00
Tinic Uro
6a1dc25079 Add missing files. 2024-06-12 08:14:06 -07:00
Tinic Uro
28c2433375 Add stm32u545nucleo board. 2024-06-12 08:08:25 -07:00
Ha Thach
ba2f2299c3
Merge pull request #2668 from hathach/add-c6-board
Add esp c6 devkit board
2024-06-06 16:48:08 +07:00
hathach
8df372ae7a
clean up 2024-06-06 16:19:02 +07:00
hathach
7771cae94c
fix gnurx bin 2024-06-06 16:13:25 +07:00