diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-14 21:53:56 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-04-16 13:08:35 +0200 |
| commit | 5a9135961f34505714e23f12e4cf4bacfa492dcd (patch) | |
| tree | 14c986e17ee46a633ecce02d0f6b0c88ceb1c86b /examples/rp2040_local_i2c_init/memory.x | |
| parent | ef8046b060a375fd5e6b23d62c3a9a303bbd6e11 (diff) | |
Split remove old examples
Diffstat (limited to 'examples/rp2040_local_i2c_init/memory.x')
| -rw-r--r-- | examples/rp2040_local_i2c_init/memory.x | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/rp2040_local_i2c_init/memory.x b/examples/rp2040_local_i2c_init/memory.x new file mode 100644 index 0000000..4077aab --- /dev/null +++ b/examples/rp2040_local_i2c_init/memory.x @@ -0,0 +1,15 @@ +MEMORY { + BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100 + FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100 + RAM : ORIGIN = 0x20000000, LENGTH = 256K +} + +EXTERN(BOOT2_FIRMWARE) + +SECTIONS { + /* ### Boot loader */ + .boot2 ORIGIN(BOOT2) : + { + KEEP(*(.boot2)); + } > BOOT2 +} INSERT BEFORE .text; |
