stm32f0: New target STM32F0 added.
Signed-off-by: Eugene Krashtan <Eugene.Krashtan@opensynergy.com>
This commit is contained in:
committed by
Kevin O'Connor
parent
74c6a85cde
commit
b822f38923
42
src/stm32f0/Kconfig
Normal file
42
src/stm32f0/Kconfig
Normal file
@@ -0,0 +1,42 @@
|
||||
# Kconfig settings for STM32F0 processors
|
||||
|
||||
if MACH_STM32F0
|
||||
|
||||
config STM32F0_SELECT
|
||||
bool
|
||||
default y
|
||||
select HAVE_GPIO
|
||||
select HAVE_GPIO_ADC
|
||||
select HAVE_GPIO_BITBANGING
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
string
|
||||
default "stm32f0"
|
||||
|
||||
config CLOCK_FREQ
|
||||
int
|
||||
default 48000000
|
||||
|
||||
config CANSERIAL
|
||||
bool "Use CAN bus for communication (instead of serial)"
|
||||
default y
|
||||
config SERIAL
|
||||
depends on !CANSERIAL
|
||||
bool
|
||||
default y
|
||||
|
||||
config SERIAL_BAUD
|
||||
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL
|
||||
default 500000 if CANSERIAL
|
||||
|
||||
config DEBUG_OUT
|
||||
bool "Use debug output to UART TX pin"
|
||||
depends on CANSERIAL
|
||||
default y
|
||||
|
||||
config USE_LOG
|
||||
string
|
||||
default "USE_LOG" if DEBUG_OUT
|
||||
default "NO_LOG" if !DEBUG_OUT
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user