Skip to content

Commit 864e459

Browse files
iabdalkaderdpgeorge
authored andcommitted
stm32/boards/ARDUINO_PORTENTA_H7: Enable OpenAMP.
Signed-off-by: iabdalkader <[email protected]>
1 parent fc97343 commit 864e459

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ MICROPY_PY_LWIP = 1
2323
MICROPY_PY_NETWORK_CYW43 = 1
2424
MICROPY_PY_SSL = 1
2525
MICROPY_SSL_MBEDTLS = 1
26+
MICROPY_PY_OPENAMP = 1
27+
MICROPY_PY_OPENAMP_REMOTEPROC = 1
2628

2729
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
2830
MBEDTLS_CONFIG_FILE = '"$(BOARD_DIR)/mbedtls_config_board.h"'

ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h747.ld

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ MEMORY
1414
SRAM4 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K /* SRAM4 D3 */
1515
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K /* Total available flash */
1616
FLASH_EXT (rx) : ORIGIN = 0x90000000, LENGTH = 16384K /* 16MBs external QSPI flash */
17-
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* sector 1 -> Flash storage */
18-
FLASH_TEXT (rx) : ORIGIN = 0x08040000, LENGTH = 1792K /* Sector 0 -> Arduino Bootloader
19-
Sector 1 -> Reserved for CM4/FS
20-
Sectors 2 -> 15 firmware */
17+
FLASH_BL (rx) : ORIGIN = 0x08000000, LENGTH = 128K /* Arduino bootloader */
18+
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* filesystem */
19+
FLASH_TEXT (rx) : ORIGIN = 0x08040000, LENGTH = 1280K /* CM7 firmware */
20+
FLASH_CM4 (rx) : ORIGIN = 0x08180000, LENGTH = 512K /* CM4 firmware */
2121
}
2222

2323
/* produce a link error if there is not this amount of RAM for these sections */
@@ -44,4 +44,8 @@ _micropy_hw_internal_flash_storage_ram_cache_end = ORIGIN(DTCM) + LENGTH(DTCM);
4444
_micropy_hw_internal_flash_storage_start = ORIGIN(FLASH_FS);
4545
_micropy_hw_internal_flash_storage_end = ORIGIN(FLASH_FS) + LENGTH(FLASH_FS);
4646

47+
/* OpenAMP shared memory region */
48+
_openamp_shm_region_start = ORIGIN(SRAM4);
49+
_openamp_shm_region_end = ORIGIN(SRAM4) + LENGTH(SRAM4);
50+
4751
INCLUDE common_blifs.ld

0 commit comments

Comments
 (0)