-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
47 lines (30 loc) · 904 Bytes
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
config USR_DRV_FLASH
bool "userspace Flash driver"
default y
---help---
Support for STM32F4 internal flash hardware IP.
if USR_DRV_FLASH
menu "Flash driver options"
choice
prompt "Flash size (SoC dependent)"
default USR_DRV_FLASH_2M if STM32F439
default USR_DRV_FLASH_1M
config USR_DRV_FLASH_1M
bool "1Mb Megabyte flash size (in single or dual banking)"
config USR_DRV_FLASH_2M
bool "2MBytes flash size (in dual banking only)"
depends on STM32F439
select USR_DEV_FLASH_DUAL_BANK
endchoice
choice
prompt "Flash banking mode"
default USR_DRV_FLASH_DUAL_BANK if STM32F429 || STM32F439
default USR_DRV_FLASH_SINGLE_BANK
config USR_DRV_FLASH_SINGLE_BANK
bool "any STM32F4xx in single bank mode"
config USR_DRV_FLASH_DUAL_BANK
bool "STM32F42x and STM32F43x SoC, with flash dual bank support"
depends on STM32F429 || STM32F439
endchoice
endmenu
endif