Merge pull request #2613 from openmv/add_ram_sec
Some checks failed
🔎 Check Code Formatting / formatting-check (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_GIGA) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_33_BLE_SENSE) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_RP2040_CONNECT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NICLA_VISION) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_PORTENTA_H7) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV2) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV3) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4P) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMVPT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV_RT1060) (push) Has been cancelled
🔥 Firmware Build / code-size-report (push) Has been cancelled
🔥 Firmware Build / stable-release (push) Has been cancelled
🔥 Firmware Build / development-release (push) Has been cancelled

ports/stm32: Add .ram_function section.
This commit is contained in:
Ibrahim Abdelkader 2025-02-16 16:51:59 +02:00 committed by GitHub
commit 8de3ced026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,6 +122,8 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
*(.data*) // .data* sections *(.data*) // .data* sections
. = ALIGN(4); . = ALIGN(4);
*(.ram_function*)
. = ALIGN(4);
_edata = .; // Define a global symbol at data end _edata = .; // Define a global symbol at data end
} >OMV_MAIN_MEMORY AT> FLASH_TEXT } >OMV_MAIN_MEMORY AT> FLASH_TEXT