We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d56a7c commit 5fc9c9eCopy full SHA for 5fc9c9e
APIs_Platform/ScopedRomWriteLock/README.md
@@ -0,0 +1,3 @@
1
+## ScopedRamExecutionLock example
2
+
3
+The example shows how to use ScopedRomWriteLock class for enabling writing to ROM.
APIs_Platform/ScopedRomWriteLock/main.cpp
@@ -0,0 +1,9 @@
+#include "mbed.h"
+int main()
4
+{
5
+ // Enable execution from RAM while in main
6
+ ScopedRomWriteLock make_rom_writable;
7
8
+ //custom_flash_programming();
9
+}
0 commit comments