71 Commits

Author SHA1 Message Date
Fabien Chouteau
05674c7da2 Replace riscv32-elf with riscv64-elf
GNAT FSF compiler only comes in riscv64-elf version that supports both 32 and 64 RISC-V.
2025-05-15 10:49:56 +02:00
Maxim Reznik
72e36aad8a Fix ILI9341 display driver with SPI connector
and provide a demo for it.
2025-01-26 18:29:10 +02:00
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
503ec28492 Check that each supported board is mentioned in README.md 2023-12-06 16:38:32 +02:00
Maxim Reznik
580945562d Add touch panel to stm32_f4ve board 2023-12-06 16:38:32 +02:00
Maxim Reznik
724b7462a4 Add TFT LCD ILI9341 to STM32 F4VE board. 2023-12-06 16:38:32 +02:00
Maxim Reznik
7232cb4069 Add STM32 F4VE board. 2023-12-06 16:38:32 +02:00
Maxim Reznik
945dde1dbc Add FSMC for stm32f40X 2023-12-06 16:38:32 +02:00
Maxim Reznik
f79cd470a0 Add SD card examples for stm32f4xx_m. 2023-12-06 16:38:32 +02:00
Maxim Reznik
5712224102 Move STM32.Board package for stm32f4xx_m
into `boards/stm32f4xx_m/src/` to have it closer to other sources.
2023-12-06 16:38:32 +02:00
Maxim Reznik
51e21e7160 Add SD card to stm32f4xx_m board 2023-12-06 16:38:32 +02: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
Maxim Reznik
f607a9a7b7 Add HAL for flash memory chips and an example
for w25q16bv on stm32f4xx_m.
2023-10-14 18:17:58 +03:00
Maxim Reznik
b451a32266 Add STM32F4XX M DevEBox board
https://stm32-base.org/boards/STM32F407VGT6-STM32F4XX-M
2023-10-14 18:17:58 +03: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
Andrey Fil
647eac212a install_dependencies.py Support for utf-8 stdout returned text for Linux (#416) 2022-11-28 15:53:29 +01:00
Fabien Chouteau
d1bec4f6bb scipts/install_dependencies.py: fix branch error and exit early on error (#388) 2021-06-28 18:20:09 +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
Jeremy Grosser
830fde073a PCD8544 LCD driver (#364) 2020-09-17 14:49:10 +02:00
Fabien Chouteau
c9290bc39d Add RISC-V performance CSR support (#363)
* Add RISC-V performance CSR support

* RISC-V Read_CSR_64: fix rv32 version

* RISC-V improve CSR support

Add sub-program to swap, set bits, clear bits, etc.
Instantiate sub-programs for all machine CSRs.
2020-09-15 18:08:30 +02:00
Jeremy Grosser
0c93f623d0 Olimex STM32-H405 board support (#356)
* Olimex STM32-H405 board support

* Add STM32-H405 to build_all_examples.py, fix for style checks

* Use stm32f4 runtime for STM32-H405 board

* Add STM32_H405 to board_projects_generator.py
2020-07-30 12:31:31 +02:00
Fabien Chouteau
9f88a65a31 scripts/config/user_input/console.py: Python3 migration
raw_input() is renamed to input().

Part of #354.
2020-07-08 09:55:15 +02:00
Fabien Chouteau
4bb75b423f scripts/install_dependencies.py: report errors from dependency script 2020-06-16 16:31:37 +02:00
Fabien Chouteau
9151a3c096 Python3 migration 2020-05-29 18:56:37 +02:00
Fabien Chouteau
5a197cfbeb Migration to GNAT Community 2020 2020-05-29 18:56:37 +02:00