Commit Graph

247 Commits

Author SHA1 Message Date
Maxim Reznik
49eb4e10e1 Add tagged types for BME280 sensors
to allow a user to declare several sensor objects and
process them in a uniform way.
2023-12-16 16:25:30 +02:00
Maxim Reznik
eb958405a8 Add BME280 LCD demo 2023-12-15 19:55:10 +02:00
Maxim Reznik
3e085bed97 Improve BME280 example
Check chip presense, reset it at the start, wait for
first measument. Use Ada.Text_IO instead of LCD.
2023-12-15 19:52:40 +02:00
Maxim Reznik
ed91289e5c Add pressure sensor for BME280 2023-12-15 19:49:41 +02:00
Maxim Reznik
cbe88c1922 Add humidity to BME280 sensor 2023-12-15 19:49:41 +02:00
Maxim Reznik
906d43d794 Add draft of BME280 driver 2023-12-15 19:49:34 +02:00
Maxim Reznik
22ae2aea53 Add more readme files. 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
f79cd470a0 Add SD card examples for stm32f4xx_m. 2023-12-06 16:38:32 +02:00
Maxim Reznik
dfbc15d772 Add more READMEs 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
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
Pat Rogers
249e15f6e6 Refine and strengthen package Audio (#410)
audio.ads:
Add precondition for protected procedure Start to ensure valid addresses.
Minor name improvements.

main.adb
Add Last_Chance_Handler to indicate when exceptions raised, if any.
Minor formatting
2022-05-31 16:08:33 +02:00
Pat Rogers
da9464829e corrections to serial_io facilities (#409)
demo-*:
use Unchecked_Access in these specific demos

serial_io-blocking.ads:
correct postcondition on procedure Receive so that empty content is handled properly

serial_io-nonblocking.ads:
add postconditions to procedure Receive
2022-05-30 15:40:25 +02:00
Pat Rogers
1dfd1ddf14 Significantly simplify Serial_IO.Nonblocking and revise associated files (#407)
* Significantly simplify Serial_IO.Nonblocking and revise associated files

serial_io:
Use better name for hardware init routines

serial_io.nonblocking:
Implement primary type Serial_Port directly as a protected type.
Add discriminant for IRQ priority.
Simplify transmission routine (remove a protected variable).
Remove pre/post for initialization since not worth extra complexity for type impl.
Use better names as replacements for Put/get.

serial_io.blocking:
Update names for procedures Put and Get to be same as those of package Nonblocking.
Update name for hardware init routine to be consistent with other packages.
Remove pre/post for initialization since not worth extra complexity for type impl.

serial_io.streaming:
Update names for procedures Put and Get to be same as in Blocking and Nonblocking.
Update name for hardware init routine to be consistent with other packages.
Remove pre/post for initialization since not worth extra complexity for type impl.

peripherals_nonblocking:
Specify new IRQ priority discriminant.
Remove unnecessary constant.
Improve comments.

peripherals_blocking:
Improve comments.

peripherals_streaming:
Improve comments.

demo mains:
Revise for name changes.
Improve comments.

* remove trailing blanks
2022-05-24 17:33:18 +02:00
Fabien Chouteau
f67115ada7 Various Microbit examples fixes and improvements (#367)
* micro:bit examples digital_out: fix resistor value

* micro:bit examples digital_in: fix resistor value

* Update README.md

* Typo

* Typo

* Update README.md

* Update README.md

* Update README.md (#366)
2020-09-18 13:16:44 +02:00
Jeremy Grosser
830fde073a PCD8544 LCD driver (#364) 2020-09-17 14:49:10 +02:00
Fabien Chouteau
4b5b967ed8 Update README.md 2020-08-06 19:24:16 +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
Wilbert van de Ridder
c7c545c2f2 doc: fix typo in README.md 2020-04-27 14:42:44 +02:00
Fernando Oleo Blanco
c958bb1d7f Improve HiFive Rev B documentation 2020-04-20 11:47:45 +02:00