296 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
Fabien Chouteau
b651d01dcf Remove unused with (#430) 2024-05-29 13:31:09 +02:00
Maxim Reznik
c45af336d0 Add missing aliased keywords in STM32_F4VE board
to allow `'Access` attributes
2023-12-20 18:23:27 +02:00
Maxim Reznik
4615730b4e Add UART at J6 connector to STM32.Board package 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
639e9031fb Split ili9341 into several files
* ili9341-device.ads - generic driver for display
* ili9341-spi_connector.ads - the chip with SPI interface
* ili9341-device-bitmap.ads - implement Bitmap API on the ILI9341 RAM
* ili9341-rgb_spi_device.ads - display with RGB interface
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
0aaf152c5b Create Flash memory in STM32.Board for stm32f4xx_m
Move flash initialization code into STM32.Board.
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
2e50b6885c Allow SD card detection pin to be shared with DAT3 pin.
In this configuration SDCard_Controller detects SD card
only betwee Initialize call and Card_Present=True.
After Card_Present because True the controller reconfigures
DAT3 to SDIO mode.
2023-12-06 16:38:32 +02:00
Maxim Reznik
31e36cf1c2 Fix LED on/off routines.
LED is on when pin output is zero.
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
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
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
Simon Wright
f100ce784e Use symbolic interrupt priority for SDMMC. (#382)
* Use symbolic interrupt priority for SDMMC.

  * arch/ARM/STM32/drivers/sd/stm32-sdmmc_interrupt.ads
    (SDMMC_Interrupt_Handler): Supply the required interrupt priority via
      a discriminant.

* Added omitted 'with System'.

  * arch/ARM/STM32/drivers/sd/stm32-sdmmc_interrupt.ads: as summary.

* Matching change for boards where SDCard is used.

 * boards/stm32_common/sdcard/sdcard.adb (SD_Interrupt_Handler):
     include Priority discriminant.
2021-03-11 11:53:35 +01:00
Fabien Chouteau
00cc208e37 Micro:bit: detect incompatible accelerometers (#376) 2020-12-01 11:43:59 +01: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
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
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
Simon Wright
4b3873548b Added procedure to configure the external SPI Computer Select pin.
* boards/crazyflie/src/stm32-board.ads fixed (C) to AdaCore style.
    (Configure_EXT_CS): new.
  * boards/crazyflie/src/stm32-board.adb: likewise. Added box comments.
2020-06-08 10:58:46 +02:00