Ada_Drivers_Library/scripts
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
..
config Add STM32 F4VE board. 2023-12-06 16:38:32 +02:00
build_all_examples.py Add touch panel to stm32_f4ve board 2023-12-06 16:38:32 +02:00
check_readme.py Check that each supported board is mentioned in README.md 2023-12-06 16:38:32 +02:00
project_wizard.py Provide control over -fcallgraph-info in project wizard. 2024-02-27 15:52:11 +00:00