Commit Graph

106 Commits

Author SHA1 Message Date
bfab364bd1 打开log 防止初始化完成之前进入usb中断 2025-09-20 15:42:22 +08:00
6f4c32755b 这样修改之后stm32f429可以自动收到一个reset中断 2025-09-20 14:38:45 +08:00
ranchuan
8a1d7f9512 修改一些代码保证stm32编译通过
Some checks failed
Build / set-matrix (push) Has been cancelled
Build / cmake (aarch64-gcc) (push) Has been cancelled
Build / cmake (arm-gcc) (push) Has been cancelled
Build / cmake (esp-idf) (push) Has been cancelled
Build / cmake (msp430-gcc) (push) Has been cancelled
Build / cmake (riscv-gcc) (push) Has been cancelled
Build / make (aarch64-gcc) (push) Has been cancelled
Build / make (arm-gcc) (push) Has been cancelled
Build / make (msp430-gcc) (push) Has been cancelled
Build / make (riscv-gcc) (push) Has been cancelled
Build / make (rx-gcc) (push) Has been cancelled
Build / arm-iar (make) (push) Has been cancelled
Build / make-os (macos-latest) (push) Has been cancelled
Build / make-os (windows-latest) (push) Has been cancelled
Build / zephyr (push) Has been cancelled
Build / hil-build (arm-gcc) (push) Has been cancelled
Build / hil-build (esp-idf) (push) Has been cancelled
Build / hil-tinyusb (push) Has been cancelled
Build / hil-hfp (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
CodeQL / Analyze (c-cpp) (push) Has been cancelled
2025-09-15 11:14:01 +08:00
Elwin Huang
6fd9457924 Fix goto indentation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-27 21:26:49 +08:00
Elwin Huang
bf18444e97 Fix compile error. 2025-07-25 18:58:33 +08:00
EcuasYos
c1d3fc8031 dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton.
In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1.
Fix the destination error by following the rule of RFC 2131.
TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr.
Currently, fallback to broadcast.

Signed-off-by: Elwin Huang <s09289728096@gmail.com>
2025-07-25 17:02:37 +08:00
hathach
5c18a32aaa add TUD_EPBUF_DEF for ecm rndis, also separate notify and control buffer, use edpt_claim() to prevent race condition 2024-11-22 20:09:29 +07:00
dp111
6935c66309 Make function parameter definitions match function prototypes ( found with cppcheck) 2024-09-03 20:32:23 +01:00
Rbb666
2c880012f7 [osal]Add usb-device and host macro controls. 2024-05-24 16:51:22 +08:00
Rbb666
4cecb759c9 [osal]add usb host script. 2024-05-11 16:51:21 +08:00
maflcko
56dbfe59d9 Update dnserver.c: Match dnserv_free signature with fwd-decl 2024-04-30 11:00:45 +02:00
Ha Thach
c237d18ef5 Merge pull request #2599 from Rbb666/rtthread
[osal]Add rt-thread script support.
2024-04-25 11:48:59 +07:00
hathach
d664cbfcdd fix pre-commit 2024-04-25 11:28:18 +07:00
hathach
675daf32e9 skip malloc/free in embedded 2024-04-22 22:33:39 +07:00
Rbb666
5ee008c997 [add]Add rtthread script support to better integrate into rtthread projects. 2024-04-18 13:31:31 +08:00
jfm92
d4be0fd104 Adding extern C to definitions to allow link on C++ project 2023-11-13 10:14:55 +01:00
HiFiPhile
c940a2f362 Fix RTT build. 2023-08-06 21:55:24 +02:00
hathach
ef49b93532 rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
hathach
8b8b9690ad update segger rtt to fix cast align 2023-06-14 12:01:21 +07:00
hathach
23f7130ae4 update rtt to rev 25842 2023-06-07 00:07:58 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
6763521ec7 remove all submodules 2023-03-17 15:31:41 +07:00
hathach
fb9180b6eb remove most of the submodules 2023-03-10 23:36:53 +07:00
hathach
76f43a7a16 starting to remove submodule cmsis5 and nrfx 2023-03-10 19:23:23 +07:00
Jannis Achstetter
830849211d dhserver: Fix a potential DoS vulnerability accidentially introduced by #1712 2023-02-04 22:37:39 +01:00
Bastien Nocera
6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
Ha Thach
4a2e424103 Merge pull request #1746 from hathach/host-msc-example
Add host msc explorer example
2022-11-21 17:22:52 +07:00
hathach
cab65acc46 add pwd 2022-11-21 11:52:51 +07:00
hathach
16e1838862 implement cat command 2022-11-19 15:27:07 +07:00
hathach
bb570e02d6 msc explorer ls work great 2022-11-19 13:44:07 +07:00
hathach
b00529e287 add msc file explorer example
- add lib/fatfs version 15
- add lib/embedded-cli
2022-11-18 21:39:04 +07:00
Jannis Achstetter
3f3f6eee1c dhserver: Support DHCP clients that don't send the MESSAGETYPE as first option
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
2022-11-01 23:42:58 +01:00
William D. Jones
f76c7526c9 Remove lib/Pico-PIO-USB, which has moved to hw/mcu/raspberry_pi/Pico-PIO-USB. 2022-05-27 11:54:28 -04:00
hathach
f09df55ab9 clean up example 2022-05-11 15:40:02 +07:00
hathach
8bd923f5f1 sync with pio usb 2022-05-11 00:37:45 +07:00
hathach
26ee622222 move pio usb files to src 2022-05-10 12:51:48 +07:00
hathach
0b30a10ab3 configure hid_to_cdc example to build with rp2040 with pio usb as host 2022-04-29 22:24:36 +07:00
hathach
608577e05c update pio 2022-04-29 18:05:50 +07:00
hathach
85dcb73774 more clean up 2022-04-28 18:00:30 +07:00
hathach
fd827a80a9 everything work great 2022-04-27 01:09:30 +07:00
hathach
455bddddcd minor clean up 2022-04-26 18:47:09 +07:00
hathach
26a25279bc follow pio usb changes 2022-04-26 00:35:16 +07:00
hathach
2f9b9a31be more with pio usb 2022-04-22 18:26:58 +07:00
hathach
12debd7763 keep up with pio usb 2022-04-22 01:06:17 +07:00
hathach
328039058e update lib pio 2022-04-21 01:45:03 +07:00
hathach
a32cb1bb93 clean up pio driver 2022-04-18 17:49:21 +07:00
hathach
b5a9537eea support pio dcd endpiont stall 2022-04-16 01:19:51 +07:00
hathach
00a0e3f21b update lib pio 2022-04-15 20:14:47 +07:00
hathach
05bfc1a9eb pio device works well 2022-04-15 01:04:12 +07:00
hathach
cc5a4720e5 catch up with pio lib 2022-04-14 22:00:47 +07:00