aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f411_encoder_polling/memory.x
diff options
context:
space:
mode:
authorMilton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com>2024-10-02 20:46:42 +0200
committerGitHub <noreply@github.com>2024-10-02 18:46:42 +0000
commit87a8b7490866cda9e5c6819eeb357647bdb8d36e (patch)
tree3b69862d31adfd0bc09d9098a9a998eaf4349295 /examples/stm32f411_encoder_polling/memory.x
parent805ea267a8515b7ee70125f444763f4aaa95c454 (diff)
Add example to poll encoder and display value on I2C display (#963)
Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local>
Diffstat (limited to 'examples/stm32f411_encoder_polling/memory.x')
-rw-r--r--examples/stm32f411_encoder_polling/memory.x6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/stm32f411_encoder_polling/memory.x b/examples/stm32f411_encoder_polling/memory.x
new file mode 100644
index 0000000..f77e9f2
--- /dev/null
+++ b/examples/stm32f411_encoder_polling/memory.x
@@ -0,0 +1,6 @@
+MEMORY
+{
+ /* NOTE 1 K = 1 KiBi = 1024 bytes */
+ FLASH : ORIGIN = 0x08000000, LENGTH = 512K
+ RAM : ORIGIN = 0x20000000, LENGTH = 96K
+} \ No newline at end of file