Cruz Monrreal
4903f324a1
Merge pull request #8013 from deepikabhavnani/stm_fix_align
...
STM32: Fix alignment of execute region to 8byte boundary
2018-10-10 08:40:55 -05:00
Deepika
bf1a2c8485
[ST]: Fix alignment of execute region to 8-byte boundary in ARM linker files
...
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files should strictly align to 8-byte boundary
2018-10-09 14:47:14 -05:00
Martin Kojtal
7c1cdc85ed
Merge pull request #8225 from juhoeskeli/IAR_STM32F412xG
...
Adjust stack & heap for IAR on STM32F412xG
2018-10-09 10:34:25 -05:00
Martin Kojtal
17762b4998
Merge pull request #8263 from juhoeskeli/flash_api_stm32l4
...
STM32L4: clear error programming flags before erase & program operations
2018-10-09 10:33:50 -05:00
Martin Kojtal
18d613111f
Merge pull request #8286 from jeromecoutant/PR_RTCWRITE
...
STM32 RTC : write RTC time while LPTICKER is enabled
2018-10-09 10:33:37 -05:00
Cruz Monrreal
8fd99449c3
Merge pull request #8280 from bcostm/fix_i2c_stop
...
STM32: Fix I2C stop condition
2018-10-08 10:23:38 -05:00
Cruz Monrreal
5a1c49fa6d
Merge pull request #8168 from jeromecoutant/PR_ADC_DISCOL496
...
DISCO_L496AG : enable ADC
2018-10-08 10:10:44 -05:00
Anna Bridge
c8734cf62a
Merge pull request #8252 from juhoeskeli/stm32f207_IAR
...
Adjust heap size on stm32f207
2018-10-08 12:36:53 +01:00
Martin Kojtal
365d61e4a9
Merge pull request #7304 from cedrickkukela-cd/MTS_DRAGONFLY_L471QG_pull_request_feature_changes
...
Add MTS dragonfly, MTS dragonfly l471
2018-10-08 11:06:23 +02:00
Martin Kojtal
baada0e783
Merge pull request #8242 from jeromecoutant/PR_STM32_LPTICKER
...
STM32 LPTICKER : Fix tickless and LPTICKER_DELAY_TICKS
2018-10-05 22:23:09 +02:00
Martin Kojtal
0b1bc876ac
Merge pull request #8103 from jeromecoutant/PR_L0_ADC
...
STM32 L0 ADC internal channel fix
2018-10-05 22:22:32 +02:00
Martin Kojtal
72fa1e0e8f
Merge pull request #8119 from jeromecoutant/PR_L4_ADC
...
STM32L496 : wrong ADC init
2018-10-05 19:53:25 +02:00
Martin Kojtal
f7f6d4d2d8
Merge pull request #7585 from bcostm/dev_NUCLEO_L4R5ZI
...
NUCLEO_L4R5ZI: add new platform
2018-10-05 14:53:11 +02:00
jeromecoutant
83caa049ca
STM32 RTC : write RTC time while LPTICKER is enabled
...
This fix avoid a long waiting loop in rtc_write function,
which was not acceptable in TICKLESS context.
Implementation comments added.
Global variable name has been updated for easier maintenance:
- LPTICKER_counter is the U32 continuous tick counter
- LPTICKER_RTC_time is the RTC time used to get the time difference
between rtc_read_lp() calls
2018-10-04 15:30:49 +02:00
Martin Kojtal
7a057d7ec8
Merge pull request #8085 from jeromecoutant/PR_RTC_LSI
...
STM32 RTC : start LSI clock (for targets without LSE)
2018-10-04 13:37:53 +02:00
Martin Kojtal
8b623156e5
Merge pull request #7932 from wajahat-ublox/PC2_AnalogIn
...
ublox c030: Add PC2 pin to ADC pin map
2018-10-02 21:12:31 +02:00
Leon Lindenfelser
9f9a85830f
Configure IAR stack size to 1KB
2018-10-02 13:34:16 -05:00
Juho Eskeli
f7a030ef7c
Remove redundant error flag clearing operation
2018-10-02 09:18:03 +03:00
Martin Kojtal
232543ac4b
Merge pull request #7813 from MSiglreithmaierRB/os_sleep_stm32l4
...
STM32L4: Fix sleep implementation
2018-10-01 17:24:12 +02:00
Martin Kojtal
6ec90d1224
Merge pull request #8134 from jeromecoutant/PR_L1_ADC
...
STM32L1 ADC update for internal channels
2018-10-01 11:48:44 +02:00
bcostm
9cade872db
STM32: Fix I2C stop condition
...
Need to ensure the transmission has been started before sending a STOP condition.
Issue found on the NUCLEO_H743ZI due certainly to the high-speed clock used.
But this is normally needed also on all STM32 devices using the I2C peripheral version 2.
2018-09-28 14:49:17 +02:00
jeromecoutant
9bc2e5a5ad
STM32 LPTICKER with RTC : Fix tickless and lp wrapper
...
When both tickless and LPTICKER_DELAY_TICKS are enabled some ST
devices randomly get stuck sleeping forever. This is because the
wake up time passed to the rtc is ignored if the previous match is
about to occur. This causes the device to get stuck in sleep.
This patch prevents matches from getting dropped by the rtc by
deactivating the rtc wake up timer before setting a new value.
Events leading up to this failure for the RTC:
-1st call to lp_ticker_set_interrupt
-delay until ticker interrupt is about to fire
-2nd call to lp_ticker_set_interrupt
-interrupt for 1st call fires and match time for 2nd call is dropped
-LowPowerTickerWrapper gets ticker interrupt but treats it as a
spurious interrupt and drops it since it comes in too early
-device enters sleep without a wakeup source and locks up
2018-09-27 14:31:36 +02:00
jeromecoutant
b1d23e5ec5
STM32 LPTICKER with LPTIM : Fix tickless and lp wrapper
...
This fixes issue with mbed_hal/lp_ticker/lp_ticker_early_match_race_test
2018-09-27 14:30:00 +02:00
bcostm
909ce3590a
NUCLEO_L4R5ZI: set IAR linker stack size to 1KB
2018-09-27 12:03:08 +02:00
bcostm
5b4ff94bff
NUCLEO_L4R5ZI: change _ALTx pins
2018-09-27 12:03:07 +02:00
bcostm
ee5aff7e18
NUCLEO_L4R5ZI: remove PWM_5 pins as already used by us_ticker
2018-09-27 12:03:07 +02:00
bcostm
a644ddd2e7
NUCLEO_L4R5ZI: enable bootloader
2018-09-27 12:03:07 +02:00
bcostm
3a722358b1
NUCLEO_L4R5ZI: add missing timer freeze macro
2018-09-27 12:03:07 +02:00
bcostm
abca890d8e
NUCLEO_L4R5ZI: update mbed_rtx.h
2018-09-27 12:03:07 +02:00
bcostm
ef33ff5524
NUCLEO_L4R5ZI: add all board files
2018-09-27 12:03:07 +02:00
Leon Lindenfelser
a80b2369c3
Decrease heap size in IAR linker so tests compile and use SRAM2 for IAR and GCC
2018-09-26 15:39:42 -05:00
Leon Lindenfelser
5ff0eb9d92
Rebase and changes for Dragonfly nano support
2018-09-26 15:39:42 -05:00
Leon Lindenfelser
31d04b05b7
Rebased on master mbed-os 9/7/18
...
This required replacing hal_tick.h with us_ticker_data.h
2018-09-26 15:37:33 -05:00
Leon Lindenfelser
3bb8543e5b
Remove commented out code
2018-09-26 15:37:33 -05:00
Leon Lindenfelser
55bcf93574
Fixed spacing/tabs and clean up targets.json
2018-09-26 15:37:33 -05:00
Leon Lindenfelser
fad95e9a7d
Fix rev D radio init/power/reset and add back bootloader capability
2018-09-26 15:37:33 -05:00
cedrick kukela
463182d372
REV D change for modem on
2018-09-26 15:37:33 -05:00
cedrick kukela
1064994095
Rev c pin name fix
2018-09-26 15:37:33 -05:00
cedrick kukela
7f29f837d1
remove blanks
2018-09-26 15:37:33 -05:00
cedrick kukela
56fa71cbd3
delete file
2018-09-26 15:37:33 -05:00
cedrick kukela
50254bcc61
change startup and s file names to match target
2018-09-26 15:37:33 -05:00
cedrick kukela
5e1bb381cd
fixing onboard modem init bug on mts dragonfly l471
2018-09-26 15:37:32 -05:00
cedrick kukela
e2e5d9ed43
Ublox and PinName fixes
2018-09-26 15:37:32 -05:00
cedrick kukela
c18eef804e
adding TARGET MTS_DRAGONFLY_L471QG
2018-09-26 15:37:32 -05:00
Juho Eskeli
3a6b52fd15
Clear error programming flags before erase & program operations
2018-09-26 22:58:49 +03:00
Juho Eskeli
f8c8c3cf68
Reduce heap size on stm32f207
2018-09-26 10:07:45 +03:00
Markus Siglreithmaier
ea6c886d22
STM32L4: Use HAL layer functions for sleep implementation
2018-09-26 08:54:13 +02:00
Martin Kojtal
65a0a1aecd
Merge pull request #8131 from jeromecoutant/PR_F3_ADC
...
STM32F3 correct analogin_read
2018-09-25 13:24:03 +02:00
Martin Kojtal
396f7e39fa
Merge pull request #8037 from mattbrown015/stm32_gpio_irq_shared_vector
...
STM32: Fix disabling of IRQs shared by multiple events
2018-09-25 13:18:02 +02:00
Juho Eskeli
d0ac092e68
Adjust stack & heap for IAR on STM32F412xG
2018-09-24 11:27:42 +03:00