startup-gen is a tool that generates crt0 and linker script from a
device configuration (CPU name, memory layout). The tool only works for
ZFP run-times right now.
This patch also switches the HiFive1 support to use startup-gen.
* Add support for NeoPixel and similar LED strips
* Rename MicroBit.IOs.LEDs to MicroBit.IOs.NeoPixel
As suggested on #302.
* Regenerate projects after addition of NeoPixel middleware
This patch makes style checks and warning as error switches controllable
with a scenario variable: ADL_BUILD_CHECKS (disabled by default).
With this we can enforce style checks on all contributions by enabling
ADL_BUILD_CHECKS in testsuite runs and CI builds.
On the other hand the checks are disabled by default which means it is
easier and more friendly to play with the library and the examples.
Part of #271
As discussed in #267, MicroBit.Time was configuring the Low Frequency
Clock to use an external crystal, but there is no LFC external crystal
on the micro:bit. Also the button B is connected to the pin used for the
LFC crystal, so this configuration meant the pin was actually not
available as GPIO for the button code.
MicroBit.Time now uses synthesized clock for LFC so the pin is available
for button B.