mirror of
https://github.com/Fishwaldo/OBLFR.git
synced 2025-03-15 19:31:28 +00:00
* Initial Work on setting custom BSP for ox64 * add M1S Dock BSP * Add Apache 2.0 License file * refactor to support bl702 and BL616 Chips * Update SDK Variable name * Ensure we get the BOARD from our proj.conf when recompiling * Till bl_mcu_sdk merge https://github.com/bouffalolab/bl_mcu_sdk/pull/82 lets just let Make warn about overriding targets * change PINE64_SDK_PATH to OBLFR_SDK_PATH
60 lines
2 KiB
Text
60 lines
2 KiB
Text
osource "$(BFLB_BOARD_DIR)/$(BFLB_BOARD)/Kconfig"
|
|
osource "$(BFLB_BOARD_DIR)/common/$(BFLB_CHIP)/Kconfig"
|
|
comment "Generic BSP Config"
|
|
menuconfig JTAG_DEBUG
|
|
bool "JTAG debug support"
|
|
help
|
|
This option enables JTAG debug module and pins.
|
|
|
|
if JTAG_DEBUG
|
|
if CHIP_BL808
|
|
choice
|
|
prompt "CPU To attach JTAG Debug Socket to"
|
|
default JTAG_DEBUG_M0
|
|
help
|
|
Select the core to attach the JTAG Debug Socket to.
|
|
config JTAG_DEBUG_M0
|
|
bool "Debug M0 Core"
|
|
config JTAG_DEBUG_D0
|
|
bool "Debug D0 Core"
|
|
config JTAG_DEBUG_LP
|
|
bool "Debug LP Core"
|
|
endchoice
|
|
endif
|
|
choice
|
|
prompt "JTAG Debug Pins"
|
|
default JTAG_DEBUG_PINS_GRP0 if BOARD_OX64
|
|
default JTAG_DEBUG_PINS_GRP1 if BOARD_M1S_DOCK
|
|
help
|
|
Select the JTAG Debug Pins to use.
|
|
config JTAG_DEBUG_PINS_GRP0
|
|
bool "JTAG Debug Pins Group 0"
|
|
help
|
|
JTAG Debug Pins are on:
|
|
- JTAG_TMS on GPIO6
|
|
- JTAG_TDO on GPIO7
|
|
- JTAG_TCK on GPIO12
|
|
- JTAG_TDI on GPIO13
|
|
This is the default debug header on the OX64 board
|
|
|
|
config JTAG_DEBUG_PINS_GRP1
|
|
bool "JTAG Debug Pins Group 1"
|
|
help
|
|
JTAG Debug Pins are on:
|
|
- JTAG_TMS on GPIO0
|
|
- JTAG_TDO on GPIO1
|
|
- JTAG_TCK on GPIO2
|
|
- JTAG_TDI on GPIO3
|
|
This configuration is used on the M1S Dock board
|
|
with the tf2jtag adapter board.
|
|
endchoice
|
|
endif
|
|
menu "Pinmux"
|
|
if BOARD_HAS_SDCARD
|
|
config PINMUX_ENABLE_SDH
|
|
bool "Enable SD Card Pinmux and Clock"
|
|
default y
|
|
help
|
|
Enable SD Card Pinmux and Clocks
|
|
endif
|
|
endmenu
|