Commit Graph

22 Commits

Author SHA1 Message Date
Robin Mueller
b24e81423e STM32H7 ethernet pin corrections
These patches were submitted a few months ago, but it was found out
that the default-by-family: [] were missing in the GPIO .yml lines.
This was fixed in this patch.

This patch accounts for different pins for the ETH peripheral
on STM32H7 devices. For example, the Nucleo H743ZI has slightly
different pins than other STM32H7 boards.
2021-07-20 07:37:42 +02:00
Sebastian Huber
94cf67ca66 bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAX
This define is no longer used.

Update #3269.
2021-06-24 11:36:27 +02:00
Sebastian Huber
cd5573c09d bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNT
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT.

After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be
removed and replaced by BSP_INTERRUPT_VECTOR_COUNT.  The
BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no
interrupt vector at all.  Using COUNT instead of MAX may avoid some
interpretation issues, for example is the maximum value a valid vector number
or not.

Update #3269.
2021-06-24 11:35:49 +02:00
Sebastian Huber
af73b7b64b bsps/irq: Remove BSP_INTERRUPT_VECTOR_MIN
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector
numbers start with zero.

The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit
and building all BSPs.

Update #3269.
2021-06-24 11:35:49 +02:00
Robin Mueller
37649355ce Implementation for STM32 HAL_GetTick using RTEMS
Uses configured millisecond per ticks
2021-04-26 11:24:22 +02:00
Robin Mueller
100c050cbd Updated tick implementation for HAL_GetTick
This now uses rtems_clock_get_uptime_nanoseconds
to calculate the uptime ticks in milliseconds.
2021-04-20 19:11:15 +02:00
Sebastian Huber
05cd707d28 arm/stm32h7: Add STM32H7_USART3_GPIO_* 2021-04-06 09:56:41 +02:00
Sebastian Huber
6bb6b69bb6 arm/stm32h7: Add STM32H7_HSE_FREQUENCY 2021-04-06 09:43:23 +02:00
Christian Mauderer
8fd29cfbc5 stm32h7: Add init for sdmmc pins
Update #4372
2021-04-01 09:04:23 +02:00
Christian Mauderer
aa9e3c6211 stm32h7: Add SDMMC modules to clock
Update #4372
2021-04-01 09:04:21 +02:00
Sebastian Huber
b361eabd93 bsps: Replace bsp_specs with an empty file
This fixes an issue with the latest tool chain which adds the default
linker script in the endfile specification.

Update #3250.
2021-01-28 06:28:33 +01:00
Sebastian Huber
6600585fc8 bsp/stm32h7: Split console configuration
This allows applications to individually provide configuration
structures.

Update #4209.
2021-01-04 19:23:15 +01:00
Sebastian Huber
affc8de85f bsp/stm32h7: Split start configuration
This allows applications to individually provide configuration
structures.

Update #4209.
2021-01-04 19:22:53 +01:00
Sebastian Huber
fe58f6ce4b bsp/stm32h7: Add and use BSP Doxygen group
Update #3910.
2020-11-26 08:21:46 +01:00
Christian Mauderer
b169095c7d cpu/armv7m: Add table based init for ARMV7M_MPU
Modify the MPU functions of the stm32h7 BSP to be table based and
available for all ARMV7M BSPs.

Update #4180
2020-11-20 08:53:18 +01:00
Sebastian Huber
99494370d6 bsp/stm32h7: New BSP
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
c44e404888 bsp/stm32h7: Fix warnings
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
e4ba06f8b4 bsp/stm32h7: Disable unused functions
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
abb78587b6 bsp/stm32h7: Enable LL drivers
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
2f157e2007 bsp/stm32h7: Move <math.h> include
This is necessary for libbsd compatibility.

Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
2cfcd005e9 bsp/stm32h7: Constify some functions
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
2131228f79 bsp/stm32h7: Import from STM32CubeMX-5.6.0
Update #3910.
2020-10-27 06:11:44 +01:00