File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v2
1717 - uses : actions-rs/toolchain@v1 # pulls version from rust-toolchain file
18- - name : Build elf2uf2
19- run : |
20- sudo apt-get install -y build-essential cmake
21- cd /tmp
22- git clone https://github.com/raspberrypi/pico-sdk.git
23- cd pico-sdk
24- git checkout tags/1.2.0
25- cd tools/elf2uf2
26- mkdir build
27- cd build
28- cmake ..
29- make
30- sudo cp elf2uf2 /usr/local/bin
18+ - name : Install elf2uf2
19+ run : cargo install uf2conv
3120 - name : Build bootloader
3221 run : |
3322 cd boards/clue_nrf52840-bootloader
3625 export BOOTLOADER_KERNEL_HASH="$(cat Cargo.lock | grep https://github.com/tock/tock?rev=405417 | uniq | cut -d '#' -f 2 | cut -d '"' -f 1)"
3726 make
3827 - name : Build uf2
39- run : elf2uf2 target/thumbv7em-none-eabi/release/clue_nrf52840-bootloader.elf target/thumbv7em-none-eabi/release/clue_nrf52840-bootloader.uf2
28+ run : uf2conv target/thumbv7em-none-eabi/release/clue_nrf52840-bootloader.bin -f 0xADA52840 --base 0x26000 --output target/thumbv7em-none-eabi/release/clue_nrf52840-bootloader.uf2
4029 - name : Version
4130 run : |
4231 echo "Version: ${{ github.event.inputs.version }}" > tock-bootloader.clue_nrf52840.version
You can’t perform that action at this time.
0 commit comments