bcostm
d01cfb1ca8
STM32 serial: coding style
2018-02-09 14:18:42 +00:00
bcostm
7cda4dd332
STM32 serial: improve irq index management for F1 devices
2018-02-09 14:18:42 +00:00
bcostm
83157673d2
STM32 serial: use uart_name in serial_irq_set function for F4
2018-02-09 14:18:42 +00:00
bcostm
fb4d9252f8
STM32 serial: fix linking error
2018-02-09 14:18:42 +00:00
bcostm
2c4d959064
STM32 serial: use uart_name instead of uart_base
2018-02-09 14:18:42 +00:00
bcostm
327a378123
STM32 serial: change serial_get_irq_n function for F4 devices
2018-02-09 14:18:42 +00:00
bcostm
f67975410a
STM32 serial: use get_uart_index function for F4 devices
2018-02-09 14:18:42 +00:00
bcostm
0c09ac7716
STM32 serial: add get_uart_index utility function
2018-02-09 14:18:42 +00:00
bcostm
584e6ee5da
STM32 serial: move init_uart function at the end of file
2018-02-09 14:18:42 +00:00
Wilfried Chauveau
0a644d25e9
add support for the murata's module based on STM32L0
2018-02-09 14:18:42 +00:00
Wilfried Chauveau
a97e4d76ed
fix a silent conflict with PR #5947
2018-02-09 14:18:42 +00:00
Wilfried Chauveau
8340f5041a
add support for STM32L443RC & WISE-1510
2018-02-09 14:18:42 +00:00
jeromecoutant
0e78e7ef4e
STM32 : set all PinMap structures as weak
...
This allow custom overwrites
2018-02-09 14:18:42 +00:00
jeromecoutant
ee333a5cd0
SMT32L4 : add missing ST HAL LPUART functions
...
To enable/disable UART Clock in Stop Mode
2018-02-09 14:18:41 +00:00
jeromecoutant
73ed270d2d
STM32 NUCLEO F413ZH and L433RC : STDIO configuration
...
#5795 patches are missing for these 2 targets
STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-02-09 14:18:40 +00:00
bcostm
d048ec2fa8
Use legacy CAN api
2018-01-27 01:37:26 -06:00
bcostm
5bb6edc952
Update stm32l4xxxx.h files
2018-01-27 01:37:26 -06:00
bcostm
4c7f0e6e5b
Update stm32l4xx.h files
2018-01-27 01:37:25 -06:00
bcostm
9971ad27ca
Update system_stm32l4xx.c with latest version
2018-01-27 01:37:25 -06:00
bcostm
fb71917adb
Remove release notes file
2018-01-27 01:36:57 -06:00
bcostm
6b5302c8f5
Add more comments
2018-01-27 01:36:38 -06:00
bcostm
5fa45e827a
L4 ST CUBE V1.11.0
...
Update to STM32CubeL4 V1.11.0
Conflicts solved:
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l433xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/device/stm32l4xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l496xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l4xx.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_conf.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_def.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_i2c.c
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi.h
2018-01-27 01:35:20 -06:00
bcostm
96227a861d
STM32F0 uart irq: test IT flags for usart3/4
2018-01-27 00:57:55 -06:00
bcostm
2c0daf8e1f
STM32F0: manage better uart3 & 4 irqs
...
Manage the case where both uart3 and uart4 interrupts are arriving at the same time.
2018-01-27 00:57:55 -06:00
bcostm
2538f9d000
STM32F0 usart irq: fix issue with F070/F072
2018-01-27 00:57:54 -06:00
bcostm
d5523167bf
STM32F0: fix usart irq management
2018-01-27 00:57:54 -06:00
jeromecoutant
5651aa22da
NUCLEO_F401RE : PeripheralPins file update
...
Default SERIAL pins are now available for ADC and PWM
when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO
Alternative pins have been also defined
2018-01-27 00:57:53 -06:00
jeromecoutant
acfdaca56a
MTB_XX : STDIO configuration
...
Here is a proposition
- to align with other STM32
- and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-27 00:57:53 -06:00
Martin Kojtal
e7b7bea320
Revert "STM32F7: Add bootloader support"
2018-01-27 00:57:52 -06:00
jeromecoutant
33d2548d24
STM32F407 : correct ARM scatter file
...
Alignment with STM32Cube_FW_F4_V1.18.0 done
2018-01-27 00:57:52 -06:00
adustm
c95ef84da6
Improve SRAM use for IAR toolchain Use the entire SRAM2 with NVIC buffer + stack Increase HEAP size to 0x10000 in SRAM1 Increase the available SRAM1 by 0x2000
2018-01-27 00:57:52 -06:00
bcostm
4ea39124ff
STM32: fix serial 7bit data format
2018-01-27 00:57:48 -06:00
jeromecoutant
1d0354d1ab
STM32LX : HAL_RCC_OscConfig update in PLL configuration
...
check PLL settings before retuuning error
2018-01-27 00:57:48 -06:00
bcostm
248db987bc
NUCLEO_F767ZI: Add bootloader support
2018-01-27 00:57:48 -06:00
bcostm
b89be917fd
Check cache before enabling it
...
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-01-27 00:57:47 -06:00
bcostm
00003cdc47
BL NUCLEO_F746ZG: change scb->vector assignment
2018-01-27 00:57:47 -06:00
bcostm
51207deeff
BL STM32746xG: Update scatter/link files
2018-01-27 00:57:47 -06:00
Ashok Rao
c4394af334
Adding MTB MXChip EMW3166 as a new target
2018-01-27 00:57:47 -06:00
Ashok Rao
4e38baf637
Adding MTB MTS_Dragonfly as a new target
2018-01-27 00:57:43 -06:00
jeromecoutant
c4bff4ef58
STM32 LPT optimisation
2018-01-27 00:57:27 -06:00
bcostm
5e85ff9133
STM32 CAN: fix wrong ID and MASK filter
2018-01-27 00:57:27 -06:00
jeromecoutant
5bdeb14424
STM32F4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
...
NB for UBLOX targets: usb_rx and usb_tx config name are still available
in order to not break current applications.
2018-01-27 00:57:27 -06:00
jeromecoutant
cd3a35e79c
STM32L4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:25 -06:00
jeromecoutant
346d4cd986
STM32L1: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:25 -06:00
jeromecoutant
c92c7cfbc6
STM32L0: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:25 -06:00
jeromecoutant
4edae1a028
STM32F7: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:24 -06:00
jeromecoutant
3812bdb1bc
STM32F3: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:24 -06:00
jeromecoutant
2bf5222024
STM32F2: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:24 -06:00
jeromecoutant
fc91827a52
STM32F1: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:24 -06:00
jeromecoutant
12106236e1
STM32F0: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-27 00:57:24 -06:00
jeromecoutant
0b5fe8de99
STM32: update init procedure
...
- STDIO_UART define is no more used
- configuring a new serial with the same UART as STDIO is no more allowed
2018-01-27 00:57:24 -06:00
jeromecoutant
72c648ae62
STM32 LOWPOWERTIMER : introduce LPTIM feature
...
STM32L0, L4, F7 and few F4 chip are supporting LPTIM feature.
We propose to allow user to use LPTIM for MBED LowPowerTimer API instead of using RTC wakeup timers.
By default, all targets that are supporting this feature have been configured.
2018-01-27 00:57:22 -06:00
bcostm
6c3a1cb6e9
STM32F2: Remove flash functions doc
2018-01-27 00:57:20 -06:00
bcostm
b2ef8fc667
STM32F2: Add Flash API support
2018-01-27 00:57:20 -06:00
jeromecoutant
d1a75ecff1
DISCO_F407VG : alignment with other STM32
...
- clock source is now a user choice
- IAR tool chain is available
2018-01-27 00:57:20 -06:00
jeromecoutant
632f06d5ac
STM32F0 : ST CUBE version update to V1.9.0
...
- Previous ST Cube version: V1.7.0
- CMSIS part update from 2.3.1 to 2.3.3
- HAL part update from 1.5.0 to 1.7.0
2018-01-12 15:01:48 +00:00
jeromecoutant
fd800caced
STM32 : issue to exit deepsleep when RTC has not been initialized
2018-01-12 15:01:47 +00:00
Adam Heinrich
1ca129ae54
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
...
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2018-01-12 15:01:47 +00:00
Ashok Rao
0c132c57de
Fixing indentation
2018-01-12 15:01:44 +00:00
Ashok Rao
2ead50c325
Adding MTB ublox ODIN W2
2018-01-12 15:01:44 +00:00
bcostm
eaf7077a9c
STM32F3: Remove flash functions doc + typos
2018-01-12 15:01:44 +00:00
bcostm
5dbc668298
STM32F3: reset PGERR flash flag
2018-01-12 15:01:43 +00:00
bcostm
349056ca48
STM32F3: flash_api typos
2018-01-12 15:01:43 +00:00
bcostm
3d90822ed2
STM32F3: add Flash api
2018-01-12 15:01:43 +00:00
jeromecoutant
02b5e52b23
STM32 uart: update after code review
2018-01-12 15:01:43 +00:00
jeromecoutant
fba156a35a
STM32 LPUART : update clock source depending on expected baudrate
2018-01-12 15:01:43 +00:00
jeromecoutant
c841e4065d
STM32 UART init update
...
- serial_init, serial_free and serial_baud function moved from serial_device.c (specific to each STM32 family) to serial_api.c (common STM32 file)
- default baudrate value was hardcoded to 9600
- Value is set now to MBED_CONF_PLATFORM_STDIO_BAUD_RATE for STDIO
- Value is set now to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE for other use
- UART init will not be stopped before calling serial_baud function
2018-01-12 15:01:43 +00:00
bcostm
c71e50ea8c
STM32F1: Remove flash functions doc
2018-01-12 15:01:43 +00:00
bcostm
8589a21f44
STM32F0: Remove flash functions doc
2018-01-12 15:01:43 +00:00
bcostm
39d38eb245
STM32F0: Add Flash API support
2018-01-12 15:01:43 +00:00
bcostm
84dc7f82d5
STM32F1: Add Flash API support
2018-01-12 15:01:43 +00:00
andreas.larsson
404e8ed1a0
Added license header
2018-01-02 15:22:04 +00:00
andreas.larsson
d95a2535d3
Added init for ODIN EVK LEDs to be off by default
2018-01-02 15:22:04 +00:00
Kevin Bracey
caff3d1775
Add memory barriers to STM32F7xx Ethernet
...
Pending official update from STM, add memory barriers to the Ethernet
HAL code for the STM32F7xx family.
Cortex-M7 has a merging write buffer that is not automatically flushed
by accesses to devices, so without these DMBs, we sometimes lose synch
with the transmitter.
The DMBs are architecturally needed in every version of this HAL, but
adding just to the STM32F7 version for now to clear test, as the
problem has only been observed on Cortex-M7-based devices.
Fixes #5622 .
2018-01-02 15:22:02 +00:00
Bilal
e163adbacf
Bracket moved to next line
2017-12-20 16:05:44 +00:00
Bilal
bef3ea63c3
Licenses added in header files
2017-12-20 16:05:44 +00:00
Bilal
2614c0bc52
C030 Battery Charger Voltage Fix
2017-12-20 16:05:44 +00:00
jeromecoutant
e005456f70
STM32F4 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant
0dfa368c76
STM32L4 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
jeromecoutant
b753262432
STM32F3 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-20 16:05:44 +00:00
bcostm
17f704c30c
STM32 CAN3: add CAN_3 declaration for DISCO_F769NI
2017-12-20 16:05:43 +00:00
Adam Heinrich
fd604f43b8
STM32: Set valid filter number for CAN3
...
Filter numbers 14 to 27 are reserved for dual CAN configuration.
However, CAN3 operates in single CAN configuration according to the
reference manual).
2017-12-20 16:05:43 +00:00
bcostm
b43b6cc420
STM32 CAN3: remove test of CAN_2 and CAN_3
...
CAN_2 and CAN_3 are enum and not #define and this causes compilation error with GCC_ARM
Instead put back the test of CAN_NUM (which are defined in can_device.h).
2017-12-20 16:05:43 +00:00
Adam Heinrich
669e5495ff
STM32: Pass correct id to can_irq() for CAN3
2017-12-20 16:05:43 +00:00
jeromecoutant
990fb1c18a
STM32 RTC : update and comment prescaler values
2017-12-20 16:05:43 +00:00
jeromecoutant
3264b21e40
STM32: RTC_LSI macro is replaced by lse_available config
2017-12-20 16:05:43 +00:00
jeromecoutant
8359253666
STM32 LOW_POWER_TIMER update : use error
2017-12-20 16:05:43 +00:00
jeromecoutant
3d3a83e99b
STM32 LOW_POWER_TIMER update : rtc_init procedure
2017-12-20 16:05:43 +00:00
jeromecoutant
16a7ecee58
STM32 LOW_POWER_TIMER update : sleep
...
RSF synchro after deepsleep is not specific to Low Power Timer feature
And we have to check if RTC is configured before synchro
2017-12-20 16:05:43 +00:00
jeromecoutant
9b8ecab9a9
STM32 LOW_POWER_TIMER update : rtc_api.c
...
Add RSF synchro during init
Set a better WakeUp clock for long wake up period in order to stay in sleep mode
Use rtc_isenabled function before init as rtc_init is called at each set_time call
2017-12-20 16:05:43 +00:00
jeromecoutant
51b68ee6b7
STM32 LOW_POWER_TIMER update : lp_ticker
...
Removed unnecessary part
2017-12-20 16:05:43 +00:00
Helmut Tschemernjak
b9f4cdf978
Added the proper defines for the STM32L432 bootloader support
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
78cd49b21d
Changed NVIC Flash base address to support the bootloader
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
39b2854138
Updated wrongly defined UART3_BASE into USART3_BASE
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
655048dbd6
Added TARGET_STM32L433RC stack size define into mbed_rtx.h
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
2a0be67d7a
Updated to toolchain startup/linker files to support the 433 devices Also added the symbolic MBED_APP_START/MBED_APP_END defines
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
b4a0b59400
defined STM32L433xx
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
2f1927bfff
Added stm32l433xx.h defined STM32L433xx
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
1f72c67967
Updated PeripheralNames.h, PeripheralPins.c and PinNames.h for STM32L433 devices
2017-12-20 16:05:42 +00:00
Helmut Tschemernjak
101ede0f84
Copied TARGET_STM32L432 to TARGET_STM32L433, renamed 432 files to 433
2017-12-20 16:05:42 +00:00