modules: Add option for enabling HAL debug functions

Add GD32_DBG_SUPPORT options to enable HAL debug functions.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi 2022-07-08 00:51:00 +09:00 committed by Carles Cufí
commit 2e3cfec25d

View file

@ -70,6 +70,15 @@ config GD32_LOW_SPEED_IRC_FREQUENCY
help
Define value of low speed internal RC oscillator (IRC) in Hz
config GD32_DBG_SUPPORT
bool "Use GD32 Debug features"
select USE_GD32_DBG
default y
help
Enable GD32 Debug features.
This option makes allows using functions that access to
DBG_CTL register such as dbg_periph_enable().
config USE_GD32_ADC
bool
help