Commit Graph

7851 Commits

Author SHA1 Message Date
hathach
c9e467822c clang work with imxrt tested with metro rt1011 and rt1060 evk. Don't use startfiles for imxrt 2024-04-22 22:00:45 +07:00
hathach
6294e4aa43 update lpcopen 2024-04-22 20:39:30 +07:00
hathach
fd059ee24d clang compile with lpc40 2024-04-22 20:09:54 +07:00
hathach
06c81d8bee clang compile with lpc17 2024-04-22 19:52:55 +07:00
hathach
838a58df99 clang work with lpc43 2024-04-22 19:45:27 +07:00
hathach
db30eee0fc clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
c097c85dcf fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
62331f0207 fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
c8e533e612 fix build with nrfx v3, though max3421e spi does not seem to work well. 2024-04-22 14:54:35 +07:00
hathach
2e383bf901 dcd nrf change atoimc_bool to atomic_flag 2024-04-22 12:12:56 +07:00
hathach
9d1d171b0c - update nrfx to v3.4.0
- compile nrf with __STARTUP_CLEAR_BSS and link flag -nostartfiles
2024-04-19 23:17:47 +07:00
hathach
83b4cb178b adding clang for nrf 2024-04-19 23:17:02 +07:00
hathach
d157abe77c clang samd21 build but has issue as samd51 2024-04-19 23:17:02 +07:00
hathach
4a183d2e3f try to add clang for rp2040 but pico-sdk does not support that. (got assert.h file not found) 2024-04-19 23:17:01 +07:00
hathach
be0d62ba6c clang samd51 compile but does not run, rom is correct, but ram is lacking bss. Got stkerr -> hardfault 2024-04-19 23:17:00 +07:00
hathach
824e39ddeb more clang update 2024-04-19 23:16:59 +07:00
hathach
5ca68ec049 forgot to specify clang 2024-04-19 23:16:59 +07:00
hathach
982713ad47 add clang to ci build 2024-04-19 23:16:58 +07:00
hathach
3442a87d5b - clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
96f7ca02bf clang build board test with h743 2024-04-19 23:16:57 +07:00
hathach
9f0e4c2889 run config update 2024-04-19 23:16:56 +07:00
hathach
632a001955 update cmake build 2024-04-19 23:16:55 +07:00
hathach
7545c40003 cmake detect toolchain based on -DCMAKE_C_COMPILER 2024-04-19 23:16:54 +07:00
Ha Thach
0fb73eac7e Merge pull request #2603 from hathach/nrf-code-format
nrf code format
2024-04-18 22:09:49 +07:00
hathach
bf29417e5f code format 2024-04-16 20:58:02 +07:00
Ha Thach
e54023d765 Merge pull request #2354 from slark-yuxj/master 2024-04-16 12:26:34 +07:00
Ha Thach
bebc00a851 Merge pull request #2263 from rgrr/compile-with-old-nordic-sdk
dcd_nrf5x: make it compile also with old Nordic SDK
2024-04-16 12:08:13 +07:00
hathach
10a86172ec fix pre-commit 2024-04-16 12:06:26 +07:00
hathach
e03774be88 skip symlink in pre-commit 2024-04-16 12:06:07 +07:00
yuxiaojun
86710c9bb2 fix: memory leak: buf
Signed-off-by: yuxiaojun <yuxiaojun@uniontech.com>
2024-04-16 12:02:14 +07:00
hathach
d82ee79bd0 - in case of mdk conflict to use nrfx v2
- allow to force nrfx version with CFG_TUD_NRF_NRFX_VERSION=1
2024-04-16 11:55:03 +07:00
hathach
37a05e0264 revert nvic changes 2024-04-16 11:23:38 +07:00
Hardy Griech
c535a4d42b catch all nrfx versions with an old API 2024-04-16 11:18:47 +07:00
Hardy Griech
2567fe3fd8 softdevice nvic calls only if old SDK 2024-04-16 11:18:46 +07:00
Hardy Griech
1b0ec6b1bd make it compile also with old Nordic SDK 2024-04-16 11:18:45 +07:00
Ha Thach
178c4144ad Merge pull request #1685 from battlesnake/st_synopsys_sof
Add SOF support for ST Synopsys port
2024-04-16 11:11:29 +07:00
Ha Thach
f3781a45d8 Merge pull request #1662 from Erlkoenig90/check-usbd-queue-overflow
Check for event queue overflow in usbd / dcd_event_handler
2024-04-16 10:58:15 +07:00
hathach
e1c3b5aeab minor update to sof 2024-04-16 10:57:54 +07:00
Ha Thach
fcb2df8eb9 Merge pull request #1537 from pigrew/endpoint_halt
When clearing an endpoint stall, reset DTOG
2024-04-16 10:40:53 +07:00
hathach
189080b684 add TU_ASSERT() to check for adding new usb event 2024-04-16 10:40:24 +07:00
hathach
5dabef79ee don't check local endpoint stalled status, just carry the request for host. 2024-04-16 10:27:16 +07:00
NConrad
9588c3fac9 USBD: When SET_FEATURE(ENDPOINT_HALT), the DTOG must be reset. 2024-04-16 10:19:16 +07:00
Ha Thach
50738f2ab4 Merge pull request #2588 from hathach/support-ra2a1
Enhance dcd rusb2, support ra2a1 pipe number scheme
2024-04-16 00:16:18 +07:00
hathach
6328301bb6 revert to use __builtin_ctz() for optimized time 2024-04-15 23:56:55 +07:00
Ha Thach
fb21b6a67d Merge pull request #2134 from clhenry/non-bus-powered-re-enumeration
Non-bus-powered MSP430 support.
2024-04-15 23:14:10 +07:00
hathach
afb66a955c update msp430 make build 2024-04-15 22:49:08 +07:00
hathach
9561e38267 install ninja build for msp430 2024-04-15 22:35:52 +07:00
hathach
b2acbd305d use cmake to build msp430 2024-04-15 12:52:10 +07:00
hathach
bf649988ef add blocking delay for msp430 with max 25mhz 2024-04-15 12:06:13 +07:00
hathach
abddc850ac add cmake support for msp430 2024-04-12 11:45:36 +07:00