mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
test/hil: add stm32u083nucleo to pool and expose ~/bin on remote PATH
Add stm32u083nucleo to the active boards in tinyusb.json, flashed via the stlink flasher (onboard ST-Link + STM32CubeProgrammer); ci's openocd build has no STM32U0 flash driver. STM32_Programmer_CLI lives in ~/bin on ci, which the remote `bash -s` shell in hil_ci.sh did not have on PATH, so add $HOME/bin to its PATH export (matching the GHA runner .path). Verified remote: 13/13 device tests pass on ci.lan. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -91,8 +91,9 @@ echo "==> Running HIL test on $REMOTE"
|
||||
ssh "$REMOTE" bash -s -- "$REMOTE_DIR" "${ARGS[@]}" "test/hil/$CONFIG_BASENAME" <<'REMOTE'
|
||||
cd -- "$1"
|
||||
shift
|
||||
# esptool/idf tools live in ~/.local/bin on ci.lan; the non-interactive shell
|
||||
# subprocess used for flashing doesn't pick that up otherwise.
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
# Flasher CLIs live in the user bin dirs on ci.lan (esptool/idf in ~/.local/bin,
|
||||
# STM32CubeProgrammer's STM32_Programmer_CLI in ~/bin); the non-interactive shell
|
||||
# subprocess used for flashing doesn't source profile/rc, so add them explicitly.
|
||||
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
exec python3 -u test/hil/hil_test.py -B examples "$@"
|
||||
REMOTE
|
||||
|
||||
@ -455,6 +455,19 @@
|
||||
"uid": "777632258",
|
||||
"args": "-device STM32L476VG"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "stm32u083nucleo",
|
||||
"uid": "300044000D5036394E373620",
|
||||
"tests": {
|
||||
"device": true,
|
||||
"host": false,
|
||||
"dual": false
|
||||
},
|
||||
"flasher": {
|
||||
"name": "stlink",
|
||||
"uid": "0668FF575457657187061314"
|
||||
}
|
||||
}
|
||||
],
|
||||
"boards-skip": [
|
||||
|
||||
Reference in New Issue
Block a user