404 Commits

Author SHA1 Message Date
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
hathach
83499a2cd0
tweak action 2024-05-15 16:03:31 +07:00
Ha Thach
3c24ba3ff2
build arm-clang on circleci with pull request (#2644)
* Build arm-clang using circle ci (only on PR): cache most of mandatory deps, clang toolchain
* update get_deps.py to include CMSIS_5 with --print + no arguments, prevent duplicated deps
2024-05-14 12:44:36 +07:00
Ha Thach
7cf1bdd284
Ci tweak3 (#2643)
- enable --one-per-family to build 1 board per family, also skip family if board specified in -b also present
- minimize ci run for push event
  - only build one board per family
  - skip hil test on both pi4 and hfp
- full build will be runn for PR event
- IAR always build 1 board per family regardless of event 
- update build.py to optimize make
- remove all setup python since we don't really need it
2024-05-13 20:27:49 +07:00
Ha Thach
6f47746e5f
more ci update (#2642)
* Circi use small docker
* caching espressif docker image
* only run make job on pull request or push to master
* hw test run on pull request only, rename build_cmake to build.yml
* enable all ci build, cmake(clang) and make(*) only run with pull_request or push to master
2024-05-13 16:41:11 +07:00
Ha Thach
3e2ea77506
More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
hathach
2f5db37c1a
use argparse instead of click to fix cifuzz.yml 2024-05-10 10:30:47 +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
497785393d
add cmake for mm32, remove mm32 bluepill since it is custom/reworked board (not available for order) 2024-05-06 17:14:35 +07:00
hathach
3791514908
add cmake for samg55 2024-05-04 17:23:16 +07:00
hathach
666702f478
fix ci 2024-05-04 10:28:47 +07:00
hathach
fcfd5a6625
fix ci 2024-05-03 18:12:55 +07:00
hathach
f38fbbfb2b
add cmake for xmc4000 2024-05-03 16:48:55 +07:00
hathach
704412bb48
add cmake for tm4c 2024-05-03 16:15:29 +07:00
hathach
4b86b49260
merge samd51 and same5x 2024-05-03 15:15:27 +07:00
hathach
1cf68f98b3
- add cmake to samd11
- build_cmake.py always build with -DCMAKE_BUILD_TYPE=MinSizeRel
2024-05-03 12:45:41 +07:00
hathach
6524e26e62
add cmake for stm32wb 2024-05-03 11:39:42 +07:00
hathach
dde13a3d4b
add cmake to msp432e4 2024-05-02 21:28:43 +07:00
hathach
e812fce29c
update cmake ci 2024-05-02 18:26:01 +07:00
hathach
b67cb26e51
change hil board s3 devkitm (devkitc seems to have usb issue with cp2104) 2024-04-24 16:17:33 +07:00
hathach
eaec0fb139
skip clang rp2040 build 2024-04-24 12:12:39 +07:00
hathach
16e099a9f9
integrate msp430 to build cmake 2024-04-23 12:38:55 +07:00
hathach
0f3d6c61b5
port clang stm32: f1, f2, f3 2024-04-23 12:04:08 +07:00
hathach
a410eb345c
fix ci typo 2024-04-23 11:25:01 +07:00
hathach
81cdf3ce55
bump up gcc to 12.3 2024-04-23 11:17:20 +07:00
hathach
71e0fd11c8
clang skip mcx since it does not work any more with gcc 2024-04-23 11:15: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
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
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
Ha Thach
2fef23d066
Update labeler.yml 2024-04-12 10:57:27 +07:00
hathach
3991ff34f1
use pull_request_target for labeler 2024-04-11 10:50:26 +07:00
hathach
bf240ce9bb
add permission to lable issue/pr 2024-04-09 19:50:10 +07:00
hathach
ec1a06843c
more try/catch for labeler 2024-04-09 17:37:12 +07:00
hathach
cbbfbbb57e
add cpuctl and pinctl to tuh_configure() option for max3421 2024-04-08 13:16:08 +07:00
hathach
252e630433
try catch labeler rest api 2024-04-03 13:05:53 +07:00
Ha Thach
62864d5356
Update labeler.yml 2024-03-28 12:12:07 +07:00
hathach
7f1e327be3
add sudo usbreset 2024-03-26 17:13:02 +07:00
hathach
ecea890fdc
use usbreset to reset built-in usb 2.0 hub VIA Labs before each test 2024-03-26 16:56:13 +07:00
hathach
98b8e960aa
Merge branch 'master' into add-tuh-deinit 2024-03-25 17:46:28 +07:00
hathach
a555266174
add new labeler workflow 2024-03-25 13:54:35 +07:00
hathach
ad5c449f1e
bump up download artifacts to v4 2024-03-22 20:12:25 +07:00
hathach
54e35dd3cf
bump up upload artifact to v4 2024-03-22 18:52:52 +07:00
hathach
3d3bf45102
frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
hathach
d1f77e08ac
build esp32 ci with v5.1 2024-02-02 13:08:42 +07:00
hathach
14d44171b5
bump up to actions/setup-python@v5 2024-01-25 19:13:11 +07:00
hathach
64f86ef8e7
build workflow with hil-test when test/hil changes 2024-01-24 11:32:28 +07:00
hathach
3349e40276 add cmake support for lpc17 2024-01-11 17:32:21 +07:00
hathach
c314cb2903
remove usage of linkermap, update checkout to v4 2023-12-18 20:07:17 +07:00