Martin Kojtal
c4c28773aa
Merge pull request #14149 from jeromecoutant/PR_G4
...
STM32G4: enable TRNG and correct dual bank flash detection
2021-01-19 09:19:37 +00:00
jeromecoutant
61d00d858f
STM32G4: dual bank FLASH detection
2021-01-13 16:45:03 +01:00
jeromecoutant
eb627788ca
STM32G4: TRNG enabled
...
+ some cleanup/optimisation in SetSysClock
2021-01-13 16:44:57 +01:00
pea-pod
e1c754b179
Add SPI bitwidths to ST targets where supported
2021-01-11 07:53:07 -06:00
Martin Kojtal
fc16d2bae7
STM: fix ARMClang sct files, using proper -E command
...
This is required for ARMClang, otherwise there is an error with unknown command.
2020-11-25 13:35:36 +00:00
Martin Kojtal
ced4aa6e2d
Merge pull request #13939 from jeromecoutant/PR_LSEDRIVE
...
STM32: LSE DRIVE feature update
2020-11-24 14:13:52 +00:00
Martin Kojtal
a1fc9cdad5
Merge pull request #13915 from 0xc0170/cmake-stm32
...
CMake: add all TARGET_STM targets
2020-11-24 14:09:28 +00:00
jeromecoutant
29af76fcca
STM32: LSE DRIVE feature update
2020-11-20 17:31:26 +01:00
reme
16e63dc108
STM32 FLASH API : add critical sections
...
See PR #13802 (for F4 board)
Concerned boards are
STM32F0
STM32F1
STM32F2
STM32F3
STM32F4
STM32F7
STM32G0
STM32G4
STM32H7
STM32L0
STM32L1
STM32L4
STM32L5
Adding test of return code of HAL_FLASH_Lock() function
Adding board STM32F4
Running AStyle
2020-11-20 08:03:24 +00:00
Martin Kojtal
fea34ce976
CMake: add STM32G4 targets
2020-11-17 15:17:17 +00:00
jeromecoutant
759a817005
STM32G4: STM32Cube_FW_G4_V1.3.0
...
source: https://github.com/STMicroelectronics/STM32CubeG4
2020-10-16 17:31:04 +02:00
jeromecoutant
cd99f641dc
STM32G4: cleanup
2020-10-16 17:31:03 +02:00
jeromecoutant
4f95500dc9
STM32G4: target directoty restructuration
...
- Alignment with other STM32 families
- Subfamily level in targets.json
2020-10-16 17:31:03 +02:00
Harrison Mutai
4fad1112e5
Add SPDX license identifier to Arm files
...
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
George Beckstein
76d488ded1
Revert sampling time decrease and remove todos.
2020-09-22 09:32:14 -04:00
jeromecoutant
bbc7355df5
Merge internal ADC channel changes from ST
...
Co-authored-by: jeromecoutant <jerome.coutant@st.com>
2020-09-21 12:26:23 -04:00
George Beckstein
bbc15f65c0
Implemented adc deinitialization functionality
2020-09-21 12:19:50 -04:00
George Beckstein
e9d6c9c0b1
Fix AnalogIn implementation on STM32G4 series
2020-09-21 12:19:50 -04:00
Martin Kojtal
75544a7ce0
Merge pull request #13565 from m-ecry/feature-stm32g4-can-support
...
Feature stm32g4 can support
2020-09-17 15:08:46 +01:00
m-ecry
73493b909a
STM-can-api: Fixed variable name for H7
...
- can_frequency uses f instead of hz for can frequency
- Also added comment to system_clock
2020-09-16 17:35:32 +02:00
m-ecry
2a13fa199d
STMG4-sys-clk: If can PLLQ=160MHz, else 170MHz
...
- with 170MHz as can-core-frequency, the accuracy for many baudrates is
too low. 160MHz is better for a broad range of frequencies
2020-09-14 18:15:41 +02:00
Jaeden Amero
612b148fd4
stack: armc: Workaround config passing bug
...
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Jaeden Amero
39e69d328d
Use boot stack size from config system
...
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.
Fixes #10319
2020-09-10 10:08:38 +01:00
Robert
14ac4064b7
STM32Gx: LSI clock selection when LSE is not available
2020-09-07 14:47:11 +01:00
Martin Eckardt
f32efe4c28
Changed PLL to 160MHz, PLLQ to 80MHz
2020-09-07 02:04:13 +02:00
Martin Eckardt
9bc2deb9aa
make G4 target compileable with CAN support
2020-09-07 02:04:13 +02:00
George Beckstein
658d89be8c
Apply linker fix as in #12690 to new NUCLEO_G474RE target
2020-05-20 06:39:17 -04:00
George Beckstein
6e2fa616c7
Added spi_api.c implementation
2020-05-20 06:39:17 -04:00
George Beckstein
eb8d128a24
Updated system clock settings to run at 170MHz (max for this target). Affects both HSI and HSE modes.
2020-05-20 06:39:17 -04:00
George Beckstein
44ca862af3
Changed us_ticker configuration to use TIM5 instead of TIM2 to be consistent with the allowed PWM peripheral pins.
2020-05-20 06:39:17 -04:00
George Beckstein
2297e1b91e
Updated clock configuration settings for NUCLEO_G474RE
2020-05-20 06:39:17 -04:00
George Beckstein
c687ae312f
Added missing analogin_device.c file and configured for STM32G4xx series
2020-05-20 06:39:17 -04:00
George Beckstein
613af0f604
Added support for ANALOGOUT
2020-05-20 06:39:17 -04:00
George Beckstein
934d60e63d
Added support for FLASH API
2020-05-20 06:39:17 -04:00
George Beckstein
7f19c8ac6e
Added support for SPI API
2020-05-20 06:39:17 -04:00
George Beckstein
06d74aa37a
Added support for PWMOUT
2020-05-20 06:39:17 -04:00
George Beckstein
f59ec66710
Added support for INTERRUPTIN
2020-05-20 06:39:17 -04:00
George Beckstein
5e25e004df
Added support for I2C
2020-05-20 06:39:17 -04:00
George Beckstein
cc86ec99d0
Added ANALOGIN support
2020-05-20 06:39:17 -04:00
George Beckstein
3432960aa1
Implemented support for basic serial communication
2020-05-20 06:39:17 -04:00
George Beckstein
ec2544023d
Added basic support for NUCLEO_G747RE. Basic GPIO support and system initialization.
2020-05-20 06:39:17 -04:00
jeromecoutant
13ba114d12
STM32G4 DISCO_G474RE introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
2631bf8070
STM32G4 NUCLEO_G474RE introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
fd2bac73c9
STM32G4 NUCLEO_G431RB introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
85e8a59e84
STM32G4 NUCLEO_G431KB introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
35e3ce9034
STM32G4 automatic adaptation for MBED
2020-05-20 06:39:17 -04:00
jeromecoutant
b387ed6bc1
STM32G4 introduction
...
Import from STM32Cube_FW_G4_V1.1.0
2020-05-20 06:39:17 -04:00