524 Commits

Author SHA1 Message Date
hathach
072a80d088 hil test both slave and dma for dwc2 esp32s3 2024-10-04 16:02:46 +07:00
hathach
5a5dbfc8c6 fix missing json 2024-10-04 15:05:02 +07:00
hathach
1b295de9ad add hil_ci_set_matrix.py, starting to support hil with additional build flags 2024-10-04 15:01:03 +07:00
hathach
4c81d91a73 bump up idf to 5.3.1 2024-09-30 11:53:20 +07:00
Ha Thach
e209acb8d3 Migrate hil vm (#2822)
* migrate hil to new x64 VM instead of rpi
* re-enable hil for s3
2024-09-30 10:58:19 +07:00
Shawn Hoffman
616532892d make all python files executable and standardize interpreter 2024-09-17 12:17:12 -07:00
hathach
0bb7b992d8 dwc2: for esp32 force disconnect/connect using USB_WRAP otg pad override (DM=DP=0) in addition to dwc2's dctrl 2024-09-04 20:56:04 +07:00
hathach
9985b9faf4 try to build hil in parallel 2024-08-28 13:02:53 +07:00
Ha Thach
6118700828 update circle ci to build make (#2769)
* update build.py script to work with circleci
* build make with circle ci
* build vm for esp only
* nrf imxrt with large resource
* nrf imxrt with large resource
* remove 2 of nrf boards
2024-08-21 19:09:37 +07:00
hathach
215832397b update doc, re-enable metro m7 for hil, only build make windows/macos on PR 2024-08-19 19:44:22 +07:00
hathach
f6b96f7ea9 fix spelling, add max32 to ci with arm-gcc build 2024-08-14 22:56:59 +07:00
Ha Thach
b8d3c0c4a8 Circi dynamic config (#2763)
Circleci
* build cmake armgcc and arm clang on circleci
* use docker medium+
2024-08-13 23:57:01 +07:00
hathach
2871bb0da6 fix spi_set_format() -Wnull-dereference when compiling with -Os 2024-08-11 00:51:51 +07:00
Ha Thach
ea64dd4999 Update ci toolchain (#2758)
* move toolchain url to its setup action
2024-08-09 22:45:35 +07:00
hathach
e7e6fe7cd5 add riscv url 2024-08-08 22:28:13 +07:00
hathach
c3f3465a40 remove hiL build-esp, add riscv support 2024-08-08 22:04:54 +07:00
hathach
f5d8796a6c add f072 (fsdev 1k) to hil test 2024-08-01 15:38:59 +07:00
hathach
8407252fa3 fix hil ci 2024-08-01 14:13:03 +07:00
hathach
4e114b7bfa update hil ci 2024-08-01 14:01:35 +07:00
hathach
5fa03dd906 add stm32g0 (fsdev 2k) to hil pool
remove esp32s3 since cp210x cause usb bus issue in the long run
2024-08-01 13:00:38 +07:00
hathach
0e53b0b846 update workflow build ci 2024-07-17 19:45:40 +07:00
hathach
cc6806144f update hil test to run on new pi5 2024-07-15 17:46:20 +07:00
hathach
ef71093046 add lsusb for hil pi4 2024-07-12 17:20:06 +07:00
hathach
5e9ad7daee add ch32v10x to ci build 2024-06-14 16:09:08 +07:00
hathach
8df372ae7a clean up 2024-06-06 16:19:02 +07:00
hathach
7771cae94c fix gnurx bin 2024-06-06 16:13:25 +07:00
hathach
902cc3310b correct script 2024-06-06 16:09:38 +07:00
hathach
302445e64f try to build rx using build_util 2024-06-06 16:07:11 +07:00
hathach
1d7aeb3fb6 try to update cache for esp-idf 2024-05-21 13:25:15 +07:00
hathach
4e24ec5e5d circle ci skip cache for toolchain
action skip cache for toolchain url hosted by github
2024-05-21 13:04:56 +07:00
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