Martin Kojtal
b97ac0c353
Merge pull request #7787 from jeromecoutant/PR_MSI_LSE
...
STM32L4 : code cleanup in MSI SetSysClock
2018-09-17 14:22:29 +02:00
Cruz Monrreal
d311a96061
Merge pull request #7950 from c1728p9/l4_malloc_fix
...
Fix memory allocation on STM32L4 devices
2018-09-07 22:50:05 -05:00
Russ Butler
e084865e8e
Fix comparison warning on STM32L4 devices
...
Cast the pointer used in l4_retarget to uint32_t before comparing it
to fix the warning:
"comparison between pointer and integer"
2018-09-06 16:07:03 +01:00
Maciej Bocianski
050604f1b8
DISCO_L475VG_IOT01A remove old QSPI pins
2018-09-05 09:58:20 +02:00
Russ Butler
e2d003a420
Fix memory allocation on STM32L4 devices
...
Depending on initial size allocated on STM32L4 devices with
TWO_RAM_REGIONS set a crash may occur. This is because there is a
mismatch between the size newlib is expecting and the size actually
returned by _sbrk. This is because the STM32L4 implementation of _sbrk
is performing alignment internally.
This patch fixes this problem by removing the code in __wrap__sbrk
which performs the alignment.
2018-08-31 18:31:52 -05:00
Maciej Bocianski
5195c820e6
standardise QSPI pin names
2018-08-24 12:09:51 +02:00
adustm
7dda4e4fc6
Implement qspi_free function
2018-08-22 15:02:10 +02:00
jeromecoutant
43258a8ff4
STM32 : add all QSPI pins in available targets
2018-08-22 15:02:08 +02:00
Maciej Bocianski
67798d6eb2
STM: add qspi pin names for DISCO_L475VG_IOT01A
2018-08-22 15:02:04 +02:00
adustm
2f06423a89
Add support for QSPI on DISCO_L476VG
2018-08-22 15:02:01 +02:00
Martin Kojtal
d282c81e86
QSPI: add STM32L4 support
...
Disco IoT board support for QSPI. As it does not have dual flash support in QSPI,
we need to fix qspi hal implementation.
2018-08-22 15:00:17 +02:00
jeromecoutant
b5c258e398
STM32L4 : code cleanup in MSI SetSysClock
2018-08-14 09:20:52 +02:00
jeromecoutant
063cad5992
STM32L4 assert in SetSysClock replaced
2018-08-13 16:01:49 +02:00
Laurent Meunier
402f3f1c3f
STM32: check for UART ongoing transfers before entering deepsleep
...
As suggested by Russ Butler in mbed-os issue #7328 , and until there is an
implementation of mbed-os issue #4408 , we are implementing a workaround
at HAL level to check if there is any ongoing serial transfer (which happens
if HW FIFO is not yet empty).
In case a transfer is ongoing, we're not entering deep sleep and
return immediately.
2018-08-07 11:30:53 +02:00
bcostm
bf8587ed50
STM32L496: fix RAM size in ARM scatter file
2018-07-19 14:02:05 +02:00
bcostm
7097e07b62
stm32 ticker: typo corrections
2018-07-11 14:43:36 +02:00
bcostm
d8e839a789
stm32 ticker: change license
2018-07-11 14:43:16 +02:00
bcostm
32031cbab3
stm32 ticker: rename hal_tick.h in us_ticker_data.h
2018-07-11 14:42:44 +02:00
bcostm
fbd7a97e19
stm32 ticker: rename macro and update ST HAL Tick functions
...
- rename TIM_MST_16BIT in TIM_MST_BIT_WIDTH in order to use it directly in ticker info structure
- change HAL_InitTick() and HAL_GetTick()
2018-07-11 14:39:42 +02:00
bcostm
b6beb74d9d
DISCO_L496AG: update LEDs comments in PeripheralPins.c
2018-07-02 10:27:23 +02:00
bcostm
a9ba4f9bf5
DISCO_L496AG: change LED1 and LED2 pins
2018-07-02 10:20:49 +02:00
jeromecoutant
3721ac44d2
STM32 serial RX/TX active patch
...
In serial_tx_active and serial_rx_active functions,
we check the internal state value with
HAL_UART_STATE_BUSY_TX = 0x21U,
HAL_UART_STATE_BUSY_RX = 0x22U,
It seems that value can also be :
HAL_UART_STATE_BUSY_TX_RX = 0x23U,
2018-06-28 18:05:52 +02:00
jeromecoutant
78410e7032
TARGET_STM32L4 astyle
2018-06-27 14:46:00 +02:00
Cruz Monrreal
cc1e4f0ff8
Merge pull request #7205 from bcostm/fix_hash_data_alignment
...
STM32: Fix data alignment issue in HASH function for F2, F7, L4
2018-06-20 07:55:57 -05:00
Martin Kojtal
c964f2ee66
Merge pull request #7226 from juhoeskeli/wise_1570_app_start
...
Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader
2018-06-19 14:12:07 +02:00
Juho Eskeli
699601535e
Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader
2018-06-15 13:05:00 +03:00
bcostm
b5a8dc513c
fix hash alignment of F2, F7, L4
2018-06-13 11:51:24 +02:00
bcostm
b087390a1a
Remove HAL_TICK_DELAY (no more used)
2018-06-05 16:53:40 +02:00
Cruz Monrreal
07fb7c1adc
Merge pull request #6987 from jeromecoutant/PR_ADC
...
STM32 ADC update
2018-06-02 19:52:51 -05:00
Alan Chuang
7f4272d9a7
make uart console port configurable via mbed_app.json
2018-05-25 16:30:57 +08:00
jeromecoutant
7fd4203b58
STM32L4 ADC internal channels update
2018-05-22 13:18:25 +02:00
jeromecoutant
b30f3abf11
STM32 PeripheralPins.c second update after review
...
genpinmap script version 1.1
2018-05-17 17:58:09 +02:00
jeromecoutant
3ac1855d93
STM32L4 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:14 +02:00
jeromecoutant
3e92ff1f85
STM32L4 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:41 +02:00
Cruz Monrreal
e2567e5dad
Merge pull request #6599 from jeromecoutant/PR_WARNING
...
STM32 compilation warning issues
2018-04-16 10:41:36 -05:00
Paul Thompson
20f11bc13f
Extend changes to other STM32 devices that have the PCD_WriteEmptyTxFifo() function
2018-04-13 05:27:03 -07:00
jeromecoutant
71d7d24bd6
STM32L4 : correct compilation warnings
2018-04-12 10:56:41 +02:00
Jimmy Brisson
d374bb4a5a
Correct armc6 detection logic
2018-04-05 15:13:52 -05:00
Cruz Monrreal
7c272fa3e8
Merge pull request #6412 from jeromecoutant/PR_L4_ADC
...
STM32L4 ADC correct internal channel management
2018-03-22 11:27:50 -05:00
Cruz Monrreal
04a3635eba
Merge pull request #6399 from jeromecoutant/PR_L4_TEMP
...
STM32L4 ADC Internal Channel : correct sampling time
2018-03-22 11:27:30 -05:00
jeromecoutant
ef006931f8
STM32L4 ADC correct internal channel management
2018-03-21 10:57:57 +01:00
Cruz Monrreal
6cb6dd9e62
Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p
...
NUCLEO_L433RC_P: fix pins definitions
2018-03-20 14:56:05 -05:00
jeromecoutant
6c369d17aa
STM32L4 ADC Internal Channel : correct sampling time
2018-03-20 13:15:17 +01:00
bcostm
64a824abd2
DISCO_L496AG: add system clock file (same as Nucleo)
2018-03-16 10:02:12 +01:00
bcostm
ade8583044
DISCO_L496AG: add other pins related files
2018-03-16 10:02:11 +01:00
bcostm
63901a803c
DISCO_L496AG: remove QSPI2
...
Base adress not found in registers map file but found in CubeMX xml file.
2018-03-16 10:02:11 +01:00
bcostm
eab3e95158
DISCO_L496AG: add PeripheralPins.c
2018-03-16 10:02:11 +01:00
bcostm
8fe02803e1
NUCLEO_L433RC_P: fix LEDs pin assignment
2018-03-12 11:30:52 +01:00
adustm
67953251f9
Use official toolchain defines
2018-02-23 10:29:29 +01:00
adustm
f551255ded
Add support of separate memories for heap and stack region swith the use of TWO_RAM_REGIONS define
2018-02-22 17:37:34 +01:00