Use different ORIGIN for DFU on Maple Mini
This commit is contained in:
committed by
NIIBE Yutaka
parent
385261c9a0
commit
786b4adc42
7
src/configure
vendored
7
src/configure
vendored
@@ -268,8 +268,15 @@ if test "$with_dfu" = "yes"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Configured for DFU"
|
echo "Configured for DFU"
|
||||||
|
if test "$target" = "MAPLE_MINI"; then
|
||||||
|
# Note that the default bootloader is too large, need for instance
|
||||||
|
# STM32duino for DFU on Maple Mini
|
||||||
|
ORIGIN=0x08002000
|
||||||
|
FLASH_SIZE=$((FLASH_SIZE - 8))
|
||||||
|
else
|
||||||
ORIGIN=0x08003000
|
ORIGIN=0x08003000
|
||||||
FLASH_SIZE=$((FLASH_SIZE - 12))
|
FLASH_SIZE=$((FLASH_SIZE - 12))
|
||||||
|
fi
|
||||||
DFU_DEFINE="#define DFU_SUPPORT 1"
|
DFU_DEFINE="#define DFU_SUPPORT 1"
|
||||||
else
|
else
|
||||||
with_dfu=no
|
with_dfu=no
|
||||||
|
|||||||
Reference in New Issue
Block a user