File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change 3232 -nographic \
3333 -semihosting-config enable=on,target=native \
3434 -kernel target/thumbv7m-none-eabi/debug/testsuite
35-
36- hil-compile-rtt :
37- runs-on : ubuntu-latest
38- steps :
39- - uses : actions/checkout@v4
40- - uses : dtolnay/rust-toolchain@stable
41- with :
42- targets : thumbv6m-none-eabi
43- - name : Modify linkerfile
44- run : |
45- sed -i 's/FLASH : ORIGIN = 0x00000000, LENGTH = 256K/FLASH : ORIGIN = 0x8000000, LENGTH = 128K/g' memory.x
46- sed -i 's/RAM : ORIGIN = 0x20000000, LENGTH = 64K/RAM : ORIGIN = 0x20000000, LENGTH = 16K/g' memory.x
47- - name : Build testsuite
48- env :
49- RUSTFLAGS : -C link-arg=-Tlink.x -D warnings
50- run : cargo build -p testsuite --target thumbv6m-none-eabi --features rtt
51- - name : Upload testsuite binaries
52- uses : actions/upload-artifact@v4
53- with :
54- name : testsuite-bin
55- if-no-files-found : error
56- retention-days : 1
57- path : target/thumbv6m-none-eabi/debug/testsuite
58-
59- hil-stm32 :
60- runs-on : self-hosted
61- needs :
62- - hil-compile-rtt
63- steps :
64- - uses : actions/checkout@v4
65- - name : Display probe-rs version
66- run : probe-rs --version
67- - name : List probes
68- run : probe-rs list
69- - uses : actions/download-artifact@v4
70- with :
71- name : testsuite-bin
72- path : testsuite-bin
73- - name : Run on-target tests
74- timeout-minutes : 5
75- run : |
76- probe-rs run \
77- --chip STM32F070RBTx \
78- --connect-under-reset \
79- --probe 0483:374b:066CFF504955857567220634 \
80- testsuite-bin/testsuite
You can’t perform that action at this time.
0 commit comments