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
rogeryou
0db8da1152
modify for the RWW function of Macronix Flash
2021-02-01 17:55:45 +08: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
Martin Kojtal
81b61b2090
CMake: add STM32F1 targets
2020-11-17 11:59:44 +00:00
Martin Kojtal
f05db1b47a
CMake: add STM32F0 targets
2020-11-17 11:43:09 +00:00
jeromecoutant
08a7fd6c15
STM32G0: no TIM2 for G070xx
2020-11-16 08:35:22 +01:00
jeromecoutant
4c2945128c
STM32G0: USART3_4_LPUART1_IRQn compilation issue with G070xx
2020-11-13 12:05:01 +01:00
jeromecoutant
9b8492bb13
STM32G0: RTC IRQ name error
2020-11-13 12:03:26 +01:00
jeromecoutant
c288034ff7
STM32L4: ADC compilation issue with L422
2020-11-13 10:13:46 +01:00
Martin Kojtal
18b898d708
STM32L475xG: fix linker/startup inclusion
...
No function required.
2020-11-12 11:54:21 +00:00
Martin Kojtal
e8a3282181
Merge pull request #13816 from pennam/patch-stm32-usbhs-pull
...
STM32: allow HS USB endpoints and increase USB OTG_HS endpoints number
2020-11-11 08:27:19 +00:00
Martin Kojtal
f550ed3bd5
Merge pull request #13802 from jeromecoutant/PR_FLASH_F4
...
STM32F4 FLASH API update
2020-11-11 08:26:44 +00:00
Martin Kojtal
43ff4ae865
Merge pull request #13874 from jeromecoutant/PR_F3_11
...
STM32F3 update drivers version to CUBE V1.11.1
2020-11-11 08:26:25 +00:00
jeromecoutant
3697167b73
STM32: add OSPI capability
...
PeripheralPins.c and PinNames.h files
generated by STM32_gen_PeripheralPins.py v1.17
2020-11-10 18:37:51 +01:00
Martino Facchin
f1ea281613
STM32: USB: allow more endpoints for OTG_HS ports
2020-11-10 17:22:29 +01:00
Martino Facchin
db7954bc9b
STM32: allow high speed USB endpoints
2020-11-10 17:22:28 +01:00
Hugues Kamba
794e32df74
CMake: Use relative paths to list source files and directories
...
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Hugues Kamba
e0aa49ffcf
CMake: Add support for NUCLEO_F303K8
...
Added the board so it can be used for testing the bare-metal profile on a Mbed 2 board
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj
e7c0d93ad4
CMake: add mbed-os and mbed-baremetal targets
...
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core
The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.
This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00
Hugues Kamba
bf84a5b329
CMake: Rename CMake targets
...
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj
a42ad9dea4
Update CMake based on new STM32L4 directory structure
2020-11-06 17:25:22 +00:00
Martin Kojtal
448986feb6
CMake: remove string.h in STM32 usb, already included ( #13773 )
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj
8016a53400
CMake: replace usage of the mbed_add_cmake_directory_if_labels() function ( #13754 )
...
Directories that start with special prefixes (TARGET_, FEATURE_, COMPONENT_) are added to the build based on Mbed target configuration from targets.json instead of calling utility function mbed_add_cmake_directory_if_labels().
2020-11-06 17:25:21 +00:00
Hugues Kamba
fa98689639
CMake: Componentize Mbed OS into multiple CMake targets ( #13732 )
...
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.
Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba
22dd57b35b
CMake: Add support for NUCLEO_F401RE
2020-11-06 17:25:21 +00:00
Hugues Kamba
043cb37ff5
CMake: Fix DISCO_L475VG_IOT01A ARM toolchain support
...
Correct location of startup code and linker file.
2020-11-06 17:25:21 +00:00
Hugues Kamba
042e9c7078
CMake: Remove TOOLCHAIN_ARM_STD dir for TARGET_STM32F439xI
2020-11-06 17:25:21 +00:00
Hugues Kamba
0ba05246cc
CMake: Fix selection of scatter file and startup file for DISCO_L475_IOT01A
2020-11-06 17:25:20 +00:00
Hugues Kamba
f1a3d690c7
CMake: Fix WIO_3G scatter file shebang to work with ARM Compiler 6
2020-11-06 17:25:18 +00:00
Hugues Kamba
53d712849a
CMake: Add support for WIO_3G target
2020-11-06 17:25:15 +00:00
Hugues Kamba
30e88863f4
CMake: Add support for DISCO_L475VG_IOT01A target
2020-11-06 17:25:15 +00:00
jeromecoutant
56a7afdf66
STM32F3: update to match mbed
2020-11-06 10:29:54 +01:00
jeromecoutant
5cd353306b
STM32F4 FLASH update
...
Add critical section in
- flash_erase_sector and
- flash_program_page
to make FLASH erase procedure interrupt safe
(can occur with Ethernet)
2020-11-05 17:46:18 +01:00
jeromecoutant
084b873173
STM32F3: CUBE V1.11.1
2020-11-05 16:59:06 +01:00
Martin Kojtal
c87736574f
Merge pull request #13862 from jeromecoutant/PR_RTS_FREE
...
STM32 SERIAL: free RTS/CTS pins
2020-11-05 15:43:29 +00:00
jeromecoutant
7f57005082
STM32F3: alignment with current CUBE V1.9.0
2020-11-05 15:34:54 +01:00
jeromecoutant
29e7e5ad4d
STM32F3: directory restructuration
2020-11-05 13:32:09 +01:00
jeromecoutant
73d1c63741
STM32 SERIAL: free RTS/CTS pins
2020-11-04 15:47:14 +01:00
Martin Kojtal
097adb57a2
STM32 usb: fixing missing header file
...
Fixes #13838
2020-11-04 08:49:04 +00:00
Martin Kojtal
798c3c5f4f
Merge pull request #13817 from facchinm/patch_lse_bypass
...
STM32: define RCC_LSE_BYPASS to allow using PC_15 as gpio
2020-11-02 14:17:53 +00:00
pennam
45ac79aa3b
STM32H7: define RCC_LSE_BYPASS to allow using PC_15 as gpio
2020-10-27 11:24:30 +01:00
JojoS62
6264e0abc4
add defaults values
...
set all defaults to initial low as after a reset
most STM32 eval boards use low power crystals and work with this setting
2020-10-23 19:38:55 +02:00
JojoS62
622a452661
fix macro usage error
...
use unique #if defined()
2020-10-23 17:00:28 +02:00
JojoS62
64072a925e
fix for targets with non-modifiable
...
transconductance
2020-10-22 20:11:15 +02:00
JojoS62
80847e958d
simplify default setting
2020-10-22 11:27:42 +02:00
JojoS62
e7f1430d37
remove duplicate LSEDRIVE_CONFIG
2020-10-22 11:24:51 +02:00
JojoS62
a209d44a07
simplify checking for F4_g2 exception
2020-10-22 11:20:51 +02:00
JojoS62
8145b69959
add setting for LSE drive load level
2020-10-21 18:54:47 +02:00
jeromecoutant
379182299d
STM32H7 readme update
2020-10-20 13:10:59 +02:00
jeromecoutant
04c8ff91d4
STM32H7: new target NUCLEO_H7A3ZI_Q
2020-10-20 13:10:59 +02:00
jeromecoutant
1e2aacd373
STM32H7: create MCU_STM32H7A3xIQ
2020-10-20 13:10:59 +02:00
Martin Kojtal
d418667f07
Merge pull request #13690 from jeromecoutant/PR_H7_180
...
STM32H7 update drivers version to CUBE V1.8.0
2020-10-20 11:36:56 +01:00
jeromecoutant
3c6ba98823
STM32L4: STM32Cube_FW_L4_V1.16.0
...
source: https://github.com/STMicroelectronics/STM32CubeL4
2020-10-20 08:51:37 +02:00
jeromecoutant
81f919b6c2
STM32L4 : license header alignment
2020-10-20 08:51:36 +02:00
jeromecoutant
95f8b2dfd4
STM32L4 : common file factorisation
2020-10-20 08:51:36 +02:00
jeromecoutant
dcc066db59
STM32L4 : alignment with STM32Cube_FW_L4_V1.14.0
2020-10-20 08:51:35 +02:00
jeromecoutant
3b14c478c1
STM32L4 : directory retructuration
...
- Alignment with other STM32 families
2020-10-20 08:51:35 +02:00
jeromecoutant
3f843d55ed
STM32H7: readme update
2020-10-20 08:19:28 +02:00
jeromecoutant
2ccf534aaa
STM32H7: fix ADC internal channels
2020-10-20 08:19:27 +02:00
jeromecoutant
e322870219
STM32H7: FLASH update
2020-10-20 08:19:27 +02:00
jeromecoutant
f0b7e8b98c
STM32H7: update target specific files with Cube-1.8
...
- startup files pdated from Cube
- all SetSysClock aligned and checked
- license header updated
2020-10-20 08:19:16 +02:00
jeromecoutant
13df49e315
STM32H7: STM32Cube_FW_H7_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeH7
2020-10-20 08:18:21 +02:00
jeromecoutant
a62736bba2
STM32L0: STM32Cube_FW_L0_V1.11.3
...
https://github.com/STMicroelectronics/STM32CubeL0
2020-10-19 17:42:38 +02:00
jeromecoutant
d9cdd31f21
STM32L0: back to updated files
2020-10-19 17:42:38 +02:00
jeromecoutant
a519a2fe6b
STM32L0: directory restructuration
...
+ STM32Cube_FW_L0_V1.10.0 original files
+ targets.json update introducing subfamily level
2020-10-19 17:42:38 +02:00
jeromecoutant
7c214cbd68
STM32WB: STM32Cube_FW_WB_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeWB
2020-10-19 14:36:02 +02:00
Martin Kojtal
bf90b7736b
Merge pull request #13697 from jeromecoutant/PR_L5_130
...
STM32L5 update drivers version to CUBE V1.3.1
2020-10-19 13:21:32 +01:00
JojoS62
38f4507ff0
fix USB in sleep mode
...
in sleep mode, USB interrupts were disabled
and USB Device was not working. Sleep mode is default in Mbed-os
e.g. in a call to sleep_for()
2020-10-17 00:50:40 +02:00
jeromecoutant
4b999b3e7f
STM32L5: STM32Cube_FW_L5_V1.3.0
...
https://github.com/STMicroelectronics/STM32CubeL5
2020-10-16 17:31:58 +02: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
Martin Kojtal
2d01a4412d
Merge pull request #13723 from boraozgen/feature/f412xg-crash-ram
...
Add crash RAM to STM32F412xG
2020-10-16 09:10:55 +01:00
Martin Kojtal
61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
...
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Martin Kojtal
aa0cd631a2
Merge pull request #13655 from jeromecoutant/PR_GENPERIPH_1_17
...
STM32_gen_PeripheralPins.py v1.17
2020-10-16 09:08:27 +01:00
Martin Kojtal
36de28e1ff
Merge pull request #13683 from 0xc0170/fix_stm32_usb
...
USB STM32: fix header inclusion, removing mbed.h
2020-10-15 15:41:03 +01:00
jeromecoutant
7eb43b104a
STM32_gen_PeripheralPins.py move to TARGET_STM
2020-10-15 12:08:25 +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
Martin Kojtal
e56d4298cb
USB STM32: fix header inclusion, removing mbed.h'
...
Fixes #13667 issue
2020-10-13 13:23:21 +01:00
jeromecoutant
ee09ae904d
STM32F4: align F412 and F411 linker scripts
2020-10-09 10:28:28 +02:00
Bora Özgen
abb5b1221f
Merge branch 'master' into feature/f412xg-crash-ram
2020-10-09 08:52:26 +02:00
Bora Özgen
8c9d38f12a
Align ARMC linker script with GCC
2020-10-09 08:48:55 +02:00
Bora Özgen
0c3879a553
Add crash RAM to STM32F412xG
2020-10-06 16:48:42 +02:00
jeromecoutant
282bc22247
STM32: update SetSysClock for NUCLEO_L476RG
...
Change in case of clock_source is set to HSI or HSE
(not the default configuration)
2020-10-06 15:11:34 +02:00
jeromecoutant
2d25882d1f
STM32_gen_PeripheralPins.py v1.17
...
- GPIO xml parsing correction (#13711 )
- Octo SPI support
- bug correction
- warning style correction
- new TIM_MST choice algo
- full PinNames.h file creation
- output directory is now
targets_custom/TARGET_STM/TARGET_STM32XX/TARGET_STM32XXXX
2020-10-05 17:55:58 +02:00
Martin Kojtal
fbe04097c7
Merge pull request #13601 from AGlass0fMilk/fix-g474-adc
...
Fix AnalogIn implementation on STM32G4 series
2020-09-30 16:12:18 +01:00
Martin Kojtal
21652971a5
Merge pull request #12644 from macronix/macronix_ospi
...
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal
1f868f96de
Merge pull request #13646 from boraozgen/bugfix/system-clock-weak
...
Make STM32F412xG system_clock.c functions weak
2020-09-30 16:01:02 +01:00
Martin Kojtal
1dea16bc58
Merge pull request #13611 from alcheagle/stm32l071xx-fixes
...
Edit on Toolchain linker files for stm32L071xx target
2020-09-30 16:00:20 +01:00
Martin Kojtal
f3d91fdba1
Merge pull request #13633 from jeromecoutant/PR_WB_FLASH_BARE
...
STM32WB: FLASH compilation issue with baremetal
2020-09-23 15:58:38 +01:00
Martin Kojtal
cd9a0d1f49
Merge pull request #13634 from jeromecoutant/PR_L4_IAR
...
STM32L4: link issue with IAR
2020-09-23 15:57:35 +01:00
Martin Kojtal
60cbab381d
Merge pull request #13640 from isaev-d/fix-pll-stm32h743
...
STM32: Fix system clock setup for XTAL and/or internal source on STM32H743
2020-09-23 10:53:58 +01:00
Bora Özgen
011cd19175
Remove weak statement for HSI clock config
2020-09-23 10:59:00 +02:00
Martin Kojtal
66423948e0
Merge pull request #13645 from boraozgen/bugfix/stm32f412xg_usart3
...
Patch STM32F4 HAL to fix F412CG USART3 issue
2020-09-22 16:24:49 +01:00
George Beckstein
76d488ded1
Revert sampling time decrease and remove todos.
2020-09-22 09:32:14 -04:00
Andrea Gilardoni
b99702094c
fixing nvic num
2020-09-22 09:46:48 +02:00
Dmitriy Isaev
8597f6ae12
Removed excess space simbol. Also runtime config check changed to compile time check.
2020-09-21 20:17:45 +03: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
Bora Özgen
401a6b4f2b
Apply review suggestions
2020-09-21 14:52:22 +02:00
Bora Özgen
9623d4e7fc
Make system_clock.c functions weak
2020-09-21 13:51:29 +02:00
Bora Özgen
9b56a4cb82
Patch STM32F4 HAL to fix F412XG USART3 issue
2020-09-21 13:27:20 +02:00
Dmitriy Isaev
3f83163a63
Fixed system clock setup for XTAL and/or internal source on stm32f743 chips.
2020-09-20 16:26:25 +03:00
jeromecoutant
0af260fe43
STM32L4: link issue with IAR
2020-09-18 12:27:53 +02:00
jeromecoutant
49ceb3c4b6
STM32WB: FLASH compilation issue with baremetal
2020-09-18 11:47:15 +02: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
Martin Kojtal
3801f6e389
Merge pull request #13406 from Allmoz/master
...
STM32F1 USBDevice
2020-09-17 08:56:03 +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
Andrea Gilardoni
1d77cfa08b
trying to fix startup file
2020-09-16 08:41:41 +02:00
rogeryou
48524f25ae
add opsi driver
2020-09-16 11:27:23 +08:00
Andrea Gilardoni
303b3c28b6
making some cleaning
2020-09-15 11:25:47 +02:00
Andrea Gilardoni
d5adca141b
Edit on Toolchain linker files
...
Previous one were not working, using nucleol073RZ files
2020-09-15 11:13:03 +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
m-ecry
d0c8ad75e1
STM-can-api: Support reading of remote_msg
...
- Previously a received msg was fixed of data_type
2020-09-14 18:10:48 +02:00
m-ecry
13b663397f
STM-can-api: Added usage of prescaler
...
- This enables more frequencies, but without regard to the accuracy.
May still require manual clock setup, to remain in tolerance window
2020-09-14 16:29:12 +02:00
Martin Eckardt
35c9e7a5ad
Use HAL function for FDCAN_CLK-calculation
...
- Thanks to @jeromecoutant for showing the HAL funtion
- Added #ifdef guard to FDCAN2/3 handler functions
2020-09-14 15:24:14 +02:00
Martin Kojtal
47e943af2d
Merge pull request #13558 from jeromecoutant/PR_L4PLUS_SRAM3
...
STM32L4+ : SRAM3 is powered off in deepsleep
2020-09-10 14:03:32 +01:00
Martin Kojtal
468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
...
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
Martin Kojtal
a17a481c54
Merge pull request #13583 from jeromecoutant/PR_ARDUINO_PIN
...
STM32: correct few Arduino pins value
2020-09-10 12:38:02 +01: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
jeromecoutant
668412ccde
NUCLEO_L433RC_P: wrong D0 and D1 pins
2020-09-10 10:05:41 +02:00
jeromecoutant
5bcb02a013
DISCO_L072CZ_LRWAN1: wrong A1/A3/A4/A5 pin values
2020-09-10 10:05:41 +02:00
jeromecoutant
e695db9944
NUCLEO_F207ZG: change default SPI_MOSI pin to match Arduino standard
2020-09-10 10:05:40 +02:00
jeromecoutant
3e653223d2
NUCLEO_F303ZE: wrong D1 pins
2020-09-10 10:05:40 +02:00
jeromecoutant
88fcd669d4
NUCLEO_L552ZE_Q: wrong D0 and D1 pins
2020-09-10 10:05:40 +02:00
Martin Kojtal
3b5ab54618
Merge pull request #13542 from jeromecoutant/PR_DISCO_L4S
...
B_L4S5I_IOT01A: new ST target
2020-09-09 15:54:27 +01:00
Martin Kojtal
1f6fe470e1
Merge pull request #13564 from More-Wrong/LSI-for-STM32Gx
...
STM32Gx: LSI clock selection when LSE is not available
2020-09-09 15:16:44 +01:00
jeromecoutant
d804167816
STM32L4S5xI: B_L4S5I_IOT01A new target
2020-09-09 15:19:21 +02:00
jeromecoutant
c65ad59ccd
STM32L4S5xI introduction
2020-09-09 15:19:11 +02:00
jeromecoutant
b65afe028e
STM32H7 ADC: clock selection lost after deepsleep
2020-09-08 11:40:02 +02:00
talorion
e117ef5c3c
use descriptive variable names
2020-09-08 10:54:09 +02:00
Robert
14ac4064b7
STM32Gx: LSI clock selection when LSE is not available
2020-09-07 14:47:11 +01:00
jeromecoutant
e650470206
STM32L4+ : SRAM3 is powered off in Stop 2 mode
...
By default, SRAM3 content is then lost.
2020-09-07 09:48:02 +02:00
Martin Eckardt
08ce2f2de8
Calculate FDCAN_clk instead of assuming fix 10MHz
...
- The FDCAN_clk is calculated on runtime from the according
RCC-registers
2020-09-07 02:08:59 +02:00
Martin Eckardt
f32efe4c28
Changed PLL to 160MHz, PLLQ to 80MHz
2020-09-07 02:04:13 +02:00
Martin Eckardt
9886532029
Added support for FDCAN3
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
Martin Kojtal
895488f945
Merge pull request #13523 from jeromecoutant/PR_H7_ADC2
...
STM32H7 ADC: No MultiMode configuration needed for ADC2
2020-09-03 13:24:55 +01:00
Martin Kojtal
2eb2fe4184
Merge pull request #13522 from jeromecoutant/PR_USB_PULLUP
...
STM32 USB connect procedure update
2020-09-03 13:24:10 +01:00
talorion
6a50ecad5f
pwmout - STM - add read methods for period and pulsewidth
2020-09-02 13:39:15 +02:00
Martin Kojtal
29f54fe9aa
Merge pull request #13509 from alcheagle/new_target_STM32L071CXCTX
...
Adding STM32L071xx target
2020-09-02 09:41:12 +01:00
Nicolás Elliott
ee4a4e9ad8
Rebase of Initial support for USB Device on STM32F1
2020-09-01 15:05:48 -04:00
jeromecoutant
02c79e8603
STM32H7 ADC: No MultiMode configuration needed for ADC2
2020-09-01 17:52:13 +02:00
jeromecoutant
ac9c4b7b66
STM32 USB connect procedure update
...
Pull up on USB DP to manage (external for STM32F1)
2020-09-01 17:32:20 +02:00
Andrea Gilardoni
3c39eeb8dd
fixing SPDX identifiers in all files
2020-09-01 10:08:41 +02:00
Martin Kojtal
4ef38f95d8
Merge pull request #13513 from jeromecoutant/PR_README
...
STM32 readme update
2020-09-01 08:48:54 +01:00
jeromecoutant
53008d9447
STM32 USB: use SNG_BUF
...
To avoid RAM location issue
2020-08-31 17:30:52 +02:00
Andrea Gilardoni
15ca58b9c8
fixing small issues
2020-08-31 14:03:49 +02:00
jeromecoutant
1996552a9c
STM32 readme update
2020-08-31 13:23:25 +02:00
Andrea Gilardoni
23a3ea06cb
fixing the remaining parts after the rename
2020-08-28 19:37:53 +02:00
Andrea Gilardoni
c62fc559c9
renaming the mcu to stm32l071xx
2020-08-28 19:24:43 +02:00
Andrea Gilardoni
0c0692a3d1
fixing the issues
2020-08-28 19:12:37 +02:00
Andrea Gilardoni
a03f5ff4e6
Adding a new target
...
Adding STM32L071CXCTX as a generic target to be extended.
This addition required to fix some issues on stml0 library
2020-08-28 19:10:41 +02:00
Martin Kojtal
afcf91f331
Merge pull request #13006 from AGlass0fMilk/add-nucleo-g031k8
...
NUCLEO_G031K8: Add new target
2020-08-26 07:24:28 +01:00
Martin Kojtal
4bd8d8ca56
Merge pull request #13470 from MultiTechSystems/update-dragonfly-linkers
...
Update dragonfly linkers
2020-08-24 15:54:11 +01:00
jeromecoutant
44b7c1165e
STM32G0 UART: compilation warning
2020-08-24 13:55:10 +02:00
jeromecoutant
2f2a1ea3f2
STM32G0 stm32g0xx_ll_rtc.h compilation warning
...
Waiting for
https://github.com/STMicroelectronics/STM32CubeG0/issues/11
2020-08-24 13:55:03 +02:00
Leon Lindenfelser
622b7cfc60
Add MBED_APP_START & MBED_APP_SIZE check/set to MTS_MDOT_F411RE arm linker
2020-08-20 10:21:12 -05:00
Leon Lindenfelser
aa2c80fa52
Update MTS_DRAGONFLY_F411RE linker files for removed post_binary_hook
2020-08-19 16:09:44 -05:00
George Beckstein
470ef492b3
Revert "Removed const from register declaration"
...
This reverts commit c569dcce79
.
2020-08-14 12:03:25 -04:00
George Beckstein
c569dcce79
Removed const from register declaration
2020-08-13 16:50:03 -04:00
jeromecoutant
8165bca233
STM32G0 review and test
2020-08-13 15:49:50 -04:00
Pavel Slama
ab6fd6e1eb
add D13 pin
2020-08-13 15:49:50 -04:00
Pavel Slama
25ea7be2ff
add NUCLEO_G031K8 target
2020-08-13 15:49:50 -04:00
Pavel Slama
e3d26ed888
delete LED2-4 and buttons
2020-08-13 15:49:50 -04:00
George Beckstein
16ac412807
Add NUCLEO_G031K8 target configuration
2020-08-13 15:49:50 -04:00
Maarten de Klerk
e6150ac722
Added error checking to can_filter() for Classic CAN
...
Previously the function always returned 1 even when the configuration was illegal. I added a small check to HAL_CAN_ConfigFilter(...).
2020-08-08 23:25:42 +02:00
Rajkumar Kanagaraj
2add7064ec
Update astyleignore and source code comment
2020-07-27 10:04:01 -07:00
jeromecoutant
0b5a91c9a2
STM32WB FLASH activity shared with M0+ core
...
source:
- https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_RfWithFlash/Core/Src/flash_driver.c
- Figure 10 from AN5289
2020-07-17 12:06:40 +02:00