jeromecoutant
338e37abee
STM32F4: license header alignment
2021-03-10 08:45:47 +01:00
jeromecoutant
de27e83302
STM32F4: move common files
2021-03-10 08:45:47 +01:00
jeromecoutant
82a31782ec
STM32F4: move TARGET_MTS_MDOT_F411RE info STM32F411xE
2021-03-10 08:45:46 +01:00
jeromecoutant
bccef1a6eb
STM32F4: move TARGET_MTS_DRAGONFLY_F411RE info STM32F411xE
2021-03-10 08:45:45 +01:00
jeromecoutant
3d1d3b76bb
STM32F4: align CMakeLists.txt for all families
2021-03-10 08:45:45 +01:00
Martin Kojtal
0e89f9d6d9
Merge pull request #14337 from jeromecoutant/PR_STM32L1_1102
...
STM32L1 update drivers version to CUBE V1.10.2
2021-03-09 17:37:58 +00:00
jeromecoutant
1eb16d1f25
STM32 : gpio_reset_at_init disabled with MBED_DEBUG
2021-03-09 12:33:25 +01:00
jeromecoutant
898439930a
STM32L1 : license header alignment
2021-03-09 12:33:25 +01:00
jeromecoutant
30c843ede7
STM32L1 : STM32Cube_FW 1.10.2
2021-03-09 12:33:16 +01:00
jeromecoutant
6b57fd48a8
STM32L1 : targets restructuration
...
- alignment with other STM32 families
2021-03-09 12:32:42 +01:00
jeromecoutant
95ebb3d7b6
STM32L1 : directory restructuring
2021-03-09 12:32:42 +01:00
jeromecoutant
806417853d
STM32WB: enable QSPI for custom boards
2021-03-08 16:51:53 +01:00
Martin Kojtal
e37f7a67f2
Merge pull request #14351 from ladislas/ladislas/stm32f7/use_callbacks
...
STM32 - Add if !defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-03-08 11:08:45 +00:00
Harrison Mutai
da73b4bf8d
CMake: Refactor target MCU_STM32F103xE library name
2021-03-04 15:37:47 +00:00
Martin Kojtal
876032b818
Merge pull request #14338 from jeromecoutant/PR_README_CLOCK
...
STM32: update readme with clock information
2021-03-03 08:54:26 +00:00
Martin Kojtal
1e3834325f
Merge pull request #14303 from ycsin/master
...
Add STM32F103xE SOC support
2021-03-02 16:43:38 +00:00
Ladislas de Toldi
b12481b3c3
STM32WB - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:20:11 +01:00
Ladislas de Toldi
c68c210a47
STM32L5 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:19:17 +01:00
Ladislas de Toldi
40120e6036
STM32L4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:18:24 +01:00
Ladislas de Toldi
2c1d37e4a5
STM32L0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:17:14 +01:00
Ladislas de Toldi
8361fda30f
STM32H7 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:16:37 +01:00
Ladislas de Toldi
1d4742e8c3
STM32G4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:15:47 +01:00
Ladislas de Toldi
09457e2cf8
STM32G0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:14:50 +01:00
Ladislas de Toldi
758d4c4245
STM32F3 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:13:52 +01:00
Ladislas de Toldi
ea9eb73cc8
STM32F2 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:12:43 +01:00
Ladislas de Toldi
aa30a254a9
STM32F1 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:10:21 +01:00
Ladislas de Toldi
1732c136da
STM32F0 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:08:59 +01:00
Ladislas de Toldi
143176b8c4
STM32F4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:06:48 +01:00
Ladislas de Toldi
e1aa00ee76
STM32F7 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-02-25 16:06:41 +01:00
Jost, Chris
96c31e15da
fixed copy paste errors
2021-02-24 14:41:04 +01:00
jeromecoutant
8987aed3e8
STM32L4: align CMakeLists.txt for all families
2021-02-24 12:20:58 +01:00
jeromecoutant
0c7b4d7801
STM32: update readme with clock information
2021-02-24 11:15:17 +01:00
Jost, Chris
cb032d2365
enable USBDEVICE for STM32L5
2021-02-24 10:21:54 +01:00
Martin Kojtal
88a242f749
Merge pull request #14306 from hugueskamba/hk_cmake_create_cmsis_cortex_libs
...
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
2021-02-23 08:36:49 +00:00
Martin Kojtal
da51cb2185
Merge pull request #14318 from harmut01/example_build_errors
...
CMake: Fix path to STM32F0 GCC linker scripts
2021-02-23 08:36:27 +00:00
Martin Kojtal
7b6c7cc2ad
Merge pull request #14295 from 0xc0170/cmake-remove-iar
...
CMake remove IAR references in the tree
2021-02-22 20:10:40 +00:00
Harrison Mutai
5899dd0bc7
Fix path to GCC linker scripts
...
The linux filesystem is case sensitive, this was causing our nightly build to
fail when attempting to find the script with its lower case name. The
name of the file has been kept the same as this seems to be STMs
convention.
2021-02-22 14:07:52 +00:00
Yong Cong Sin
d458f24680
Remove custom board from CMakeLists.txt
2021-02-20 18:27:38 +08:00
Hugues Kamba
11a445be95
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
...
The linker file for the GCC_ARM toolchain was not
correctly listed.
2021-02-19 20:28:25 +00:00
Hugues Kamba
2c3481297c
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
...
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Yong Cong Sin
d81f520073
Divide HSE by 2 if the external XTAL used is 16 MHz
2021-02-19 15:35:47 +08:00
Yong Cong Sin
a36d006b7c
Add STM32F103xE SOC support
2021-02-19 10:57:34 +08:00
Martin Kojtal
85c2d7a25c
CMake: remove IAR references as they are not supported
2021-02-17 09:19:03 +00:00
Martin Kojtal
1dd411268b
Merge pull request #14030 from arduino/i2c_stm32_wrong_clock
...
STM32H7: Compute I2C timing according current I2C clock source
2021-02-15 14:38:11 +00:00
Robert Walton
fd63d33521
CMake: Fix STM32G0 target
2021-02-15 11:16:49 +00:00
Robert Walton
91db89143e
Fix FF1705_L151CC target
2021-02-15 11:06:43 +00:00
Robert Walton
ed4027edf0
Fix STM32F103xB target
2021-02-15 11:06:43 +00:00
Robert Walton
c82c897e2b
Fix STM32F072xB target
2021-02-15 11:06:43 +00:00
Robert Walton
f2f927ebac
Fix NUCLEO_H743ZI2 target
2021-02-15 11:05:07 +00:00
Robert Walton
f6302dc108
Fix NUCLEO_L496ZG_P target
2021-02-15 11:05:07 +00:00
Robert Walton
956a8790c1
Fix DISCO_L4R9I target
2021-02-15 11:05:07 +00:00
Martin Kojtal
fa62e80958
Merge pull request #14249 from jeromecoutant/PR_STM32WL_LORA
...
STM32WL : add LoRa support
2021-02-15 11:04:00 +00:00
Martin Kojtal
34627b7d53
Merge pull request #14280 from hugueskamba/hk_cmake_refactor_wiced
...
CMake: Refactor WIO_EMW3166 support
2021-02-15 10:28:12 +00:00
Martin Kojtal
5e094fe040
Merge pull request #14245 from jeromecoutant/PR_WL
...
STM32WL: I2C and ADC full support
2021-02-15 08:46:13 +00:00
Hugues Kamba
d7a7d44b4b
CMake: Refactor WIO_EMW3166 support
...
Ensure WICED is included for Mbed targets that require it.
This also removes the need for checking MBED_TARGET_LABELS repeatedly and
allows us to be more flexible in the way we include MBED_TARGET
source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-12 16:11:31 +00:00
Robert Walton
ab7a530506
Fix NUCLEO_L4R5ZI_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
f73e154a12
Fix NUCLEO_L073RZ target
2021-02-11 09:33:21 +00:00
Robert Walton
e8227f5be7
Fix PORTENTA_H7_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
6a737ac58d
Fix DISCO_H747I_xx targets
2021-02-11 09:33:21 +00:00
Robert Walton
a297a6145e
Add library for NUCLEO_G431KB
2021-02-11 09:33:21 +00:00
Martin Kojtal
fdef59fc10
CMake STM32H7: fix disco m4/m7 targets
2021-02-10 15:32:49 +00:00
Martin Kojtal
2d3bf3fd34
CMake STM32: fixing prefixes in the targets
2021-02-10 15:23:22 +00:00
Martin Kojtal
6bf459e3ce
CMake STM32: fix mbed-stm linking libs names
2021-02-10 12:24:10 +00:00
Martin Kojtal
ef98060d94
CMake STM32: fix missed targets with prefix
2021-02-10 12:14:49 +00:00
Martin Kojtal
00e83ce6e2
CMake STM32: fix missing mbed for some nucleo targets
2021-02-10 10:56:04 +00:00
Martin Kojtal
b3181a102c
CMake STM32: fix search and replace errors
2021-02-10 09:32:55 +00:00
Martin Kojtal
544e5b94c3
CMake STM32: fix targets naming
...
Follow the naming for other CMake targets, using prefix mbed-, lower case with dashes
2021-02-09 17:07:44 +00:00
jeromecoutant
699edff47e
STM32WL LORA : add readme
2021-02-09 11:57:04 +01:00
jeromecoutant
cc26ebc21e
STM32WL LORA : cmakelist
2021-02-09 10:01:17 +01:00
jeromecoutant
4550f92565
STM32WL : I2C full support
2021-02-08 17:19:05 +01:00
jeromecoutant
96e6d8bb7b
STM32WL : ANALOGOUT full support
2021-02-08 17:19:05 +01:00
jeromecoutant
c80ac26f7a
STM32WL : ANALOGIN full support
2021-02-08 17:19:05 +01:00
reme
470e98ed1f
STM32WL : ADDING NUCLEO STM32WL55JC SUPPORT
...
Add code concerning all STM32WL55JC platforms
- system clock, pin and peripheral definition
mbedtools make file
Modify CmakeList to adapt to mbedtools evolution
2021-02-08 09:42:50 +00:00
reme
4c35eb33ed
STM32WL : ADDING STM32WL55xC SUPPORT
...
Add code concerning all STM32WL55xC platforms
- Scatter loader and start-up files for
ARM, GCC and IAR compilers.
- cmsis file
- Update CMakeLists.txt due to mbtools evolution
2021-02-08 08:27:24 +00:00
reme
91e7676cc4
STM32WL : ADDING STM32WL SUPPORT
...
Add code concerning all STM32WL platforms
- STM32 Cube Firmware
Update CMakeLists.txt due to mbedtools evolution
2021-02-08 08:22:19 +00:00
pennam
dc2d8607a3
Fixed __HAL_RCC_GET_I2C4_SOURCE() if RCC_VER_2_0 is used
2021-02-05 09:10:42 +01:00
reme
5a2835c18c
STM32WL : ADDING STM32 SUPPORT
...
Add code concerning all STM32 platforms
2021-02-05 08:04:31 +00:00
Robert Walton
d9e184b6c6
cmake: Refactor ST targets
...
Refactor all ST targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-04 15:26:36 +00:00
pennam
d059feefe0
Added i2c_device.c to CMakeLists.txt
2021-02-03 15:18:33 +01:00
Martin Kojtal
7135c6545a
Merge pull request #14215 from flippy84/master
...
STM: Fix Hal_GetTick wrap around errors
2021-02-03 14:17:59 +00:00
Martin Kojtal
78bbe274f1
Merge pull request #14203 from kylejansen/sdpk1-usb
...
Adding USB HS Support to the SDP-K1
2021-02-03 14:17:43 +00:00
pennam
6db7342cf6
manage I2C_IP_VERSION_V1 boards builds
2021-02-03 15:14:42 +01:00
pennam
d968b17e76
code style fix
2021-02-03 14:18:07 +01:00
Andreas Carlsson
38b9e8ee5f
STM: prevent task switch errors in HAL_GetTick
2021-02-03 09:42:15 +01:00
pennam
506390bcf8
Increase FLAG_TIMEOUT to avoid misleading triggers
2021-02-01 09:13:33 +01:00
pennam
7544f7ef24
Use the proper clock source for any I2C instance
2021-02-01 09:13:21 +01:00
pennam
28a3475c5c
STM32: Compute I2C timing according current I2C clock source and required I2C clock
2021-01-31 14:02:01 +01:00
kylejansen
c401b61c09
Adding USB HS Support to the SDP-K1
2021-01-27 16:50:37 +00:00
Tauno Magnusson
dc969ba1d9
After checking other parts of the code (trng_api.c and a few other board platforms (NUCLEO_F413ZH, ...)) it appears that even though the reset value defaults correctly it may be good practice to keep the HAL_RCCEx_PeriphCLKConfig statement that selects the HSI48CLK as source for USB/RNG.
2021-01-26 03:51:49 +01:00
Tauno Magnusson
21176e903a
Removed the HAL_RCCEx_PeriphCLKConfig statement that was selecting the HSI48 CLK for USB. Assumption is that the STM32G4 reset value (defaults to HSI48 selected for USB) is preserved throughout Mbed initialization.
2021-01-26 03:27:37 +01:00
Tauno Magnusson
80f0a378fb
Updated to enable HSI48 Clock also for USBDEVICE define in targets.json. Also added so that the CK48 Clock Mux selects HSI48 for both RNG and USB. Without these the RNG/USB will be clocked at PLLQ (170 MHz) and not work.
2021-01-26 02:51:03 +01:00
Tauno Magnusson
99d21b6a92
Fixed whitespaces (a tab that should be spaces)
2021-01-26 01:21:46 +01:00
Tauno Magnusson
fa0474239b
Autogenerated file using 'python targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py -t M40_Nucleo_NUCLEO-G431KB'. Had to do some modifications since the autogenerated files contained errors.
2021-01-24 04:25:42 +01:00
Tauno Magnusson
f871eff405
Reverted to a pure copy of 474RE system_clock.c since it was updated with RNG clock fixes. Removing USB Clock enablement (USB will not work out-of-the box but will require users to modify system_clock.c to enable its clock) - this inline with changes to targets.json where I removed the USBDEVICE define
2021-01-24 03:18:06 +01:00
Tauno Magnusson
173cc1fe29
Cleaning out workaround patches for G431KB now that Flash Bank Switching has been fixed on G4xxx level (ARMmbed/mbed-os patch #14149 )
2021-01-24 02:44:09 +01:00
Tauno Magnusson
e4fb7402c3
Fixed a typo (incorrectly referring to G474RE instead of G431KB)
2021-01-24 02:41:18 +01:00
Tauno Magnusson
3ff04fa81e
Cleaned up and verified file
2021-01-24 02:15:22 +01:00
Tauno Magnusson
1389b1ac9d
Adding CMakeLists.txt files for NUCLEO_G431KB
2021-01-24 02:15:21 +01:00
Tauno Magnusson
0368cab27b
Add: Added STM32G4 series to LP USB list
2021-01-24 02:15:21 +01:00
Tauno Magnusson
d720792191
G431 only has 1 Flash Bank. Code is written with the assumption all G4 devices has 2 Flash Banks. Fix: Commented out SYSCFG_MEMRMP_FB_MODE since stm32g431KB only has 1 Flash Bank. flash_api.c checks for this #define and if it's set understands it as if the chip has 2 flash banks. STM32G4xx_HAL_Driver/stm32g4xx_hal.c also needs to check for this #define since it has flash bank swapping commands that are called in the startup sequence. Fix: Check for SYSCFG_MEMRMP_FB_MODE in Enable/Disable Flash bank swapping.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
98e48828b1
Fix: Added ALIGN(8) for __etext section. This existed in mbed-6.3.0 version. I have not verified if it is truly needed, but it is better to err on the safe side.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
5bd272aabc
Adding support for NUCLEO_G431KB. Created this file based on G474RE file. Added support for USB - connected the HSI48 clock to USB (and RNG). Warning: I'm assuming Flash latency is the same as for G474RE.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
70bd5b916d
Adding support for NUCLEO_G431KB. Created this file based on G474RE. I have done a decent effort to port it / check it. However - Warning - Not everything is verified the the G431 Spec Sheets.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
936467ebab
Adding support for NUCLEO_G431KB. Created this file based on G474RE. Fully verified with Spec Sheets
2021-01-24 02:15:21 +01:00
Martin Kojtal
5f541b22d0
Merge pull request #14142 from hugueskamba/hk_heap_size_fix_stm32l4
...
STM32L4: Correct heap size formula
2021-01-20 14:58:45 +00:00
Martin Kojtal
f7d1f18a80
Merge pull request #14144 from sstaub/STM32-Arduino-Pinnames
...
Update for Arduino Pinnames
2021-01-20 08:34:56 +00:00
Martin Kojtal
6969140110
Merge pull request #14023 from kylejansen/sdpk1-qspi
...
Adding QSPI support to SDP-K1 board support package.
2021-01-20 08:34:38 +00:00
Martin Kojtal
8dc27fd84e
Merge pull request #14154 from jeromecoutant/PR_STM32_CMAKE
...
STM32: correct cmake compilation issues
2021-01-19 09:22:49 +00:00
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
Martin Kojtal
95a524ae25
Merge pull request #14145 from arduino/config_sd_transceiver
...
STM32H7: disable uSD transceiver
2021-01-18 08:49:02 +00:00
Martin Kojtal
eff0d4c8b9
Merge pull request #14032 from jeromecoutant/PR_RESET_GPIO
...
STM32: RESET GPIO during init is configurable
2021-01-15 15:49:11 +00:00
jeromecoutant
1bbceb48f0
STM32 / CMAKE / targets : correct CMakeLists.txt files
2021-01-15 15:11:16 +01:00
Martin Kojtal
aef93ca7c9
Merge pull request #14020 from pea-pod/stm-spi-more-bits
...
Add SPI bitwidths to ST targets where supported
2021-01-15 10:01:28 +00:00
Martin Kojtal
2e905a0060
Merge pull request #14104 from hugueskamba/hk_cmake_fix_STM32F413xH_sysclock_listing
...
CMake: Fix the listing of system_clock.c for STM32F413xH
2021-01-14 17:16:34 +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
Hugues Kamba
24132695e3
These targets have a different memory layout,
...
they have two RAMs at two distinct locations:
RAM1 (address: MBED_RAM_START, size: MBED_RAM_SIZE):
* stack
* heap
* some part of static memory
RAM2 (address: MBED_IRAM2_START, size: MBED_IRAM2_SIZE):
* remaining part of static memory starting at MBED_IRAM2_START
* crash report
* vector
2021-01-13 12:46:35 +00:00
pennam
df4e397004
STM32H7: disable uSD transceiver
2021-01-13 11:13:15 +01:00
Stefan Staub
c3dca94b78
Update for Arduino Pinnames
2021-01-12 22:43:42 +01:00
jeromecoutant
61059d45e4
STM32F439 : correct cmake compilation
2021-01-11 18:07:58 +01:00
Hugues Kamba
1a90deb608
CMake: Fix the listing of system_clock.c for STM32F413xH
...
Each variant now has its own system_clock.c file.
Therefore ensure the correct one is added for each variant.
Also reduce the number of CMakeLists.txt file as each
variant does not have significant number of files.
2021-01-11 16:17:46 +00:00
pea-pod
e1c754b179
Add SPI bitwidths to ST targets where supported
2021-01-11 07:53:07 -06:00
Martin Kojtal
331cebe5eb
Merge pull request #14133 from hugueskamba/hk_heap_size_fix_stm
...
STM: Fix heap size formula in scatter files
2021-01-11 13:38:37 +00:00
Martin Kojtal
b7c639580f
Merge pull request #14066 from jeromecoutant/DEV_F2
...
STM32F2 update drivers version to CUBE V1.9.2
2021-01-11 11:27:09 +00:00
Hugues Kamba
a3fccf7d21
STM: Fix heap size formula in scatter files
...
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:18:40 +00:00
Martin Kojtal
d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
...
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Martino Facchin
62b6cc9a05
cmake: STM32H7: enable PORTENTA* target
2021-01-05 14:49:37 +01:00
jeromecoutant
d689e90917
STM32: RESET GPIO during init is configurable
...
Default value is disabled
2021-01-05 13:56:07 +01:00
Martino Facchin
26f758d83c
cmake: STM32H7: fix stm32h747 targets
...
This needs to be defined for "final" targets not contained in their processor subdirectory
2021-01-04 18:04:03 +01:00
jeromecoutant
c4ccccedf5
STM32F2: ST CUBE drivers update V1.6.0 => V1.9.2
2020-12-15 18:06:21 +01:00
jeromecoutant
b9a61de109
STM32F2: alignment with other families
2020-12-15 18:06:20 +01:00
jeromecoutant
f449a61da6
STM32F2: directory restructuration
...
Only files move and targets.json updated accordingly
2020-12-15 18:06:20 +01:00
Martino Facchin
04ac8a08b3
STM32H7: FDCAN: use PLL1Q frequency for calculations
2020-12-11 14:10:06 +01:00
Martino Facchin
eaa3b0f285
PORTENTA_H7: use default linker/startup scripts
2020-12-11 10:11:55 +01:00
Martino Facchin
5b91a00da3
STM32H747_CM4: add RAM_D3 memory section
2020-12-11 10:11:55 +01:00
Martino Facchin
a7a6f2a2c5
[Portenta] Add Cmake rules
...
Completes #13915
2020-12-11 10:11:54 +01:00
Martino Facchin
84790a038a
Add SPDX-License
2020-12-11 10:11:54 +01:00
Martino Facchin
7765f39ca3
Fix missing licenses for Arduino original code
2020-12-11 10:11:54 +01:00
pennam
f665f1d391
Portenta: enable ETH power supply
2020-12-11 10:11:53 +01:00
Martino Facchin
3d2d683dee
Add Arduino Portenta H7 target
2020-12-11 10:11:53 +01:00
Martino Facchin
be2201393c
STM32H7: dual core: handle interrupts on CM4
2020-12-11 10:11:52 +01:00
Martino Facchin
3084d15821
STM32H7: DualCore: allow no forced CM4 boot
2020-12-11 10:11:52 +01:00
Martino Facchin
c2aa453387
STM32: QSPI: allow setting SAMPLE_SHIFTING mode
2020-12-11 10:11:51 +01:00
Martino Facchin
ae35c887f3
STM32H747xI: allow overriding SetSysClock
2020-12-11 10:11:51 +01:00
Martino Facchin
f2a01f2ba0
STM32: USBPhy: enable HS clock sleep
2020-12-11 10:11:51 +01:00
kylejansen
06d8d6aaff
Added new line at EoF.
2020-12-10 12:48:38 +00:00
Kyle Jansen
9d1fbf1515
Adding QSPI support to SDP-K1 board support package
...
Added QSPI support to SDP-K1 BSP. Previous addition wasn't pulled into master.
2020-12-10 11:53:50 +00:00
Martin Kojtal
ccd1c65cb8
Merge pull request #14002 from jeromecoutant/PR_F0
...
STM32F0 update drivers version to CUBE V1.11.2
2020-12-10 11:13:49 +00:00
Martin Kojtal
0169915a71
Merge pull request #13998 from MultiTechSystems/mtqn-crash-data-ram
...
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-09 11:58:19 +00:00
Martin Kojtal
18f6794498
Merge pull request #14003 from jeromecoutant/PR_H7_PWR
...
STM32H7: system power supply configuration
2020-12-09 08:57:43 +00:00
Martin Kojtal
626804aa54
Merge pull request #13992 from jeromecoutant/PR_SCRIPT
...
STM32_gen_PeripheralPins.py v1.19
2020-12-09 08:57:26 +00:00
Martin Kojtal
e2777c2995
Merge pull request #13777 from jeromecoutant/PR_L152
...
STM32 : full GPIO reset during mbed init
2020-12-09 05:55:02 +00:00
jeromecoutant
cc90ec9096
STM32H7: system power supply configuration
2020-12-04 10:52:59 +01:00
jeromecoutant
b0c50d4905
STM32F0: ST CUBE drivers update V1.11.1 => V1.11.2
2020-12-03 18:00:26 +01:00
jeromecoutant
c46bfe0e1a
STM32F0: CMakeLists update
2020-12-03 17:18:00 +01:00
jeromecoutant
eef17a5d5d
STM32F0: ST CUBE drivers update V1.9.0 => V1.11.1
2020-12-03 17:15:39 +01:00
jeromecoutant
6f25e46181
STM32F0: code alignment
...
No impact, no change
2020-12-03 17:15:31 +01:00
jeromecoutant
58ac265039
STM32F0: directory restructuration
2020-12-03 13:05:06 +01:00
Martin Kojtal
56f731027e
Merge pull request #13929 from JeanMarcR/DEEP_SLEEP
...
STM32: LPUART clock source selection up to a serial driver
2020-12-03 08:47:01 +00:00
Leon
310b6dd127
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-01 14:18:16 -06:00
jeromecoutant
186a258b99
STM32_gen_PeripheralPins.py v1.19
...
- Use https://github.com/STMicroelectronics/STM32_open_pin_data.git
instead of CubeMX
- Add GPIO pinmap list
- Add STM32WL support
2020-12-01 15:52:20 +01:00
Martin Kojtal
33a7e66a07
Merge pull request #13906 from jeromecoutant/PR_G070
...
STM32G070: generic target creation
2020-11-27 12:49:52 +00:00
Ladislas de Toldi
eba8df7ed6
Delete objects.h
2020-11-27 09:24:31 +01:00
Martin Kojtal
c9ff692858
Merge pull request #13780 from JojoS62/PR-fix-H7-USB
...
STM32 H7: fix USB in sleep mode
2020-11-26 13:19:35 +00:00
Martin Kojtal
d0cfc67652
Merge pull request #13962 from 0xc0170/cmake-fix-stm-armclang
...
STM: fix ARMClang sct files, using proper -E command
2020-11-26 13:13:34 +00:00
Martin Kojtal
b5b0cfb2c6
STM32: fix H7 target definition in sct files
2020-11-25 14:12:26 +00: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
David Douard
5a4a34802b
Fix a typo in STM32F3's CMakeList.txt
...
A typo has been introduced preventing the STM32F303x8 to be buildable using the new cmake based build system.
2020-11-25 11:53:59 +01:00
jeromecoutant
59fc99bf50
STM32: full GPIO reset during mbed init
2020-11-25 09:07:58 +01:00
Martin Kojtal
6d89500dfe
Merge pull request #13935 from MultiTechSystems/mtqn-soft-power-on
...
Dragonfly Nano(MTQN): power on/off so soft_power_on() fix
2020-11-24 14:14:07 +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
9de73f89ef
Merge pull request #13932 from LDong-Arm/st_trace_verbosity
...
Reduce ST QSPI/OSPI trace verbosity to debug
2020-11-24 14:12:13 +00:00
Martin Kojtal
b552127916
Merge pull request #13931 from jeromecoutant/PR_I2C_LEGACY
...
STM32 I2C: use correct HAL API
2020-11-24 14:12:05 +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
Martin Kojtal
59c03e1e75
Merge pull request #13914 from JeanMarcR/FLASH_API
...
STM32 FLASH API : add critical sections
2020-11-24 14:08:52 +00:00
Martin Kojtal
2f709cc13f
Merge pull request #13896 from jeromecoutant/PR_OSPI
...
STM32 OSPI support
2020-11-24 13:53:30 +00:00
reme
41ed9239be
LPUART CLOCK SOURCE SELECTION LEFT TO SERIAL DRIVER.
...
The clock source selection of LPUART depends on System clocks but also on
the serial baudrate. There is a specific computation done in serial driver
targets/target_STM/serial_api.c
At first start-up the LPUART1 clock selected in SetSysClock was anyway
overridden by the serial driver, so this was of no effect. But in case
of deep sleep SetSysClock is called again, while the driver isn't, so
SetSyClock was corrupting the serial clock configuration.
So let's remove these few lines of code which are causing trouble.
For targets L496 and L5.
Taking into account device TRNG in L5 configuration
2020-11-23 17:10:49 +01: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
Leon
01b60c20a1
Update Dragonfly Nano(MTQN) power on/off so soft_power_on() performs a reset
2020-11-19 18:09:06 -06:00
Lingkai Dong
8f50b03a38
Reduce ST QSPI/OSPI trace verbosity to debug
2020-11-19 16:22:12 +00:00
jeromecoutant
b01940200c
STM32 I2C: use correct HAL API
2020-11-19 12:03:48 +01:00
Martin Kojtal
468b66944d
CMake: STM32 TARGET_ prefix removal fix
2020-11-18 12:13:46 +00:00
Martin Kojtal
907868d1de
CMake: STM32F0 fix startup/linker prefixes
2020-11-18 11:19:57 +00:00
Martin Kojtal
134c39cb7e
Merge pull request #13905 from jeromecoutant/PR_L422
...
STM32L4: ADC compilation issue with L422
2020-11-18 10:59:06 +00:00
Martin Kojtal
e1b8dd6e22
Merge pull request #13797 from JojoS62/PR_fix_LSE-drive-load-setting
...
STM32: add setting for LSE drive load level
2020-11-18 09:42:45 +00:00
Martin Kojtal
c49d0b88aa
CMake: STM32F1 Cube fix driver includes
2020-11-17 16:52:10 +00:00
Martin Kojtal
23eed7cda1
CMake: add STM32WB targets
2020-11-17 16:48:24 +00:00
Martin Kojtal
39cb929749
CMake: add STM32L5 targets
2020-11-17 16:48:11 +00:00
Martin Kojtal
4c115a5c8d
CMake: fix STM32 cmsis include
2020-11-17 16:30:37 +00:00
Martin Kojtal
519ac980ab
CMake: add STM32L4 targets
2020-11-17 16:22:16 +00:00
Martin Kojtal
93e35a07ab
CMake: add STM32L1 targets
2020-11-17 15:45:52 +00:00
Martin Kojtal
959c194b02
CMake: add STM32L0 targets
2020-11-17 15:40:35 +00:00
Martin Kojtal
80161f59ca
CMake: add STM32H7 targets
2020-11-17 15:32:24 +00:00
Martin Kojtal
fea34ce976
CMake: add STM32G4 targets
2020-11-17 15:17:17 +00:00
Martin Kojtal
1f2bb47391
CMake: add STM32G0 targets
2020-11-17 15:03:02 +00:00
Martin Kojtal
d4f1f2560e
CMake: add STM32F7 targets
2020-11-17 14:27:23 +00:00
Martin Kojtal
a918ba4cba
CMake: add STM32F4 targets
2020-11-17 14:00:04 +00:00
Martin Kojtal
6582c0af2c
CMake: add STM32F3 targets
2020-11-17 12:37:26 +00:00
Martin Kojtal
9933b7d808
CMake: add STM32F2 targets
2020-11-17 12:06:59 +00:00