mirror of https://github.com/FOME-Tech/fome-fw.git
no custom per-board ini name
This commit is contained in:
parent
434de890be
commit
23053a3a2c
|
@ -20,7 +20,7 @@ for BOARD in \
|
|||
"config/boards/hellen/alphax-4chan alphax-4chan" \
|
||||
"config/boards/hellen/alphax-8chan alphax-8chan" \
|
||||
"config/boards/hellen/harley81 harley81" \
|
||||
"config/boards/hellen/hellen128 hellen128 fome_hellen128mercedes.ini" \
|
||||
"config/boards/hellen/hellen128 hellen128" \
|
||||
"config/boards/hellen/hellen121vag hellen121vag" \
|
||||
"config/boards/hellen/hellen121nissan hellen121nissan" \
|
||||
"config/boards/hellen/hellen-honda-k hellen-honda-k" \
|
||||
|
|
|
@ -17,11 +17,7 @@ fi
|
|||
|
||||
BOARD_DIR=$1
|
||||
SHORT_BOARDNAME=$2
|
||||
if [ $# -gt 2 ]; then
|
||||
INI="$3"
|
||||
else
|
||||
INI="fome_${SHORT_BOARDNAME}.ini"
|
||||
fi
|
||||
INI="fome_${SHORT_BOARDNAME}.ini"
|
||||
|
||||
echo "BOARD_DIR=${BOARD_DIR} SHORT_BOARDNAME=${SHORT_BOARDNAME}"
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
# file gen_config_default.sh
|
||||
|
||||
bash gen_config_board.sh config/boards/f407-discovery f407-discovery fome.ini
|
||||
exit $?
|
||||
set -euo pipefail
|
||||
|
||||
bash gen_config_board.sh config/boards/f407-discovery f407-discovery
|
||||
|
|
Loading…
Reference in New Issue