mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-05 18:40:28 +00:00
enable i386 arch for running rx-gcc
This commit is contained in:
parent
973cbd3338
commit
0d542a0bdc
@ -42,10 +42,6 @@ commands:
|
|||||||
if [[ << parameters.toolchain >> == rx-gcc ]]; then
|
if [[ << parameters.toolchain >> == rx-gcc ]]; then
|
||||||
mv toolchain.tar.gz toolchain.run
|
mv toolchain.tar.gz toolchain.run
|
||||||
chmod +x toolchain.run
|
chmod +x toolchain.run
|
||||||
# rx-gcc is i386 binary
|
|
||||||
sudo dpkg --add-architecture i386
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386
|
|
||||||
./toolchain.run -p ~/cache/<< parameters.toolchain >>/gnurx -y
|
./toolchain.run -p ~/cache/<< parameters.toolchain >>/gnurx -y
|
||||||
else
|
else
|
||||||
tar -C ~/cache/<< parameters.toolchain >> -xaf toolchain.tar.gz
|
tar -C ~/cache/<< parameters.toolchain >> -xaf toolchain.tar.gz
|
||||||
@ -92,6 +88,13 @@ commands:
|
|||||||
unzip ninja-linux.zip -d ~/bin
|
unzip ninja-linux.zip -d ~/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# rx-gcc is 32-bit binary
|
||||||
|
if [[ << parameters.toolchain >> == rx-gcc ]]; then
|
||||||
|
sudo dpkg --add-architecture i386
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install libc6:i386 libstdc++6:i386 zlib1g:i386
|
||||||
|
fi
|
||||||
|
|
||||||
# Install Pico SDK
|
# Install Pico SDK
|
||||||
if [ << parameters.family >> == "rp2040" ]; then
|
if [ << parameters.family >> == "rp2040" ]; then
|
||||||
git clone --depth 1 https://github.com/raspberrypi/pico-sdk.git ~/pico-sdk
|
git clone --depth 1 https://github.com/raspberrypi/pico-sdk.git ~/pico-sdk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user