James Smith
9247131b1f
Avoid spamming out endpoint on connect
2023-03-13 16:31:25 +07:00
James Smith
43770802f9
Removed tabs from host hid_controller example
2023-03-13 16:31:25 +07:00
James Smith
296ce528fc
Updated host hid_controller example to demo tuh_hid_send_report
2023-03-13 16:31:25 +07:00
James Smith
f6774d5611
Implemented tuh_hid_send_report
2023-03-13 16:31:25 +07:00
Ha Thach
be21413361
Merge pull request #1948 from dhalbert/remove-volatile-cast-include
...
rp2040: include hardware/sync.h explicitly
2023-03-11 09:35:04 +07:00
Ha Thach
a8d7e08cee
Merge pull request #1950 from hathach/update-get-deps
...
update get-deps.py
2023-03-11 08:37:58 +07:00
hathach
cae05c6593
update get-deps.py
2023-03-11 08:33:08 +07:00
Ha Thach
6af18dc906
Merge pull request #1947 from hathach/remove-submodules
...
Remove submodules and use python script to manage repo dependencies
2023-03-11 08:09:25 +07:00
Ha Thach
b5b2fad5fb
Merge pull request #1946 from kasjer/kasjer/nrf5x-fix-iso-memory-corruption
...
dcd_nrf5x: ISO OUT handling
2023-03-11 08:06:17 +07:00
Dan Halbert
4857abdc6b
rp2040: include hardware/sync.h explicitly
2023-03-10 14:01:51 -05:00
hathach
206a9a21e6
fix ci
2023-03-10 23:54:30 +07:00
hathach
704f3ddeb5
add dependencies repo to git ignore
2023-03-10 23:43:07 +07:00
hathach
7e6a6e75bc
remove the rest of mcu submodules
2023-03-10 23:41:27 +07:00
hathach
fb9180b6eb
remove most of the submodules
2023-03-10 23:36:53 +07:00
hathach
7c9bd81eca
update deps script
2023-03-10 22:56:42 +07:00
hathach
d41320a42e
adding python script to manage dependencies instead of submodule
2023-03-10 20:49:11 +07:00
hathach
76f43a7a16
starting to remove submodule cmsis5 and nrfx
2023-03-10 19:23:23 +07:00
Jerzy Kasenberg
f0ddf8d10f
dcd_nrf5x: ISO OUT handling
...
For incoming ISO OUT packets it was possible to start
DMA from endpoint to RAM before transfer was started
resulting in unrelated memory corruption.
This is scenario that causes memory corruption:
- ISO OUT packet is received
- Packet is transferred by DMA to transfer buffer
- xfer->started is cleared and xfer->buffer is updated as
it is in every case
- Application takes to long to handle it (it happens when debugger
is connected breakpoint is hit slowing down software).
- Next ISO OUT packet arrives
At this point there was no check if transfer was started and packet
was copied by DMA to location beyond previous data, possibly overwriting
unrelated memory.
This solves the issue by checking that transfer was
started and there is buffer ready for incoming packet.
2023-03-10 08:22:43 +01:00
Ha Thach
990fb6ae5c
Merge pull request #1931 from branalba/master
...
For STM32H7 BSP boards, initialize RCC_...TypeDef structs as empty
2023-03-09 17:21:58 +07:00
Ha Thach
be66f5f57f
Merge pull request #1941 from hathach/minor-ci
...
Minor ci
2023-03-08 13:08:25 +07:00
hathach
0957902c40
more ci merge
2023-03-08 12:28:30 +07:00
hathach
9e0ae5f29d
improve ci
2023-03-08 12:15:39 +07:00
Ha Thach
3387c86108
Merge pull request #1933 from kilograham/rp2040_llvm_tweaks
...
make rp2040 code compile cleanly with LLVM embedded toochain for ARM.
2023-03-06 15:24:51 +07:00
Ha Thach
66da95a0ee
Merge pull request #1938 from hathach/update-build
...
Fix build on windows and macos
2023-03-06 15:10:21 +07:00
hathach
ec8c292bbe
clean up
2023-03-06 14:37:40 +07:00
hathach
02478c57e5
more ci fix
2023-03-06 14:31:18 +07:00
hathach
e62d1a03ac
integrate top.mk into make.mk
2023-03-06 13:25:56 +07:00
hathach
b6404d143e
clean up top
2023-03-06 13:03:55 +07:00
hathach
9930863b41
fix iar ci
2023-03-06 12:45:47 +07:00
hathach
5c537c25f0
change gcc to 10.3 due to freeRTOS warning
2023-03-06 11:16:21 +07:00
hathach
956d1c9c4e
update size to fix macos ci
2023-03-06 10:33:04 +07:00
HiFiPhile
a83cef5e4c
Merge pull request #1937 from silvergasp/fix_wrong_size
...
fix: Fix wrong destsz used with tu_memcpy_s
2023-03-06 04:25:52 +01:00
Nathaniel Brough
95cfa37bf5
fix: Fix wrong destsz used with tu_memcpy_s
...
Bug: #1935
2023-03-05 18:47:48 -08:00
hathach
0a1a61bb6c
try gcc 12.2 with macos
2023-03-05 15:42:05 +07:00
hathach
9824981ee8
ignore mkdir in windows ci
2023-03-05 15:35:02 +07:00
hathach
8a493485e8
more ci test
2023-03-05 13:39:38 +07:00
hathach
b4ef98cbdc
fix ci build on windows
2023-03-05 10:57:16 +07:00
hathach
a99ee1b1a2
bump up gcc, test macos uname
2023-03-04 20:08:10 +07:00
hathach
363fcc5b68
only build 1 board on windows/macos
2023-03-03 16:24:33 +07:00
hathach
7089535848
clean up f0 warnings
2023-03-03 16:13:12 +07:00
hathach
9a8a9359e4
use make abspath intead of shell realpath
2023-03-03 15:55:34 +07:00
hathach
e92583ffd7
try adding build for windows and macos
2023-03-03 15:37:17 +07:00
graham sanderson
b7fa90e706
rp2040: Fixup lib and example compile for LLVM Embedded Toolchain for ARM
2023-03-02 14:32:22 -06:00
Ha Thach
34798ff85e
Merge pull request #1932 from hathach/add-usbip-fsdev
...
add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32
2023-03-01 21:32:31 +07:00
hathach
5d3084a714
add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32
2023-03-01 11:22:04 +07:00
Brandon Alba
8c8f26f14e
In some STM32H7 BSP variants, initialized RCC_PeriphCLKInitStruct instances as empty
2023-02-28 10:31:07 -08:00
Brandon Alba
787afbbcd0
Initialized all RCC init structs for all STM32H7 BSP variants as empty
2023-02-28 10:25:06 -08:00
Ha Thach
3c38c7dc25
Merge pull request #1828 from HiFiPhile/stm32_fsdev
...
stm32_fsdev & ISO EP buffer allocation improvements
2023-02-28 23:45:02 +07:00
hathach
ffdc100cb9
rename ep_num to ep_idx, minor clean up
2023-02-28 17:11:59 +07:00
Ha Thach
65ac519715
Merge pull request #1852 from silvergasp/mem_s
...
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27 10:22:53 +07:00