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: WoYaoChengGOng V2-WoYaoChengGOng STM32_MagneticLight tape_Led_Sample ... more
Revision 26:c3193bc73cff, committed 2017-11-01
- Comitter:
- DavidEGrayson
- Date:
- Wed Nov 01 23:11:49 2017 +0000
- Parent:
- 25:d72818ba17cc
- Commit message:
- Make it be a compile-time error if GPIO_IP_WITHOUT_BRR is set.
Changed in this revision
PololuLedStrip.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PololuLedStrip.cpp Thu Nov 03 21:02:47 2016 +0000 +++ b/PololuLedStrip.cpp Wed Nov 01 23:11:49 2017 +0000 @@ -1,5 +1,12 @@ #include "PololuLedStrip.h" +// Our assembly code currently does not work with chip families like the STM32F4 +// that use the same register and a different mask for setting and clearing +// outputs. +#ifdef GPIO_IP_WITHOUT_BRR +#error This chip is not supported: does not have separate registers for setting and clearing GPIO outputs. +#endif + bool PololuLedStrip::interruptFriendly = false; // The two timed delays, in units of half-cycles.