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:
parent
db6d8c92ff
commit
2e3cfec25d
1 changed files with 9 additions and 0 deletions
|
@ -70,6 +70,15 @@ config GD32_LOW_SPEED_IRC_FREQUENCY
|
||||||
help
|
help
|
||||||
Define value of low speed internal RC oscillator (IRC) in Hz
|
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
|
config USE_GD32_ADC
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue