66 Commits

Author SHA1 Message Date
Maxim Reznik
f5f17346d8 Move 'for Target use xxx;' up
to fix loading project in VSCode extension and avoid

> error: cannot set configuration attribute "Target" after it was referenced

See details in GPR issue #166.
2023-12-01 14:45:54 +02:00
Fabien Chouteau
13b379aad3 Switch to GNAT FSF 12 support (#418)
* Switch to GNAT FSF 12 support

* GNAT FSF 12 in GitHub CI

* Update README.md

* Remove run-time dependency build script that is not compatible with GNAT FSF

This script is also not needed as all the BSPs are included in GNAT FSF.
2023-01-02 11:34:55 +01:00
mbdme26
fad121a9f2 Changes has been made to the i2c inicialization (#402)
* Changes has been made to the i2c inicialization, specifically in the SDA and SCL pins

* All changes requested has been made

* Style issues solved
2022-04-19 15:12:35 +02:00
Fabien Chouteau
0ccb49fb9f Community 2021 (#386)
* Update for GNAT Community 2021

* Update workflow for CE2021
2021-05-26 12:24:22 +02:00
Fabien Chouteau
00cc208e37 Micro:bit: detect incompatible accelerometers (#376) 2020-12-01 11:43:59 +01:00
Stian Onarheim
c753e3ef25 Added Frown, Cross, Checkmark and Heart symbols (#360)
* Added Frown, Cross, Checkmark and Heart symbols

* Removed trailing spaces
2020-09-01 16:21:25 +02:00
Fabien Chouteau
3e828649f8 Bump copyright notice 2020-03-10 17:22:21 +01:00
Shawn Nock
d26e14e5c2 nRF52832 and nRF52 DK Support 2020-03-10 17:22:21 +01:00
Fabien Chouteau
6eb0b3473f micro:bit: add an example for the accelerometer
The accelerometer init procedure is replaced by elaboration initialization to
match the interface of the other micro:bit features.
2019-11-12 17:57:14 +01:00
Fabien Chouteau
b1b3d1dfe2 MicroBit: Add console package
Provides an interface to send and receive character on the UART over USB
line of the MicroBit.
2019-10-28 11:02:44 +01:00
Fabien Chouteau
456c3231ac Use startup-gen on MicroBit board support 2019-08-22 19:53:17 +02:00
Fabien Chouteau
2b7931dc31 Add support for startup-gen
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.
2019-08-22 19:53:17 +02:00
Thomas Quinot
d1a8c341c5 Add support for NeoPixel and similar LED strips (#302)
* 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
2019-07-09 16:42:32 +02:00
Fabien Chouteau
6a08295037 Turn off warnings for anonymous allocators 2019-06-21 18:44:44 +02:00
Thomas Quinot
997b5e39f3 Fix typo in comment 2019-04-30 10:26:31 +02:00
Fabien Chouteau
5a295f2184 MicroBit.I2C: clean up device definition 2018-10-26 19:32:51 +02:00
Fabien Chouteau
55afc38909 MicroBit: add SPI support 2018-10-26 19:32:51 +02:00
Thomas Quinot
419345d7eb Ensure value of State is correct even in state change callbacks
Update the States array prior to calling button state change callbacks,
so that it reflects the current, not previous, state of buttons.
2018-10-05 14:38:12 +02:00
Thomas Quinot
466f0dc4a2 Add minimal example of servo motor control. 2018-09-26 18:32:21 +02:00
Fabien Chouteau
48a4f35c38 Optional style checks and warning as error switches
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
2018-09-03 20:00:01 +02:00
Fabien Chouteau
21cc91b974 MicroBit: Add Music package to play simple tunes on a buzzer 2018-07-13 19:44:34 +02:00
Fabien Chouteau
b1329b9421 MicroBit.IOs: Remove Touched function until it is actually implemented 2018-07-13 19:44:34 +02:00
Fabien Chouteau
c6c6881365 MicroBit.IOs: Implement analog output using PWM signals 2018-07-13 19:44:34 +02:00
Fabien Chouteau
45de87cbcf MicroBit: Add accelerometer driver 2018-07-13 19:44:34 +02:00
Fabien Chouteau
0eb5d1c6d4 MicroBit.I2C: Fix precondition and initialization 2018-07-13 19:44:34 +02:00