Cruz Monrreal
5d5ca62a5e
Merge pull request #7553 from bcostm/fix_L496_sct
...
STM32L496: fix RAM size in ARM scatter file
2018-07-23 10:14:05 -05:00
Cruz Monrreal
21dbbc5e8b
Merge pull request #7510 from mattbrown015/fix_stm32_gpio_irq_deepsleep
...
STM32: Improve GPIO IRQ edge detection when waking from deepsleep
2018-07-23 10:12:49 -05:00
bcostm
bf8587ed50
STM32L496: fix RAM size in ARM scatter file
2018-07-19 14:02:05 +02:00
jeromecoutant
59fd0c0cce
STM32F2/F4/F7 : LL API is now available
2018-07-18 15:17:46 +02:00
Cruz Monrreal
38744b9e68
Merge pull request #7498 from bcostm/fix_hsi_lse_lpuart
...
STM32: enable HSI/LSE clocks for LPUART
2018-07-14 13:33:35 -05:00
mattbrown015
7ef70223fb
Improve GPIO IRQ edge detection when waking from deepsleep
2018-07-13 16:02:31 +01:00
jeromecoutant
8a0b83233a
STM32 LPTICKER with LPTIM minor update
...
Code cleaning (L0 Cube update, comment precision)
2018-07-13 10:03:31 +02:00
bcostm
665de33cc6
stm32 lpuart: enable lse and hsi if not done
2018-07-12 15:58:02 +02:00
Cruz Monrreal
e1df16e843
Merge pull request #7365 from jeromecoutant/PR_RTC_SHADOW
...
STM32 RTC : bypass shadow registers
2018-07-11 21:29:02 -05:00
bcostm
0b133be504
stm32 ticker: change th eplace where timer init in done, fix overflow issue with 16-bit timer
...
- Move back the 16/32bit timer initialization in HAL_InitTick() and not in us_ticker_init()
- Use ticker_read_us() and us_ticker_read() in HAL_GetTick() to fix potential overflow issue with the 16bit timer
==> These corrections allow timer, rtc, sleep, tick tests to PASS
2018-07-11 14:45:48 +02:00
bcostm
fc50e28ae6
stm32 ticker: corrections in order to pass tests
2018-07-11 14:44:23 +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
b1bbd765b7
stm32 ticker: rename files and move functions
...
- rename hal_tick_common.c in hal_tick_overrides.c
- move 16 and 32bits timer functions in us_ticker.c
2018-07-11 14:36:58 +02:00
jeromecoutant
1052993236
STM32 RTC : bypass shadow registers
...
- RTC_SSR for the subseconds
- RTC_TR for the time
- RTC_DR for the date
These registers were accessed through shadow registers which are synchronized with PCLK1 (APB1 clock).
They are now accessed directly in order to avoid waiting for the synchronization duration.
2018-07-11 10:08:02 +02:00
Cruz Monrreal
bcec185754
Merge pull request #7352 from bcostm/fix_rtc_ticker
...
STM32: Fix RTC test issue on targets using a 16-bit timer for us_ticker
2018-07-09 10:20:13 -05:00
bcostm
a838cb21d1
save/restore timer registers before/after deepsleep
2018-07-04 16:44:00 +02:00
bcostm
9523bcf8c9
Use elapsed time only for 16bit timer
2018-07-04 16:43:21 +02:00
bcostm
fcdd529f89
Re-enable IT CC1 after deepsleep
2018-07-04 10:16:32 +02:00
bcostm
f785c23e89
HAL_GetTick returns elapsed time
2018-07-04 10:16:31 +02:00
bcostm
26cb388d14
Use us_ticker_read while SDK is not ready
2018-07-04 10:15:15 +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
bcostm
0c417ab8b7
astyle
2018-06-29 10:12:40 +02:00
bcostm
9be8541a30
STM32: add lpuart_clock_source config
...
Keep same clock configuration as done before this PR (LSE and PCLK1).
Use a JSON file to change it.
2018-06-29 10:10:29 +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
jeromecoutant
ecffec8336
TARGET_STM32L1 astyle
2018-06-27 14:44:37 +02:00
jeromecoutant
baf97d78aa
TARGET_STM32L0 astyle
2018-06-27 14:43:59 +02:00
jeromecoutant
e9d7128485
TARGET_STM32F7 astyle
2018-06-27 14:42:56 +02:00
jeromecoutant
f50720e2a4
TARGET_STM32F4 astyle
2018-06-27 14:42:28 +02:00
jeromecoutant
6df23ee841
TARGET_STM32F3 astyle
2018-06-27 14:32:10 +02:00
jeromecoutant
f9bd4768a5
TARGET_STM32F2 astyle
2018-06-27 14:31:31 +02:00
jeromecoutant
c8313901fb
TARGET_STM32F1 astyle
2018-06-27 14:31:04 +02:00
jeromecoutant
6066e68ec6
TARGET_STM32F0 astyle
2018-06-27 14:23:31 +02:00
jeromecoutant
433ba46132
TARGET_STM astyle
2018-06-27 14:21:07 +02:00
Boting Ren
6f9c76c949
fix LED_RED mapping on NUCLEO_F429ZI
2018-06-26 16:22:28 +09:00
Cruz Monrreal
093b4f05a2
Merge pull request #7241 from LMESTM/Fix_DeepsleepStackUsage
...
STM32: Reduce HAL_deepsleep stack usage
2018-06-20 08:38:56 -05: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
Cruz Monrreal
567689c725
Merge pull request #7259 from SeppoTakalo/default_wifi
...
Provide default WiFi interfaces for Ublox and Realtek
2018-06-19 21:46:45 -05:00
Laurent MEUNIER
81adafb5a7
STM32: Reduce HAL_deepsleep stack usage
...
There are cases where a call hal_deepsleep would overflow the idle task
stack, especially in developper or debug profile.
In order to avoid this case, we split ForceClockOutofDeepSleep
into two separate functions the two structure RCC_ClkInitStruct and
RCC_OscInitStruct are not allocated at the same time.
2018-06-19 17:32:00 +02:00
Seppo Takalo
b4726cbca5
Provide default WiFi interface for Ublox EVK ODIN W2
2018-06-19 16:40:55 +03: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
09b8b53b27
Remove text related to channel2
2018-06-15 11:27:52 +02:00
bcostm
1cef655687
Add comments for HAL_InitTick function
2018-06-15 11:19:52 +02:00
Cruz Monrreal
276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
...
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Cruz Monrreal
0a528ff558
Merge pull request #6831 from mprse/hal_crc_test
...
Add HAL CRC test and header file
2018-06-13 08:47:11 -05:00