* Adds RISC-V compilation option to the IDE and Platform.IO. * Build RP2350-RISCV libpico, libbearssl * Fix RP2350 BearSSL library (was copied from RP2040, now built for M33) * New GCC 14.2 toolchain is required (12.4 RISC-V support is borked) * Newlib locking fixed prototypes * Manually force all runtime init code into RP2350 binaries * Add RISC-V to CI * Remove RP2350 BOOT2.S files, binaries (not used) * Clean up minor GCC 14.x warnings * Add RP2350-RISCV OTA build, link * Add RISC-V FreeRTOS files (configuration still not running, but builds) * Add basic documentation
24 lines
599 B
Bash
Executable file
24 lines
599 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cache_dir=$(mktemp -d)
|
|
|
|
source "$GITHUB_WORKSPACE"/tests/common.sh
|
|
|
|
if [ -z "$BUILD_PARITY" ]; then
|
|
mod=1
|
|
rem=0
|
|
elif [ "$BUILD_PARITY" = "even" ]; then
|
|
mod=2
|
|
rem=0
|
|
elif [ "$BUILD_PARITY" = "odd" ]; then
|
|
mod=2
|
|
rem=1
|
|
fi
|
|
|
|
export FQBN=pico:rp2040:rpipico2:flash=4194304_0,arch=arm,freq=150,opt=Small,rtti=Disabled,stackprotect=Disabled,exceptions=Disabled,dbgport=Disabled,dbglvl=None,usbstack=picosdk,ipbtstack=ipv4only,uploadmethod=default
|
|
export PICO_BOARD=rp2350
|
|
|
|
install_arduino nodebug
|
|
build_sketches_with_arduino "$mod" "$rem" ""
|
|
|
|
rm -rf "$cache_dir"
|