mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 22:32:29 +03:00
8116bfcbab
* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets. * Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter. * Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout * Rename ob_check script to ob.
13 lines
310 B
Bash
Executable File
13 lines
310 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x -e
|
|
|
|
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
|
|
|
rm $PROJECT_DIR/bootloader/.obj/f*/flash || true
|
|
make -C $PROJECT_DIR/bootloader -j9 flash
|
|
|
|
rm $PROJECT_DIR/firmware/.obj/f*/flash || true
|
|
make -C $PROJECT_DIR/firmware -j9 flash
|