lpc176x: Use "Bootloader offset" prompt in "make menuconfig"
Use the same bootloader offset terminology that is used with other chips (eg, stm32). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
347dfa58ea
commit
6ba2c3e1d1
|
@ -58,15 +58,28 @@ config STACK_SIZE
|
||||||
int
|
int
|
||||||
default 512
|
default 512
|
||||||
|
|
||||||
config SMOOTHIEWARE_BOOTLOADER
|
|
||||||
bool "Target board uses Smoothieware bootloader"
|
|
||||||
default y
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Bootloader
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Bootloader offset"
|
||||||
|
config LPC_FLASH_START_4000
|
||||||
|
bool "16KiB bootloader (Smoothieware bootloader)"
|
||||||
|
config LPC_FLASH_START_0000
|
||||||
|
bool "No bootloader"
|
||||||
|
endchoice
|
||||||
config FLASH_START
|
config FLASH_START
|
||||||
hex
|
hex
|
||||||
default 0x4000 if SMOOTHIEWARE_BOOTLOADER
|
default 0x4000 if LPC_FLASH_START_4000
|
||||||
default 0x0000
|
default 0x0000
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Communication inteface
|
||||||
|
######################################################################
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Communication interface"
|
prompt "Communication interface"
|
||||||
config LPC_USB
|
config LPC_USB
|
||||||
|
|
Loading…
Reference in New Issue