mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Experimental support for on-board custom defaults.
This commit is contained in:
parent
b310f9b348
commit
7518ec67f5
19 changed files with 390 additions and 174 deletions
11
src/utils/make_config_hex.sh
Executable file
11
src/utils/make_config_hex.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
INPUT_FILE=$1
|
||||
DESTINATION_DIR=$2
|
||||
|
||||
TARGET_ADDRESS=0x080FC000
|
||||
|
||||
srec_cat ${INPUT_FILE} -binary -offset ${TARGET_ADDRESS} \
|
||||
-generate '(' -maximum-address ${INPUT_FILE} -binary -maximum-address ${INPUT_FILE} -binary -offset 1 ')' \
|
||||
-constant 0x00 -offset ${TARGET_ADDRESS} \
|
||||
-output ${DESTINATION_DIR}/$(basename ${INPUT_FILE}).hex -intel
|
Loading…
Add table
Add a link
Reference in a new issue