PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
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:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_HW/iap.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_HW/iap.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -30,7 +30,6 @@ int CopyPageToFlash (uint32_t address, uint8_t* data) { IAP iap_call = (IAP) IAP_LOCATION; - uint32_t writecount=0; __disable_irq(); unsigned int sector; @@ -163,8 +162,8 @@ SCB->AIRCR = 0x05FA0004; //issue system reset - while(1); //should never come here - return teahupoo; + //while(1); //should never come here + return 0; }