common binary support fix

This commit is contained in:
NIIBE Yutaka
2015-07-16 09:31:44 +09:00
parent 8ddcc1e896
commit 31c7a42c73
2 changed files with 9 additions and 0 deletions

4
src/configure vendored
View File

@@ -255,6 +255,10 @@ SERIALNO_STR_LEN_DEFINE="#define SERIALNO_STR_LEN ${#SERIALNO}"
if test "$sys1_compat" = "yes"; then
CONFIG="$target:dfu=$with_dfu:debug=$debug:pinpad=$pinpad:certdo=$certdo:keygen=$keygen"
else
# Override settings for common binary. Safer side.
FLASH_PAGE_SIZE=2048
FLASH_SIZE=128
MEMORY_SIZE=20
CONFIG="dfu=$with_dfu:debug=$debug:pinpad=$pinpad:certdo=$certdo:keygen=$keygen"
fi