17 Commits

Author SHA1 Message Date
Simon Wright
eca308e040 Provide control over -fcallgraph-info in project wizard.
In [GCC PR 104342](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104342)
we can see that, if checking out a non-release compiler (e.g. GCC
14.0.1), having `-gnata` and `-fcallgraph-info=su` will cause a crash
(in stm32 code, anyway).

`-gnata` is used when Build is Debug.

This patch amends the Project Wizard so you can specify `CALLGRAPHS=Disabled`.

  * scripts/project_wizard.py (Build_Checks_Type): renamed to
      Disabled_Or_Enabled_Type.
    (Build_Checks): now Disabled_Or_Enabled_Type.
    (Callgraphs): new, checks external CALLGRAPHS, default Enabled. Used
      to decide whether to include -fcallgraph-info=su even if Target
      isn't riscv32-unknown-elf.
2024-02-27 15:52:11 +00:00
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
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
9151a3c096 Python3 migration 2020-05-29 18:56:37 +02:00
Shawn Nock
d26e14e5c2 nRF52832 and nRF52 DK Support 2020-03-10 17:22:21 +01:00
Fabien Chouteau
8677f892a9 Add SiFive Unleased definition including a new device definition system
In the future, this device definition system could be combined with a
device tree parser.
2019-09-06 12:35:02 +02: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
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
2c681438ba project_wizard.py: Fix typo in config key name 2018-04-27 21:16:41 +02:00
Fabien Chouteau
571f0d2f1a Remove unused project files 2018-04-27 21:16:41 +02:00
Fabien Chouteau
0d4618a793 configuration: Fix missing middleware source directory 2018-04-27 21:16:41 +02:00
Fabien Chouteau
2fcb440d7c configuration: Add a couple of FS related config keys 2018-04-27 21:16:41 +02:00
Fabien Chouteau
56bc9faa63 Create project configuration scripts 2018-04-27 21:16:40 +02:00