hathach
2a67ce773d
change default risv-gcc to riscv-none-elf- and add _zicsr extension
...
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
2024-05-16 19:18:43 +07:00
Ha Thach
ba6babf570
Rework ci ( #2631 )
...
* add name field to usbd_class_driver_t
* ci: use set matrix py script
* add riscv32 and cmake support for ch32v307, fomu, gd32vf103
* update build_cmake.py to take --family --board --toolchain
* separate hil test to its own workflow
* move esp32 board into separated hil json
* add make build to ci
* remov build_make.py
* build.py support esp32 board
* setup toolchain support esp-idf
* fix missing click
* merge family in matrix build to reduce jobs
* skip cifuzz since it still has issue with get_deps and click
2024-05-09 20:43:46 +07:00
hathach
d79c71abf5
update flash openocd
2024-05-06 10:52:52 +07:00
hathach
3fd82cfe22
clang work with lpc55
2024-04-23 10:57:45 +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
96f7ca02bf
clang build board test with h743
2024-04-19 23:16:57 +07:00
hathach
7545c40003
cmake detect toolchain based on -DCMAKE_C_COMPILER
2024-04-19 23:16:54 +07:00
hathach
abddc850ac
add cmake support for msp430
2024-04-12 11:45:36 +07:00
hathach
ebe6923500
update build script to allow skip.txt and only.txt both exist
2024-04-04 14:10:48 +07:00
Michael Fischer
ea30041168
Merge branch 'hathach:master' into nxp_k64
2024-02-04 10:55:34 +01:00
hathach
de1266699d
clean up video example for readability
2024-01-24 13:13:49 +07:00
Mengsk
6fda6e16f8
Update jlink script path.
2023-12-14 12:19:14 +01:00
Mengsk
2396fecee2
Move jlink script.
2023-12-14 09:48:40 +01:00
Mengsk
3eb7d6ede9
Enhance IAR CMake support.
2023-12-13 17:20:51 +01:00
hathach
0a4d92a71e
update hil for pi4 to use new hil_test.py
2023-11-28 18:28:45 +07:00
hathach
54356a719e
minor-update
2023-11-23 17:53:17 +07:00
hathach
db3ff4b352
usb on u5a5 hs work well with correct VBVALEXTOEN/VBVALOVAL set
2023-10-31 11:26:31 +07:00
hathach
0a4fb6963d
fix build with lpc54
2023-09-27 16:19:39 +07:00
hathach
ab9585401b
wrap up build cmake & make support for max3421, to enable the Host driver, 'MAX3421_HOST=1' must be added as part of make/cmake command
2023-09-11 11:35:51 +07:00
Ha Thach
9063ede25f
Merge branch 'master' into nxp_k64
2023-08-28 17:46:05 +07:00
hathach
aa0fabd51d
add kinetis_k family and teensy_35
...
- teensy_35 is not able to blink led with board_test though, probably due to clock config.
2023-08-28 17:44:29 +07:00
hathach
b31924e13e
- add xfer_complete_isr()
...
- merge addr0 ep to pool
- add control status to xact in/out
- use atomic flag busy to ensure only 1 transfer is active at any time
- execute pending transfer after one is complete (or clear busy flag)
- change rtt mode to block if full
2023-08-28 12:41:44 +07:00
Ha Thach
accc3fd737
Merge pull request #2151 from kilograham/rp2040_build_fixes
...
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
2023-08-07 11:14:04 +07:00
hathach
ef5bd9ee6c
Merge branch 'master' into enhance-bsp
2023-08-04 00:31:12 +07:00
hathach
041f510f90
add board_get_unique_id() for serial number
...
implemented board_get_unique_id() for rp2040 and L4
2023-08-03 20:42:34 +07:00
hathach
2021c62997
fix pre-commit, also skip lto for rp2040
2023-08-02 17:57:28 +07:00
hathach
789e478d4d
add portenta c33 bsp, add flash by dfu-util
2023-08-01 13:16:37 +07:00
hathach
1cccbaf7ec
fix board name with dash
2023-08-01 11:18:00 +07:00
hathach
3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
...
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
graham sanderson
3678a25baa
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
...
* include_guard requires GLOBAL as family.cmake is included in multiple non child places
* the following recently added check is suprfluous (family_configure_host_example for rp2040 should do this already),
and breaks if pico_pio_usb is not avaialble, so i have removed
# Add pico-pio-usb for rp2040 since user can choose to run on bit-banging host
if(FAMILY STREQUAL "rp2040")
family_add_pico_pio_usb(${PROJECT})
endif()
* added new familt_example_missing_dependency functino to print missing dependency warning, so
pico-examples can override it to be less in your face, and also more contextual to pico-examples
2023-07-18 09:03:01 -05:00
hathach
e0f1ba8b0e
fully work with multiple ports without CFG_TUSB_RHPORT0/1
2023-07-07 16:07:11 +07:00
hathach
071c30f381
update fsp to version 4.5, correct RA BSP. Fix ETM Trace with 6m5 by lowering PLL to 128Mhz.
2023-07-04 19:27:37 +07:00
hathach
48738df489
move LTO checked to family_support.cmake
2023-06-30 16:05:59 +07:00
hathach
e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example()
2023-06-27 15:45:38 +07:00
hathach
200e58d11e
auto detect FAMILY based on BOARD
2023-06-26 13:38:24 +07:00
hathach
7dc6829519
enable etm trace support for h743 eval
2023-06-19 16:33:47 +07:00
hathach
e754795d3a
fix build warnings
2023-06-16 15:29:34 +07:00
hathach
a7f330fa94
fix build, update freertos config for cmake
2023-06-16 14:17:25 +07:00
hathach
65d6acdbfa
fix build warnings
2023-06-16 12:02:42 +07:00
Ha Thach
bbc76e7777
Merge pull request #2104 from hathach/g4-pd
...
Initial support for USB PD stack
2023-06-12 23:14:48 +07:00
graham sanderson
0493983a8f
movement of TOP in c0ecf8b5 broke RP2040 SDK build
2023-06-07 14:46:14 -05:00
hathach
b3fda4a354
able to get usbpd irq handler
...
- handle cc1, cc2 voltage changes
- get order set, rx message end interrupt
- add segger rtt support for cmake
2023-06-06 23:55:33 +07:00
hathach
f6a45a7aab
clean up
2023-06-05 15:41:45 +07:00
hathach
bb795e6a5e
update cmake to build with IAR for g0 and g4
2023-06-02 15:26:16 +07:00
hathach
fcf7791454
add IAR support for G0 with cmake
2023-06-02 13:27:18 +07:00
hathach
e7090c7514
cmake refactor
2023-06-02 11:42:17 +07:00
hathach
c750030f7a
add freertosconfig for g0, add cmake stlink, add g0 to cmake ci
2023-06-01 17:09:00 +07:00
hathach
62b2d05d34
skip set CMAKE_EXECUTABLE_SUFFIX for espressif port
2023-06-01 12:50:32 +07:00
hathach
19a597bcae
add lto for cmake
2023-06-01 12:36:08 +07:00
hathach
c0ecf8b50f
move set TOP to family_support.cmake
2023-05-26 14:56:22 +07:00