‑‑no_literal_pool
In this section:
Syntax
‑‑no_literal_pool
Description
Use this option for code that should run from a memory region where it is not allowed to read data, only to execute code.
When this option is used, the linker will use the MOV32 pseudo instruction in a mode-changing veneer, to avoid using the data bus to load the destination address. The option also means that libraries compiled with this option will be used.
The option ‑‑no_literal_pool is only allowed for Armv6-M and Armv7-M cores (includes Armv8-M, Armv8.1-M, Armv8-A and Armv8-R cores).
See also
Caution
To set this option, use Project>Options>Linker>Extra Options.