Commit Graph

1354 Commits (mbed-os-5.9.4)

Author SHA1 Message Date
bcostm becdc31214 STM32L496: fix RAM size in ARM scatter file 2018-07-30 10:41:45 -05:00
mattbrown015 822bf98c11 Improve GPIO IRQ edge detection when waking from deepsleep 2018-07-30 10:41:41 -05:00
jeromecoutant 48378cfd64 STM32F2/F4/F7 : LL API is now available 2018-07-27 13:43:58 -05:00
bcostm f1550aea7a stm32 lpuart: enable lse and hsi if not done 2018-07-15 22:54:26 -05:00
jeromecoutant ddc39b33b9 STM32 LPTICKER with LPTIM minor update
Code cleaning (L0 Cube update, comment precision)
2018-07-15 22:54:26 -05:00
jeromecoutant e95291858c 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-15 22:53:45 -05:00
bcostm 9f73ba13e9 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-15 22:53:45 -05:00
bcostm fcad2a6f0a stm32 ticker: corrections in order to pass tests 2018-07-15 22:53:45 -05:00
bcostm d3e35ab118 stm32 ticker: typo corrections 2018-07-15 22:53:45 -05:00
bcostm ccb538562f stm32 ticker: change license 2018-07-15 22:53:45 -05:00
bcostm 9a480e3260 stm32 ticker: rename hal_tick.h in us_ticker_data.h 2018-07-15 22:53:45 -05:00
bcostm 92fe07f02f 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-15 22:53:45 -05:00
bcostm 609ade7130 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-15 22:53:45 -05:00
bcostm 0f9a956799 save/restore timer registers before/after deepsleep 2018-07-15 22:53:31 -05:00
bcostm c6ad478492 Use elapsed time only for 16bit timer 2018-07-15 22:53:31 -05:00
bcostm f2d824adb4 Re-enable IT CC1 after deepsleep 2018-07-15 22:53:31 -05:00
bcostm 5bfabde855 HAL_GetTick returns elapsed time 2018-07-15 22:53:31 -05:00
bcostm 878ce6f72a Use us_ticker_read while SDK is not ready 2018-07-15 22:53:31 -05:00
bcostm 57762fbab8 DISCO_L496AG: update LEDs comments in PeripheralPins.c 2018-07-15 22:53:30 -05:00
bcostm 1c26b2efc2 DISCO_L496AG: change LED1 and LED2 pins 2018-07-15 22:53:30 -05:00
bcostm 21fe483b71 astyle 2018-07-15 22:48:50 -05:00
bcostm ca4fd714a1 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-07-15 22:48:50 -05:00
jeromecoutant 6eb564f434 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-29 17:11:50 +01:00
jeromecoutant 77cb1ccc03 TARGET_STM32L4 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 2e54baa03d TARGET_STM32L1 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 91e7db00a6 TARGET_STM32L0 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 7fa433d75d TARGET_STM32F7 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b6cbec8a30 TARGET_STM32F4 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant f5830bf143 TARGET_STM32F3 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b3292e2b2a TARGET_STM32F2 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 56975a54fe TARGET_STM32F1 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant a4970221bf TARGET_STM32F0 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 91c3b4dc8f TARGET_STM astyle 2018-06-29 17:11:50 +01:00
Boting Ren 5570782b04 fix LED_RED mapping on NUCLEO_F429ZI 2018-06-29 17:10:17 +01:00
Laurent MEUNIER 207dbb2ee2 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-29 17:10:17 +01:00
bcostm 9cd91a6868 fix hash alignment of F2, F7, L4 2018-06-29 17:10:17 +01:00
Seppo Takalo 0b7e21a793 Provide default WiFi interface for Ublox EVK ODIN W2 2018-06-29 17:10:17 +01:00
Juho Eskeli 5dcd26503a Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader 2018-06-29 17:10:17 +01:00
bcostm de5985b4da Remove text related to channel2 2018-06-29 17:10:17 +01:00
bcostm 4094ebc8a6 Add comments for HAL_InitTick function 2018-06-29 17:10:17 +01:00
Yoshihiro TSUBOI b3ebb5229a Changed suggested points
Changed accessibility cellular features member functions, fixed minor target issues
2018-06-15 13:30:56 +01:00
ytsuboi 4b1d0875b7 Adding platform 2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 07773fe312 STM CRC driver: hal_crc_compute_partial() - validate input paramaters. 2018-06-15 13:30:56 +01:00
Kari Haapalehto 9f8321fb16 Fix data aligment problem at STM32F4 hash write 2018-06-15 13:30:56 +01:00
jeromecoutant 01fe512daa STM32 ETH : remove TX RX locking interrupt perforation 2018-06-15 13:30:56 +01:00
jeromecoutant 7c0f54cc16 Dual Bank Flash support update 2018-06-15 13:30:56 +01:00
bcostm 9be9d97b06 Add support of Flash dual bank mode on DISCO_F769NI 2018-06-15 13:30:56 +01:00
bcostm fb639a47e2 Add support of Flash dual bank mode on NUCLEO_767ZI 2018-06-15 13:30:56 +01:00
bcostm 9e915556a7 Add license 2018-06-15 13:30:56 +01:00
bcostm 8b7e62bf65 Remove HAL_TICK_DELAY (no more used) 2018-06-15 13:30:56 +01:00