14 lines
286 B
Bash
Executable file
14 lines
286 B
Bash
Executable file
#!/bin/bash
|
|
|
|
IDF_TARGET=$1
|
|
FLASH_MODE="$2"
|
|
FLASH_FREQ="$3"
|
|
BOOTCONF=$FLASH_MODE"_$FLASH_FREQ"
|
|
|
|
source ./tools/config.sh
|
|
|
|
echo "Copying bootloader: $AR_SDK/bin/bootloader_$BOOTCONF.elf"
|
|
|
|
mkdir -p "$AR_SDK/bin"
|
|
|
|
cp "build/bootloader/bootloader.elf" "$AR_SDK/bin/bootloader_$BOOTCONF.elf"
|