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!
Revision 69:f9f49ff29720, committed 2019-12-25
- Comitter:
- Pokitto
- Date:
- Wed Dec 25 22:12:01 2019 +0000
- Parent:
- 66:6281a40d73e6
- Child:
- 70:770c9727f951
- Commit message:
- Added fixes needed for ARMCC 6 compiler
Changed in this revision
--- a/POKITTO_CORE/PokittoDisplay.cpp Sat Mar 23 20:03:34 2019 +0000
+++ b/POKITTO_CORE/PokittoDisplay.cpp Wed Dec 25 22:12:01 2019 +0000
@@ -519,7 +519,7 @@
}
void (*drawPixel[])(int16_t,int16_t, uint8_t) = {drawPixelBG, drawPixelFG};
- uint8_t colors[] = {bgcolor, color};
+ uint8_t colors[] = {(uint8_t)bgcolor, (uint8_t)color};
#if PROJ_ARDUBOY > 0
#else
--- a/mbed-pokitto/common/retarget.cpp Sat Mar 23 20:03:34 2019 +0000
+++ b/mbed-pokitto/common/retarget.cpp Wed Dec 25 22:12:01 2019 +0000
@@ -31,7 +31,8 @@
# define PREFIX(x) _sys##x
# define OPEN_MAX _SYS_OPEN
# ifdef __MICROLIB
-# pragma import(__use_full_stdio)
+//# pragma import(__use_full_stdio)
+__asm(".global __use_full_stdio");
# endif
#elif defined(__ICCARM__)
--- a/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp Sat Mar 23 20:03:34 2019 +0000 +++ b/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp Wed Dec 25 22:12:01 2019 +0000 @@ -11,6 +11,7 @@ #include <rt_misc.h> #include <stdint.h> +#include <arm_compat.h> extern char Image$$RW_IRAM1$$ZI$$Limit[];