scripts/dts/extract_dts_includes.py: add ccm support
Add support for generating CONFIG_CCM_BASE_ADDRESS and CONFIG_CCM_SIZE from the dts files. Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
parent
581446d8cd
commit
e4890181b4
|
@ -869,6 +869,10 @@ def main():
|
|||
extract_reg_prop(chosen['zephyr,sram'], None,
|
||||
defs, "CONFIG_SRAM", 1024, None)
|
||||
|
||||
if 'zephyr,ccm' in chosen:
|
||||
extract_reg_prop(chosen['zephyr,ccm'], None,
|
||||
defs, "CONFIG_CCM", 1024, None)
|
||||
|
||||
name_dict = {
|
||||
"CONFIG_UART_CONSOLE_ON_DEV_NAME": "zephyr,console",
|
||||
"CONFIG_BT_UART_ON_DEV_NAME": "zephyr,bt-uart",
|
||||
|
|
Loading…
Reference in New Issue