summaryrefslogtreecommitdiff
path: root/examples/device/board_test
AgeCommit message (Collapse)Author
2026-06-11HIL: replace build.flags_on with named build variants (#3687)Ha Thach
* test/hil: replace build.flags_on with named variant schema Boards declare build variants as `variant: [{name, flags}]` instead of `build.flags_on`. The variant `name` is the build dir (cmake-build-<name>) and the HIL report row; `flags` is the raw CFLAGS string (-D...=1) injected via CFLAGS_CLI. No `variant` => a single build named after the board. - build.py: --build-name <name> (dir) + --cflag=<token> (raw CFLAGS, repeatable, =form survives the matrix's shell word-splitting); drop -f1/CFLAGS wrapping. - hil_ci_set_matrix.py: emit one build arg per variant. - hil_test.py: iterate variants; report row + build dir = variant name. - hil_ci.sh: copy all cmake-build-<board>* dirs for -b runs. - get_deps.py: accept (ignore) --build-name/--cflag from matrix args. - tinyusb.json: migrate all 6 flags_on boards to variant. * board_test: park CI build with busy spin instead of wfe
2026-06-10Merge pull request #3690 from hathach/claude/board-test-idle-parkHa Thach
hil: park boards with idle board_test instead of erasing flash
2026-05-30esp32 build fixesHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-05improve threadx support, add multi ROTS support for board_test and msc_dual_lunhathach
2026-03-05improve threadx support, add multi ROTS support for board_test and msc_dual_lunhathach
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-12-19clean up cmake, remove family_get_project_name()hathach
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-23refactor family.cmake: rename add_board_target() to family_add_board() and ↵hathach
move it to family_configure_common() also move startup and linker from board target to actual exe
2025-10-16fix some warnings detected by pvs-studiohathach
2025-10-14more make refactorhathach
2025-10-14move make.mk to hw/bsp/family_support.mkhathach
2025-07-02update board_test always output to uart regardless of LOGGER optionhathach
2025-07-02update examplehathach
2025-07-02update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORMhathach
2025-02-11Fix path.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-02-09Add CMake presets.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-01-25fix cihathach
2025-01-24add cmake RTOS=zephyr (default noos) for zephyr buildhathach
2025-01-21zephyrhathach
2025-01-21bump up cmake min to 3.20hathach
2024-10-15move core init code to dwc2 common. update/correct build for esppressifhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-04-25adding support for esp32 for use with max3421e hosthathach
2023-11-29update esp32 to also be supported by hil testhathach
test run locally well
2023-11-23move make.mk and rules.mk to build_system/makehathach
2023-10-31uart working on u5a5hathach
2023-08-03rename hw/bsp/board.h to board_api.hhathach
2023-06-27rework cmake with rtos support add RTOS to ↵hathach
family_configure_device/host/dual_example()
2023-05-06cmake work well with imxrthathach
2023-04-21example run well with cmake for imxrthathach
2023-04-20clean uphathach
2023-04-20board test running with cmakehathach
2023-04-20adding cmake build for imxrt1010hathach
2023-03-30more esp32 cmake clean uphathach
2023-03-30update all cmake for esp32 buildhathach
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-06integrate top.mk into make.mkhathach
2023-01-18fix iar build with board_testhathach
2022-11-21host msc example work well with rp2040 pio-usbhathach
2022-11-18update uart read for lpc18/43 for testinghathach
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-06clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of ↵hathach
CFG_TUSB_RHPORT0_MODE
2021-11-05xmc4500 led blinky, button okhathach
2021-06-10Make examples standalone buildable via CMakegraham sanderson
2021-05-31Fix up build_family style builds:graham sanderson
- added back pre-existing board directories which now just select PICO_BOARD - added boards/pico_sdk which just uses the pre-existing PICO_BOARD setting - fixed rp2040/family.cmake to include the magic string "CFG_TUSB_MCU=OPT_MCU_RP2040" expected by build_family.py
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.