Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: YATTT sd_map_test cPong SnowDemo ... more
PokittoLib
Library for programming Pokitto hardware
How to Use
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
Diff: POKITTO_HW/iap.cpp
- Revision:
- 58:5f58a2846a20
- Parent:
- 52:c04087025cab
diff -r 63853054a4d9 -r 5f58a2846a20 POKITTO_HW/iap.cpp
--- a/POKITTO_HW/iap.cpp Tue Oct 02 20:38:50 2018 +0000
+++ b/POKITTO_HW/iap.cpp Sun Oct 07 10:06:28 2018 +0000
@@ -30,10 +30,10 @@
int CopyPageToFlash (uint32_t address, uint8_t* data) {
IAP iap_call = (IAP) IAP_LOCATION;
- uint32_t writecount=0;
+ //uint32_t writecount=0;
__disable_irq();
- unsigned int sector, page;
+ unsigned int sector;//, page;
bool firstpage=false, erasepage=false;
//DEBUG//
@@ -190,7 +190,7 @@
SCB->AIRCR = 0x05FA0004; //issue system reset
while(1); //should never come here
- return teahupoo;
+ //return teahupoo;
}