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
jeromecoutant
ec1e659d3a
STM32WB readme update
2020-07-17 12:06:40 +02:00
jeromecoutant
285d533075
STM32WB: ST CUBE drivers update V1.4.0 => V1.7.0 / BLE
2020-07-17 12:06:39 +02:00
jeromecoutant
643c7a44f3
STM32WB: ST CUBE drivers update V1.4.0 => V1.7.0 / HAL
2020-07-17 12:06:39 +02:00
Martin Kojtal
3400ef66e7
Merge pull request #13222 from jeromecoutant/PR_PWM
...
STM32 PWM : avoid glitch after duty cycle change
2020-07-03 10:51:19 +02:00
Martin Kojtal
379bda2214
Merge pull request #13221 from jeromecoutant/PR_DAC_TICKLESS
...
STM32 ANALOGOUT and DEEPSLEEP
2020-07-03 10:50:59 +02:00
jeromecoutant
e10a233c80
STM32 PWM : avoid glitch after duty cycle change
2020-07-02 14:54:09 +02:00
jeromecoutant
a0b718fc04
STM32 ANALOGOUT and DEEPSLEEP
...
keep DAC on during wait period
2020-07-02 14:18:44 +02:00
jeromecoutant
c8737c593d
STM32WB RNG: enable use from both M4 and M0+ core
2020-07-02 10:17:08 +02:00
jeromecoutant
0d277eefe4
STM32L4: I2C init parameters for L4+ MCU
2020-06-23 10:05:24 +02:00
Martin Kojtal
e9b1df671e
Merge pull request #13143 from jeromecoutant/PR_H7_BARE
...
STM32H7: correct Ethernet issue in baremetal
2020-06-18 10:25:51 +02:00
Martin Kojtal
66343b0d25
Merge pull request #12937 from macronix/macronix_qspi
...
Modify the operation of setting qspi frequency when calling Octo controller
2020-06-18 09:43:45 +02:00
Martin Kojtal
aafae5d644
Merge pull request #12751 from jeromecoutant/PR_WB_USB
...
STM32WB: enable USB Device
2020-06-18 09:42:42 +02:00
jeromecoutant
b4d31ae863
STM32H7: correct Ethernet issue in baremetal
2020-06-17 18:39:34 +02:00
Martin Kojtal
7b5a8d37b5
Merge pull request #12966 from MultiTechSystems/update-df413-onoff
...
DRAGONFLY_F413RH: Update power on and power off functionality
2020-06-16 13:54:01 +02:00
Martin Kojtal
0614e92c5b
Merge pull request #13083 from jeromecoutant/PR_H7_CUBE170
...
STM32H7 update drivers version to CUBE V1.7.0
2020-06-16 13:45:42 +02:00
jeromecoutant
dcf2490b5a
STM32F1 STM32Cube FW V1.8.0: update for MBED
2020-06-15 13:49:47 +02:00
jeromecoutant
c99c8b5036
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: target part
...
- SetSysClock update
2020-06-15 13:49:47 +02:00
jeromecoutant
ce3fc30cf0
STM32F1 STM32Cube FW V1.6.1 => V1.8.0
2020-06-15 13:49:46 +02:00
jeromecoutant
f13b06a7bc
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: Driver part
2020-06-15 13:49:46 +02:00
jeromecoutant
97bf6fa386
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: CMSIS part
2020-06-15 13:49:46 +02:00
jeromecoutant
1152c651d9
STM32F1: targets inherit from non public default MCU configuration
2020-06-15 13:49:39 +02:00
jeromecoutant
533fe21750
STM32F1: directory restructuration
2020-06-15 13:48:04 +02:00
Anna Bridge
a870fcface
Merge pull request #13001 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP2
...
STM32 baremetal support step2 (L1/L4/WB)
2020-06-12 14:44:14 +01:00
Anna Bridge
58975d1df4
Merge pull request #13091 from jeromecoutant/PR_BAREMETAL_SUPPORT
...
STM32 baremetal support step3/3 (F2/F4)
2020-06-12 14:42:35 +01:00
Anna Bridge
727cf54873
Merge pull request #13073 from jeromecoutant/PR_H7_FPGA
...
STM32H7: FPGA tests support
2020-06-11 14:39:31 +01:00
Martin Kojtal
878875c884
Merge pull request #13090 from jeromecoutant/PR_DEVICE_H
...
STM: move us_ticker_defines.h include
2020-06-10 11:53:57 +02:00
Martin Kojtal
0f2a28d52f
Merge pull request #13053 from jeromecoutant/PR_README
...
STM32 more information in README file
2020-06-10 11:43:24 +02:00
jeromecoutant
47407759a4
STM: move us_ticker_defines.h include
2020-06-09 11:04:23 +02:00
jeromecoutant
713618abe0
STM32F4 baremetal support
2020-06-09 10:25:41 +02:00
jeromecoutant
adbd936cbc
STM32F2 baremetal support
2020-06-09 10:24:36 +02:00
jeromecoutant
048f454a5a
STM32H7: remove GENERIC_H745I
2020-06-08 15:33:42 +02:00
jeromecoutant
561f8d48bf
STM32H7 STM32Cube FW V1.5.0 => V1.7.0
2020-06-08 14:33:10 +02:00
jeromecoutant
9936a53bd1
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: HAL Driver part
2020-06-08 14:33:09 +02:00
jeromecoutant
21f262b5c3
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: CMSIS part
2020-06-08 14:33:09 +02:00
jeromecoutant
7d181c1bf7
STM32H7: directory restructuration
...
- only files move
- sometimes files rename
+ targets.json update
2020-06-08 14:33:08 +02:00
jeromecoutant
551f8b4231
NUCLEO_WB55RG: enable USBDEVICE
2020-06-08 13:17:23 +02:00
Martin Kojtal
8d26d77690
Merge pull request #12482 from AGlass0fMilk/add-nucleo-g474re
...
NUCLEO_G474RE: Add new platform
2020-06-08 12:38:40 +02:00
jeromecoutant
28f8307afa
STM32WB baremetal support
...
move BLE files to FEATURE_BLE
2020-06-08 12:06:01 +02:00
jeromecoutant
0a447ac798
STM32L4 baremetal support
2020-06-08 12:05:54 +02:00
jeromecoutant
ba7deb4660
STM32L1 baremetal support
2020-06-08 11:46:56 +02:00
jeromecoutant
1292053bf9
STM32 more information in README file
2020-06-08 10:02:33 +02:00
jeromecoutant
c9e0c4f6f7
STM32WB ReadMe quick update
...
See #12975
2020-06-08 10:02:33 +02:00
jeromecoutant
10a5b97396
STM32H7: NUCLEO_H743ZI2 pins update
2020-06-05 16:26:33 +02:00
jeromecoutant
1484ac0859
STM32H7: DISCO_H747I pins update
2020-06-05 16:26:23 +02:00
jeromecoutant
b289d5a08f
STM32H7: enable dual analogic pad
2020-06-05 16:26:22 +02:00
jeromecoutant
538552adea
STM32H7 ADC issue correction
2020-06-05 16:26:22 +02:00
Martin Kojtal
59df4efaac
Merge pull request #13022 from jeromecoutant/PR_BSP
...
STM32: add weak TargetBSP_Init function
2020-06-05 16:01:25 +02:00
Martin Kojtal
3ef2b1642e
Merge pull request #12996 from pilotak/master
...
STM32F412 bypass PLL configuration when already done by bootloader
2020-06-05 10:48:41 +02:00
Martin Kojtal
8911f96c1b
Merge pull request #13014 from jeromecoutant/PR_H7CM4
...
DISCO_H747I_CM4 is supporting now hex format
2020-06-04 15:23:26 +02:00
jeromecoutant
76135d0820
STM32: add weak TargetBSP_Init function
2020-05-27 16:49:54 +02:00
jeromecoutant
876125ad49
DISCO_H747I_CM4 is supporting now hex format
...
- minimum STLink version: V3J7M2
2020-05-25 11:34:40 +02:00
rogeryou
de9b283abe
modify the div value when calling octo controller.
...
For ST OSPI controller driver(stm32l4xx_hal_ospi.c), the frequency it has be subtracted 1, so "div = div - 1;" should be removed.
2020-05-25 12:07:24 +08: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
80c5d96420
Added support for WDT (untested). Checked datasheet for maximum LSI frequency
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
Pavel Slama
9d7e55b3f3
move system_clock.c to the root
2020-05-19 13:33:55 +02:00
Pavel Slama
1fc9561af7
STM32F412 bypass PLL configuration when already done by bootloader
2020-05-19 11:48:56 +02:00
jeromecoutant
b57b12cc9f
STM32L0 baremetal support
2020-05-18 17:27:42 +02:00
jeromecoutant
9b819c7f8b
STM32H7 baremetal support
2020-05-18 17:27:32 +02:00
jeromecoutant
739b2048d4
STM32F3 baremetal support
2020-05-18 17:26:50 +02:00
jeromecoutant
96016aea17
STM32F1 baremetal support
2020-05-18 15:27:30 +02:00
jeromecoutant
794e0aa0cf
STM32F0 baremetal support
2020-05-18 15:27:29 +02:00
Leon Lindenfelser
b8554a3f26
Update power on and power off functionality
...
Implement soft_power_on/off() and hard_power_on/off() to perform as described in mbed-os CellularDevice API.
2020-05-18 08:11:40 -05:00
jeromecoutant
c96eb2cd0e
STM32 rename TOOLCHAIN_ARM_STD into TOOLCHAIN_ARM
2020-05-15 10:41:28 +02:00
jeromecoutant
303752ad84
STM32 remove all TOOLCHAIN_ARM_MICRO
2020-05-15 09:37:40 +02:00
Marcelo Salazar
149656447d
Remove target dep. on S2LP driver
2020-05-14 17:17:27 +01:00
jeromecoutant
cda2538bd2
STM32L0 code cleaning
2020-05-14 13:55:32 +02:00
jeromecoutant
dd46dfccb2
STM32F4 code cleaning
2020-05-14 13:55:22 +02:00
jeromecoutant
f116fe0daa
STM32F3 code cleaning
2020-05-14 13:55:21 +02:00
jeromecoutant
126a9c9693
STM32F1 code cleaning
2020-05-14 13:55:21 +02:00
jeromecoutant
a63fd00a9a
STM32F0 code cleaning
2020-05-14 13:55:21 +02:00
Martin Kojtal
cb4449a727
Merge pull request #12958 from VeijoPesonen/stm32wb_vtor_bootloader
...
Fix vector table bug when using bootloader on STM32WB55
2020-05-13 19:23:42 +02:00
Martin Kojtal
6950e78fcb
Merge pull request #12945 from malavikasajikumar/SDPK1-PinNames
...
Cleaning up PinNames.h for SDP-K1 board.
2020-05-12 14:26:41 +02:00
Martin Kojtal
e88c596fbb
Merge pull request #12801 from AGlass0fMilk/add-stm32h745
...
Add base support for STM32H745
2020-05-12 14:05:16 +02:00
Martin Kojtal
053af2d31c
Merge pull request #12856 from hugueskamba/hk_remove_uarm_st_boards
...
ST Boards: Remove uARM tooolchain support
2020-05-12 13:27:30 +02:00
Veijo Pesonen
a4c692bd41
Fix VTOR bug when using bootloader on STM32WB
...
The address of the vector table is hardcoded to the start of flash in
many, if not all, ST targets. This causes a crash in applications that
are using a bootloader. This patch updates the board STM32WB55 so it
properly handle updating the VTOR with a bootloader.
Solution has been copied from the PR #3798 .
2020-05-12 10:46:32 +03:00
Martin Kojtal
a707fd133e
Merge pull request #12915 from rajkan01/hal_gettick_api_optim
...
Optimise HAL_GetTick API
2020-05-11 15:12:28 +02:00
Malavika Sajikumar
74bd04f381
Cleaning up PinNames.h for SDP-K1 board.
...
Added pin description comments to Arduino header pins and LED4.
Added I2C alias names.
Removed Oscillator and DEBUG pin definitions.
Use USBTX and USBRX for serial communications back to PC. Do not use STDIO_UART_TX and STDIO_UART_RX
2020-05-07 14:44:53 -07:00
Marcelo Salazar
4083469d09
Remove Ublox targets
2020-05-06 16:39:29 +01:00
jeromecoutant
ab80e30bfe
STM32F4 bypass PLL configuration when already done by bootloader
2020-05-05 18:06:10 +02:00
Rajkumar Kanagaraj
4ab794b47f
Microlib slow division causes HAL_GetTick API performance issue, so optimized HAL_GetTick API to improve performance.
2020-05-05 16:24:53 +01:00
George Beckstein
5087b6da4e
Moved GENERIC_H745I_CM* targets into parent target folder
2020-04-30 09:27:26 -04:00
George Beckstein
5dcc49d9f5
Change structure so custom targets may define their own linker scripts
2020-04-30 09:24:02 -04:00
jeromecoutant
1877b68869
STM32H745 : creation of GENERIC target
...
Goal is to enable compilation in CI
2020-04-30 09:24:02 -04:00
jeromecoutant
38801157ac
STM32H745 restructuration
2020-04-30 09:24:02 -04:00
George Beckstein
ecaa5fe793
Add BSP initialization hook to system initialization code
2020-04-30 09:24:02 -04:00
George Beckstein
decc6d335f
Added common system files from H747 targets
2020-04-30 09:24:02 -04:00
George Beckstein
a1bb4b1d0a
Add and configure support for IAR toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
fab7de62e7
Add and configure support for ARM_STD toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
88a6d37a07
Add target files for STM32H745-based targets
2020-04-30 09:24:01 -04:00
Hugues Kamba
ce1c51ea51
ST Boards: Remove uARM tooolchain support
...
For NUCLEO_F401RE, NUCLEO_F411RE, NUCLEO_F303RE, and DISCO_L475VG_IOT01A:
* Ensure the scatter files for the ARM toolchain use 2 region memory model.
The scatter files changes affects the following boards:
* NUCLEO_F401RE, STEVAL_3DP001V1 (stm32f401xe.sct)
* NUCLEO_F411RE, MTS_MDOT_F411RE, MTS_DRAGONFLY_F411RE, MTB_MTS_DRAGONFLY, SAKURAIO_EVB_01 (stm32f411re.sct)
* NUCLEO_F303RE, NUCLEO_F303ZE (stm32f303xe.sct)
* DISCO_L475VG_IOT01A, MTB_STM_L475 (stm32l475xx.sct)
* Remove the TOOLCHAIN_ARM_MICRO directories.
* Remove release_version as not necessary and as the targets can also run
Mbed OS 6.
* Remove uARM support for all FAMILY_STM32 targets.
2020-04-30 14:17:39 +01:00
Marcelo Salazar
a3dc513d35
Remove MTS_MDOT_F405RG target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
a7b026bd14
Rename ADV_WISE_1510 target
2020-04-30 09:56:35 +01:00
Marcelo Salazar
92cbd9a734
Rename ADV_WISE_1570 target
2020-04-30 09:56:35 +01:00
jeromecoutant
bc4bc05908
STM32 warning remove
2020-04-24 10:57:45 +02:00
jeromecoutant
227af65ef1
STM32F7: CubeDriver V1.15.0 to V1.16.0
...
https://github.com/STMicroelectronics/STM32CubeF7
2020-04-23 18:02:15 +02:00
jeromecoutant
8d542142da
STM32F7: directory restructuration
2020-04-23 18:02:06 +02:00
Martin Kojtal
df6f650ab1
Revert "Remove MTB_STM_S2LP target"
...
This reverts commit 10ca248a7a
.
2020-04-22 13:46:53 +01:00
Martin Kojtal
b622a25688
Merge pull request #12810 from MarceloSalazar/platform_cleanup
...
Remove unsupported targets
Note, commit 21e364e
is just a styling fix, no target removal.
2020-04-22 10:58:50 +02:00
Martin Kojtal
e33e93622c
Merge pull request #12663 from hugueskamba/hk-NUCLEO_F303K8-fix-microlib-support-optimize-ram
...
Migrate NUCLEO_F303K8 to Mbed OS 5 baremetal
2020-04-22 07:06:13 +02:00
Hugues Kamba
4e61240838
Migrate NUCLEO_F303K8 to Mbed OS 5 baremetal
...
* Use two memory regions in ARM toolchain linker file to support Microlib
* Replace `target.default_lib` with `target.c_lib`
* Specify supported lib sizes per toolchain
* Add support for Mbed OS versions after Mbed 2
2020-04-21 12:11:35 +01:00
Marcelo Salazar
beee062d1f
Remove MTB_MTS_DRAGONFLY target
2020-04-20 16:55:35 +01:00
Marcelo Salazar
10ca248a7a
Remove MTB_STM_S2LP target
2020-04-20 16:55:35 +01:00
Marcelo Salazar
ee8231ab9d
Remove USI_WM_BN_BM_22 based targets
2020-04-20 16:55:35 +01:00
MarceloSalazar
93db82f591
Remove NZ32_SC151 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
d9cb51dbc6
Remove OLIMEX_STM32E407_F407ZG target
2020-04-20 16:55:34 +01:00
MarceloSalazar
33be96d751
Remove SAKURAIO_EVB target
2020-04-20 16:55:34 +01:00
MarceloSalazar
7839bbbe39
Remove IM880B target
2020-04-20 16:55:34 +01:00
MarceloSalazar
6874f41af9
Remove BLUEPILL_F103C8 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
bf590310db
Remove MTB_RAK811 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
e78ba7065b
Remove MTB_MTS_XDOT target
2020-04-20 16:55:33 +01:00
MarceloSalazar
4b1ad8ad4c
Remove MTB_STM_L475 target
2020-04-20 16:55:33 +01:00
MarceloSalazar
91607fe9cd
Remove MTB_MURATA_ABZ target
2020-04-20 16:55:33 +01:00
MarceloSalazar
32ab2ecb7a
Remove MTB_STM32_F439 target
2020-04-20 16:55:33 +01:00
Martin Kojtal
fcc20b1201
Merge pull request #12765 from MultiTechSystems/update-mdot-target
...
Update MTS_MDOT_F411RE target and remove bootloader from tools
2020-04-16 11:53:26 +02:00
MarceloSalazar
e43ece13aa
Rename EMW3166 target
2020-04-09 15:32:41 +01:00
MarceloSalazar
831c475a46
Remove Silica target
2020-04-09 15:32:41 +01:00
MarceloSalazar
1e4c707cc5
Remove ELMO target
2020-04-09 15:32:41 +01:00
MarceloSalazar
3ad6c4fa2b
Remove Ublox ODIN targets
2020-04-09 15:32:39 +01:00
Rajkumar Kanagaraj
3d128e861b
- Fix the CI build issue.
...
- Incorporate the review comment.
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj
9739b565b2
Fix the CI build issue
2020-04-08 10:35:07 +01:00
Taylor Heck
5ca347f460
Use basic STM32F411RE linker scripts, removes bootloader section.
2020-04-07 09:00:09 -05:00
Taylor Heck
94dd3f98c3
Update system_clock.c for VECT_TAB_OFFSET changes in target definition
2020-04-07 09:00:07 -05:00
Martin Kojtal
a6ef9db8dc
Merge pull request #12626 from jeromecoutant/PR_F4
...
STM32F4 update drivers version to CUBE V1.25.0
2020-04-01 10:50:32 +02:00
Martin Kojtal
eb2457f59d
Merge pull request #12690 from jeromecoutant/PR_GCC_ETEXT
...
STM32: solve GCC Unspecified RTOS error
2020-03-31 09:27:05 +02:00
jeromecoutant
33fc5000a9
STM32F4 V1.19.0 -> V1.25.0 : adaptation
2020-03-30 16:04:02 +02:00
jeromecoutant
aa22c4b4d5
STM32F4 V1.19.0 -> V1.25.0 : Driver part
2020-03-30 16:04:01 +02:00
jeromecoutant
480fd2ab92
STM32F4 V1.19.0 -> V1.25.0 : CMSIS part
2020-03-30 16:04:00 +02:00
jeromecoutant
3c3b17d601
STM32F4 restructuration for better maintenance
2020-03-30 16:03:59 +02:00
Martin Kojtal
92cdcfb302
Merge pull request #12662 from artokin/workaround_for_stm32f4_sleep
...
Add workaround for STM32F4 hardfault in sleep mode
2020-03-30 14:08:48 +02:00
Marcelo Salazar
5aa66b5c9a
Add workaround for F429 hardfault
2020-03-27 11:58:46 +00:00
jeromecoutant
a1c159e0b5
STM32 GCC Unspecified RTOS error
2020-03-24 17:32:13 +01:00
jeromecoutant
249752e7bc
STM32H7: enable QSPI
...
- DISCO_H747I board has MT25QL512 embedded QSPI
2020-03-23 18:46:26 +01:00
Teemu Takaluoma
40672c5e0f
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-20 12:16:06 +02:00
Anna Bridge
d61187c23a
Merge pull request #12611 from jeromecoutant/PR_UART_PARITY
...
STM32F4 UART issue when parity enabled
2020-03-13 11:07:21 +00:00
jeromecoutant
6752a2d555
STM32F4 UART issue when parity enabled
...
Bits 8:0 DR[8:0]: Data value
When receiving with the parity enabled, the value read in the MSB bit is the received parity
bit.
2020-03-10 17:22:02 +01:00
Rajkumar Kanagaraj
2f4cf1a052
Fix the CI build issue
2020-03-10 07:50:32 -07:00
jeromecoutant
1fa78eb5a8
STM32F7: add ARM_LIB_HEAP definition in ARM linker scripts
2020-03-05 16:35:40 +01:00
jeromecoutant
0871db277b
STM32F7: allow multiple SetSysClock call
2020-03-05 16:34:56 +01:00
Martin Kojtal
a17866e623
Merge pull request #12559 from jeromecoutant/PR_DISCO_L4R9
...
DISCO_L4R9I correct LED pins
2020-03-04 07:48:32 +00:00
Martin Kojtal
b3583f04cf
Merge pull request #12464 from jeromecoutant/PR_ETHERNET
...
STM32 EMAC : add configuration choice and connection check
2020-03-03 16:04:18 +00:00
jeromecoutant
3e30033822
DISCO_L4R9I correct LED pins
2020-03-03 13:36:57 +01:00
Martin Kojtal
bad9c57085
Merge pull request #12460 from mprse/spi_init_nc_fix
...
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435 )
2020-03-03 09:56:47 +00:00
jeromecoutant
1b40076376
STM32 EMAC : more configurable
...
- PHY default configuration can be changed
- AutoNegotiation
- Speed
- DuplexMode
- PHY register offset can be updated depending on chosen PHY
All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
Martin Kojtal
2d93a4578d
Merge pull request #12451 from jeromecoutant/PR_QSPI_TRACE
...
STM32 : enable MBED trace for QSPI
2020-02-27 10:02:46 +00:00
jeromecoutant
9977ace2c9
STM32 : enable MBED trace for QSPI
2020-02-20 12:20:24 +01:00
jeromecoutant
a1570f936f
STM32WB : Add ReadMe file
...
Help on FW update procedure
2020-02-20 09:20:44 +01:00
jeromecoutant
9d016022b6
STM32WB clean SetSysClock
2020-02-20 09:20:44 +01:00
jeromecoutant
ebae0e56d4
STM32WB align deepsleep functions with CubeFW
2020-02-20 09:20:43 +01:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
Przemyslaw Stekiel
713be4fd77
STM pin_function(), pin_mode(): return immediately when given pin is NC
...
Additionally, remove redundant pin checks against NC when above functions are used.
2020-02-19 11:46:59 +01:00
Przemyslaw Stekiel
c6a6984ab8
Allow NC for MISO or MOSI while initializing SPI
...
Static pinmap extension required to use pin_function() and pin_mode() functions instead of pinmap_pinout(). Unfortunatelly pin_function() does not allow passing NC pin.
Call pin_function() and pin_mode() only if MISO/MOSI pin is not NC.
2020-02-18 13:38:43 +01:00
jeromecoutant
065a79e48a
STM32H7: add README file for dual core use
2020-02-17 16:21:20 +01:00
jeromecoutant
d66b39de18
STM32L5 : Add DISCO-L562E support
2020-02-14 17:49:40 +01:00
jeromecoutant
f0969022b8
STM32L5 : add QSPI support
2020-02-14 17:49:33 +01:00
Martin Kojtal
7658681a9e
Merge pull request #12409 from LMESTM/Fix_lpuart_deep_sleep
...
FIX: LPUART clock source selection should be left to serial driver
2020-02-13 09:45:41 +00:00
Laurent Meunier
3fd071404e
FIX: LPUART clock source selection should be 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.
2020-02-11 17:14:45 +01:00
Martin Kojtal
c1eaf2c358
Merge pull request #12380 from mprse/DISCO_L475VG_IOT01A_add_gpio_pinmap
...
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-11 11:58:53 +00:00
Martin Kojtal
7fd5119b89
Merge pull request #12341 from fkjagodzinski/fix-stm-hal_fpga
...
STM32L4: Fix the UART RX & TX data reg bitmasks
2020-02-10 13:21:31 +00:00
jeromecoutant
2368a07244
STM32: Fix the UART RX & TX data reg bitmasks
2020-02-07 16:23:50 +00:00
Przemyslaw Stekiel
3a71f86235
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-07 11:41:32 +01:00
Filip Jagodzinski
ae635d5cd4
STM32L4: Fix the UART RX & TX data reg bitmasks
...
The existing logic was insufficient to properly handle odd and even
parity setting, e.g. serial_getc() returned 9-bit data for 8O1
transmission format.
2020-02-06 14:07:51 +01:00
Martin Kojtal
32675cc6ac
Merge pull request #11874 from fkjagodzinski/armc6_build-enable_lto_for_release
...
ARMC6: Add a build profile extension with the link-time optimizer enabled
2020-02-05 14:42:16 +00:00
Martin Kojtal
e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
...
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal
841b846b46
Merge pull request #12362 from ABOSTM/L0_CUBE_HAL_REWORK_NO_MORE_OVERRUN
...
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one is read
2020-02-05 10:17:13 +00:00
Martin Kojtal
cee2a352a7
Merge pull request #12357 from ABOSTM/F103_ADC3_NOT_SUPPORTING_COMMON_SETTINGS
...
TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
2020-02-04 15:24:51 +00:00
Alexandre Bourdiol
315220832f
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one read
...
In STM32 Cube HAL, in interrupt mode (async),
2 bytes can be prepared in hardware registers without any read
(1 in regular register, the other in shift register),
but Only 1 RX byte can stored in hardware register, specially when there is no hardware FIFO.
If interrupt handling is fast enough, each read is made in parralele of the write.
But if interrupt handling is too long or is interrupted for too long,
it can happen that one read byte is lost (overrun).
For STM32F4, Tickless has been deactivated to avoid such issue.
For STM32L0, we don't want to deactivate tickless,
because those chips are specially design for lowpower.
So instead of removing SPI async mode,
we propose to change the HAL behavior specially for L0:
each byte is send only when previous read is performed.
Thus only 1 RX byte at a time which is saved in hardware register.
This prevent overrun, but it introduceS some latency between each byte send,
this is why it is not applied to all STM32 families.
2020-02-04 13:26:49 +01:00
Maciej Bocianski
8db3b40a7b
STM: change rtc irq handler name
...
Fix for the error caused by lto on armc6 compiler:
L6137E: Symbol RTC_IRQHandler was not preserved by the LTO codegen but is needed by the image.
lto optimization cause that local symbol RTC_IRQHandler(from rtc_api.c)
somehow interferes with global symbol RTC_IRQHandler (from startup_stm32f070xb.S)
Changing local RTC_IRQHandler to _RTC_IRQHandler fixes problem
2020-02-04 12:29:52 +01:00
Martin Kojtal
250e58134f
Merge pull request #12286 from pea-pod/target-nucleo_l452re-p
...
Add new target: NUCLEO_L452RE-P
2020-02-03 16:34:36 +00:00
Alexandre Bourdiol
03b03feb8d
TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
...
STM32F103ZE: ADC3 doesn't support common settings.
__LL_ADC_COMMON_INSTANCE(ADC3) returns 0
2020-02-03 15:56:49 +01:00
Martin Kojtal
0f4a9867be
Merge pull request #12332 from jamesbeyond/analogIn_fix
...
FIX: Disable Analogin D13(PA_5) on some NUCLEO targets
2020-02-03 12:44:07 +00:00
Qinghao Shi
f7d9850fe7
Disable Analogin D13(PA_5) on some NUCLEO targets
...
- pins are connected to the LED, can't be used as analogin
2020-02-03 11:39:31 +00:00
Martin Kojtal
02c5e0806f
Merge pull request #12350 from maciejbocianski/fix_fpga_i2c_test
...
implements i2c_free for STM
2020-02-03 09:56:59 +00:00
Maciej Bocianski
0b634e54b4
implement i2c_free for STM family
2020-01-31 14:51:54 +01:00
Maciej Bocianski
95996fb924
disable PA_8 i2c pin on NUCLEO_F411RE
...
pin PA_8 by default is connected to MCO
2020-01-31 14:48:00 +01:00
Kevin Bracey
ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
...
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey
91464b2729
Merge pull request #12306 from jeromecoutant/PR_STM32L5_NUCLEO
...
STM32L5: NUCLEO-L552ZE-Q new target
2020-01-29 16:07:44 +02:00
Ari Parkkila
d6f8fece69
Cellular: Enable IP over PPP on UBLOX_C030_R41XM
2020-01-29 03:03:35 -08:00
pea-pod
f7c4693747
Add new target: NUCLEO_L452RE-P
2020-01-27 18:41:18 -06:00
Anna Bridge
ceaf562a11
Merge pull request #12283 from jeromecoutant/PR_STM32WB
...
STM32WB - Update CubeDriver from v1.0.0 to v1.4.0
2020-01-25 11:54:29 +00:00
jeromecoutant
e4d0629d18
STM32L5 : Introduce NUCLEO_L552ZE_Q board
2020-01-23 17:55:07 +01:00