Have you checked to see if the file is actually compiling?
Yep
Have you checked the date on the .bin file to make sure itâs being overwritten?
Even removed it to make sure
Are you definitely looking at the MySettings.h that Bitmap is using?
As far as I can see it is the correct one.
Have you tried moving your comment above the line with the define instead of putting it on the same line?
Not sure what you mean, i did not alter the my settings from the bitmap example at all.
Just tried to do a build for my own program, this now seems to display on the correct screenmode. But the bitmap i am using is nothing more then a blob.
I am going to try to transfer the image to mbed to check that it is correct.
Final step 6: compile, get binary and put it on Pokitto, reset
To compile your program, press the build button shown below.
Immediately on the right side of the âbuldâ button is the ârebuildâ button.
Remember to rebuild completely if you change the project #defines or stuff inside My_settings.h. If you do not, the changes in graphics mode etc will not be done, because only a rebuild will recompile them
Your bin binary file will now appear in the /build folder. Put Pokitto in to USB mass storage mode. When in USB mass storage mode, the Pokitto appears as a storage device with the name CRP_DISABLED (this funny name only means that the device is not write-protected).
Finally delete existing âfirmware.binâ and copy the new bin you just made into the Pokitto. Reset to run your program.
Happy coding!
The Rebuild button is indeed there as a icon, but not from the pulldown menu. There it is only as Rebuild all targets
That might explain why removing the folder affected it.
Itâs possible that EmBitz recognised the folder being removed as a âchangeâ and forced a rebuild.
Rebuild is actually a shortcut for Clean target and then Build target.
I usually use clean target from time to time out of habit.
Iâm going to mark this one âsolvedâ.
The issue was almost certainly EmBitz using cached build settings to avoid rebuilding the whole library from scratch.