Commit Graph

137 Commits

Author SHA1 Message Date
Fabien Chouteau
ec09aafaa7 arch/svd.mk: fix typo
Part of #288
2019-01-23 17:55:54 +01:00
Fabien Chouteau
b68e50fa8d nRF51: add SPI master driver 2018-10-26 19:32:51 +02:00
Simon Wright
894c600e00 Don't use DMA Half Transfer Complete
* arch/ARM/STM32/drivers/dma_interrupts/stm32-dma-interrupts.adb
    (Start_Transfer): don't enable Half_Transfer_Complete_Interrupt.
    (Interrupt_Handler): don't check/clear Half_Transfer_Complete_Indicated.
2018-09-18 14:45:12 +01:00
Fabien Chouteau
195be507b2 nRF51.GPIO.Tasks_And_Events: Add functions to access out tasks and in events 2018-07-13 19:44:34 +02:00
Fabien Chouteau
1494491598 nRF51.TWI: Fix Master_Receive 2018-07-13 19:44:34 +02:00
Fabien Chouteau
ddab92871d Merge pull request #265 from AdaCore/gpio_capabilities
[RFC] HAL.GPIO: Switch to a capability system
2018-07-13 18:35:46 +02:00
Fabien Chouteau
cbdffd1b9c FE310: Remove useless with 2018-07-11 19:56:51 +02:00
Fabien Chouteau
4d32971732 HAL.GPIO: Switch to a capability system
Instead of returning False when a configuration is not supported, users
can call a function beforehand to know if it is supported. The
capability is also now a precondition of the setup procedures.
2018-07-11 18:46:16 +02:00
Fabien Chouteau
eb8f8b4d8a Merge pull request #264 from AdaCore/stm32_dma_interrupt
STM32 DMA interrupt controller
2018-07-11 17:45:19 +02:00
Fabien Chouteau
991725aab8 STM32.DMA.Interrupt: Allow custom priority
As discussed in #218.
2018-07-09 17:06:05 +02:00
Fabien Chouteau
ad9f282a73 STM32.Device: Remove pre-declaration of DMA_Interrupt_Controller
As discussed in #218, the declaration of all possible
DMA_Interrupt_Controller is not practical for users. In particular, it
means that all controllers will be included in the binary (even if they
are not used) and it doesn't give the possibility to set the priority of
the protected object.
2018-07-09 17:06:05 +02:00
Fabien Chouteau
4393bb829d Micro:bit example: Update for GNAT Community 2018 2018-06-27 15:57:37 +02:00
Fabien Chouteau
91eff5154b Semihosting.Filesystem: Fix unreferenced param warning 2018-06-27 15:57:37 +02:00
Fabien Chouteau
5f99d8bc13 Semihosting.Filesystem: Fix unreferenced param warning 2018-06-12 19:02:25 +02:00
elbric0
daf9c63736 Use Delay_Us for all the FE310 Delay_* procedures 2018-05-29 16:02:53 -04:00
elbric0
2639968068 Simplify the functions reading the FE310 Machine Timer and RTC 2018-05-29 16:02:31 -04:00
elbric0
e21a77bf82 Cosmetic changes
Following the comments made by Fabien Chouteau.
2018-05-29 16:02:24 -04:00
elbric0
a4118b227c Update the fe310_svd-spi.ads file with the one generated by the latest
version of svd2ada.
2018-05-08 08:07:03 -04:00
elbric0
2b32a3cb48 - Add support for the FE310 PLL
- Move the sub-package time from HiFive1 to FE310
2018-05-08 08:07:03 -04:00
elbric0
d13b080147 FE310: Add basic support for clock configuration. 2018-05-08 08:07:03 -04:00
elbric0
f368b799f0 - Delay procedures using the Machine Timer
- Different base addresses for the AON domain modules
- Fix a typo in fe310_svd-pwm.ads
2018-05-08 08:07:03 -04:00
elbric0
db78133955 Add FE310 RTC support. 2018-05-08 08:07:03 -04:00
Fabien Chouteau
571f0d2f1a Remove unused project files 2018-04-27 21:16:41 +02:00
Fabien Chouteau
f35018e95a STM32: Use HSE value from the configuration instead of runtime
This removes dependencies on internal run-time code.
2018-04-27 21:16:40 +02:00
Fabien Chouteau
e7873c90a8 Update example projects for new board support projects 2018-04-27 21:16:40 +02:00