kevin.ong
5598815982
stm32: fix typo
2019-01-17 12:48:46 -06:00
kevin.ong
8d58f8bae7
stm32: fix some F0 target compile error
2019-01-17 12:48:46 -06:00
kevin.ong
995594be28
stm32: F1/F2/F4/L1 set to not supported HW CRC
...
Currently, mbed supported input data format fix on bytes, so those
devices are not supported at default.
2019-01-17 12:48:46 -06:00
kevin.ong
603b8e6eb4
stm32: fix F1/F2/F4/L1 compile fail after enable CRC
...
Those series have not CRC_POLYLENGTH_32B definition
2019-01-17 12:48:46 -06:00
kevin.ong
19cdba4452
stm32: remove empty line
2019-01-17 12:48:46 -06:00
kevin.ong
1c2ffb8eb3
stm32: Improve the CRC function to support fully accumulate
...
Tested on DISCO_L476VG and NUCLEO_L476RG
2019-01-17 12:48:45 -06:00
jeromecoutant
7876a653c6
STM32L476 / STM32L486 alignment
2019-01-17 11:15:39 -06:00
jeromecoutant
5ae13f9c7b
STM32F756 / STM32F746 alignment
2019-01-17 11:15:39 -06:00
jeromecoutant
8e0663f8d8
STM32L496xG: increase IAR heap size
2019-01-17 11:15:19 -06:00
Fahim Alavi
5caeaed6db
Set target C030-R412M in mbed
2019-01-14 17:34:50 +05:00
Martin Kojtal
d92febe700
Merge pull request #9327 from jeromecoutant/PR_IFDEF
...
STM32: replace missing #ifdef DEVICE_xxx
2019-01-11 14:07:28 +00:00
Martin Kojtal
fd6ceda960
Merge pull request #9323 from jeromecoutant/PR_AST
...
STM32: astyle check
2019-01-11 14:06:05 +00:00
Martin Kojtal
919dba535b
Merge pull request #9321 from jeromecoutant/PR_QSPI
...
STM32 : typo error in QSPI
2019-01-11 14:05:51 +00:00
Cruz Monrreal
2454b25eba
Merge pull request #9092 from mprse/stack_unification_sec_try
...
Interrupt stack size unification + test
2019-01-10 16:08:44 -06:00
jeromecoutant
877a3a13e1
STM32: replace missing #ifdef DEVICE_xxx
2019-01-10 11:02:52 +01:00
jeromecoutant
b1a284a876
STM32: astyle check
2019-01-10 10:22:21 +01:00
jeromecoutant
cc447e9b27
STM32 : typo error in QSPI
2019-01-10 10:06:17 +01:00
kevin.ong
d3dfc986b5
STM32L476VG: fix wrong pin map function on ADC channels
...
This issue is start on https://github.com/ARMmbed/mbed-os/pull/6931
ADC pins must need STM_PIN_ANALOG_CONTROL_BIT to call LL_GPIO_EnablePinAnalogControl
2019-01-10 00:39:18 +08:00
Martin Kojtal
c27dabe765
Merge pull request #9256 from jeromecoutant/PR_FLASHEEPROM
...
STM32L0 & STM32L1: FLASH is EEPROM
2019-01-08 15:06:50 +00:00
Przemyslaw Stekiel
58f6bf7292
[STM] Support boot stack size configuration option
2019-01-08 15:32:06 +01:00
Martin Kojtal
63eca294a1
Merge pull request #9163 from InfernoEmbedded/fix-8913-partner
...
Don't use define checks on DEVICE_FOO macros (partner code)
2019-01-07 16:37:24 +00:00
Cruz Monrreal
90fd6cdf27
Merge pull request #9252 from jeromecoutant/PR_L4VBAT
...
STM32L4 ADC : power optimisation for VBAT channel
2019-01-04 11:36:10 -06:00
Cruz Monrreal
2352e18b5d
Merge pull request #9249 from ithinuel/disco_f469ni_bootloader
...
add bootloader support to the DISCO_F469NI
2019-01-04 10:32:53 -06:00
jeromecoutant
ef2fcebf57
STM32 L0 & L1: FLASH is EEPROM
2019-01-04 15:37:16 +01:00
Wilfried Chauveau
bbb9de7c87
add bootloader support to the DISCO_F469NI
2019-01-04 11:32:23 +00:00
bcostm
b897719c9d
NUCLEO_H743ZI: add crash reporting for IAR
2019-01-04 10:03:36 +01:00
bcostm
1cf92dd8d4
NUCLEO_H743ZI: include rtc LL driver
2019-01-04 10:03:36 +01:00
jeromecoutant
4b67820f8a
NUCLEO_H743ZI: add initial SDK
2019-01-04 10:03:36 +01:00
jeromecoutant
164fee0e61
STM32L4 ADC VBAT CHANNEL
2019-01-04 09:15:32 +01:00
jeromecoutant
087cd26dd4
STM32L0 ADC TEMPERATURE CHANNEL rework
2019-01-03 17:03:07 +01:00
Anna Bridge
52a45e71d3
Merge pull request #9180 from kjbracey-arm/stm_dont_skip_rtc_write
...
Revert "STM32 RTC : skip rtc_write if possible"
2018-12-24 12:54:01 +00:00
Cruz Monrreal
a8fa6ec38b
Merge pull request #9174 from ashok-rao/MTB_ODIN_v2_fixes
...
MTB_ODIN_v2_fixes
2018-12-22 12:33:53 -06:00
Ashok Rao
64e9ad0b11
MTB_ODIN_v2_fixes
...
1. Removed redundant code comments. Added relevant ones for MTB pins.
2. More SPI_CS pins added for peripherals on the MTB.
3. Disabled LSE_Clock as it is not present on the MTB in targets.json
2018-12-21 11:40:43 +00:00
Kevin Bracey
535b439362
Revert "STM32 RTC : skip rtc_write if possible"
...
`rtc_write` must start the RTC. `time()` uses `rtc_write(0)` to start
the RTC if it is not already enabled, but this check made that not
work.
There's no point trying to optimise this case in a HAL - if we wanted
`set_time()` to protect against users making pointless adjustments, the
implementation should be there. But even then, you might want different
levels of hysteresis depending on application, so it's probably best
left to applications.
This reverts commit 9da5e48941
.
2018-12-21 13:12:34 +02:00
Cruz Monrreal
c1226ffbd8
Merge pull request #8916 from jeromecoutant/PR_F439
...
STM32F429/STM32F439 alignment
2018-12-20 12:08:42 -06:00
Martin Kojtal
efc0239518
Merge pull request #9166 from u-blox/ublox_c030_ADC
...
Ublox C030 ADC internal channels added
2018-12-20 16:29:25 +00:00
Martin Kojtal
99778bd6a5
Merge pull request #8777 from jeromecoutant/PR_LP_RTC
...
STM32 LPTICKER with RTC : better sleep time
2018-12-20 10:26:44 +00:00
Alastair D'Silva
aa80b7c70a
Don't use define checks on DEVICE_FOO macros (partner code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 20:02:29 +11:00
mudassar-ublox
a7ccb65e80
Ublox C030 ADC internal channels added
2018-12-20 11:00:36 +05:00
Cruz Monrreal
ff6744c85e
Merge pull request #9105 from LaurentLouf/improve-precision-duty-cycle-pwm-stm
...
Add some rounding to determine the pulse value for PWM for the STM target
2018-12-17 14:43:43 -06:00
Cruz Monrreal
64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
...
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Laurent Louf
db3f05e5fe
Add some rounding to determine the pulse value for PWM for the STM target.
2018-12-14 12:08:09 +01:00
jeromecoutant
9790f67acc
STM32L4 QSPI: correct register address
2018-12-13 10:56:39 +01:00
jeromecoutant
40f6d58b89
STM32 QSPI: remove QUADSPI_BK2 as dual bank feature is not supported
2018-12-13 10:56:37 +01:00
jeromecoutant
dfa902ec6c
STM32 QSPI: frequency calculation update
2018-12-13 10:56:33 +01:00
jeromecoutant
b5bc128e36
STM32L496 : add QSPI definition
2018-12-13 10:56:31 +01:00
jeromecoutant
4a6bc96345
STM32F769 : add QSPI definition
2018-12-13 10:56:29 +01:00
jeromecoutant
64f8cc472c
NUCLEO_F746ZG : no embedded QSPI
2018-12-13 10:56:26 +01:00
jeromecoutant
7c8de3c4e1
STM32 : removed unused QSPI pin names
2018-12-13 10:56:25 +01:00
test user
5de7fac91c
ublox c030 pinName updated
2018-12-12 04:08:17 -12:00
jeromecoutant
503777d850
STM32L4: correct RNG clock source
2018-12-10 14:04:25 +01:00
Cruz Monrreal
c4e913baa4
Merge pull request #8960 from jeromecoutant/PR_RTC2
...
STM32: avoid STM32 family name check
2018-12-07 11:23:07 -06:00
Cruz Monrreal
ea4a8e4f81
Merge pull request #8867 from bcostm/fix_trng_clock_setting
...
STM32L4: fix trng clock setting
2018-12-06 21:27:02 -06:00
jeromecoutant
4aca14fe8b
STM32 LPTIM update for easy maintenance
2018-12-04 11:08:34 +01:00
jeromecoutant
75fb93c8ab
STM32 mbed_sdk_init update for easy maintenance
2018-12-04 11:08:33 +01:00
jeromecoutant
2496f1dc16
STM32 SLEEP update for easy maintenance
2018-12-04 11:08:31 +01:00
jeromecoutant
6b226ffcef
STM32 RTC update for easy maintenance
2018-12-04 11:08:30 +01:00
Cruz Monrreal
3cc7530039
Merge pull request #8844 from jeromecoutant/PR_HTML
...
STM32 : Remove html release notes files
2018-11-30 19:20:44 -06:00
Martin Kojtal
fa858a58ac
Merge pull request #8771 from jeromecoutant/PR_LPTICKER_LPTIM
...
STM32 LPTICKER with LPTIM optimisation
2018-11-30 14:31:52 +01:00
jeromecoutant
25e69171d8
STM32 LPTICKER with RTC : optimise sleep duration
2018-11-30 14:04:03 +01:00
jeromecoutant
9da5e48941
STM32 RTC : skip rtc_write if possible
2018-11-30 10:08:27 +01:00
jeromecoutant
a8c87c0804
STM32F429/STM32F439 alignment
2018-11-30 09:20:29 +01:00
jeromecoutant
4bc0018a9c
STM32 readme md file
2018-11-27 11:26:32 +01:00
Cruz Monrreal
1c1638342d
Merge pull request #8708 from SeeedJP/wio_bg96_hal
...
[Wio BG96] Adding platform HAL
2018-11-26 11:22:29 -06:00
bcostm
08f9e80770
STM32L4 TRNG:Remove trng clock setting for L4 devices
...
This will be done in the system_clock.c file instead.
2018-11-26 17:36:20 +01:00
Martin Kojtal
ad37c84060
Merge branch 'disco-l072_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup
2018-11-24 20:50:55 +00:00
Martin Kojtal
0ec41ce277
Merge branch 'F0_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup
2018-11-24 20:50:45 +00:00
Martin Kojtal
e1b60b1e58
Merge branch 'disco_f746ng_bootloader' of https://github.com/bcostm/mbed-os into dev_rollup
2018-11-24 20:49:55 +00:00
Martin Kojtal
52aea31655
Merge pull request #8702 from SenRamakri/sen_CrashReportingImpl
...
Crash Reporting implementation
2018-11-23 20:24:53 +01:00
bcostm
a35deac578
DISCO_F746NG: add bootloader support
2018-11-23 10:52:13 +01:00
jeromecoutant
baec3b9e90
STM32 remove html release notes files
2018-11-22 16:27:59 +01:00
Martin Kojtal
37630b237d
Merge pull request #8778 from jeromecoutant/PR_LPTIM_DIV
...
STM32 LPTICKER with LPTIM : reduce clock feature
2018-11-22 09:31:57 +01:00
bcostm
55d4db5676
NUCLEO_F030/F070: remove ADC_VBAT pin definition
2018-11-20 16:45:23 +01:00
bcostm
df74f64a4a
DISCO_L072CZ: remove ADC_VBAT pin definition
2018-11-20 16:03:12 +01:00
jeromecoutant
f9ddc5a08e
STM32 LPTICKER with LPTIM optimisation
2018-11-20 15:03:44 +01:00
Senthil Ramakrishnan
f1926c0ea9
Fix linker script errors
2018-11-16 14:00:00 -06:00
Senthil Ramakrishnan
ef8c1c3cb6
Linker script modifications for crash data region
2018-11-16 13:59:59 -06:00
jeromecoutant
1ec222f268
STM32 LPTICKER with LPTIM : reduce clock feature
2018-11-16 15:34:57 +01:00
Yoshihiro TSUBOI
dad6ede7f5
[Wio 3G] Added default I/F type and pin defs
2018-11-15 17:38:03 +09:00
Teppo Järvelin
1b3db96634
Cellular: Added missing MDMRTS and MDMCTS for TARGET_MTB_ADV_WISE_1570.
2018-11-13 09:06:40 +02:00
Yoshihiro TSUBOI
cd2a5835f8
fixed year and added SPDX identifier
2018-11-13 00:03:02 +09:00
Yoshihiro TSUBOI
222b21e593
[Wio BG96] Adding platform HAL
2018-11-11 23:32:22 +09:00
Cruz Monrreal II
0803c04d7d
Merge branch 'PR_LL_GPIO' of ssh://github.com/jeromecoutant/mbed into rollup
2018-11-09 11:40:29 -06:00
Cruz Monrreal II
143a976d5d
Merge branch 'stm32f407vg-flash' of ssh://github.com/productize/mbed-os into rollup
2018-11-09 11:40:28 -06:00
Cruz Monrreal II
6b386f5237
Merge branch 'update_peripheral_pins' of ssh://github.com/MultiTechSystems/mbed into rollup
2018-11-08 13:24:07 -06:00
Adam Heinrich
02ea9ce746
STM32F407VG: Add FLASH support
2018-11-08 17:32:39 +01:00
jeromecoutant
4cf4cf1375
STM32 GPIO : code cleaning
2018-11-08 17:26:17 +01:00
Ashok Rao
5cc42f6452
Adding MTB aliases to PinNames
2018-11-08 13:43:04 +00:00
Ashok Rao
7bcb0dde0f
Adding STM S2_LP as a new target
2018-11-07 16:44:20 +00:00
David Saada
542744d03c
Support erase value in Flash HAL drivers, FlashIAP and block devices
2018-11-07 14:23:07 +02:00
Leon Lindenfelser
a360b0012f
Update peripheral pins
...
1. Add missing SPI and I2C pins.
2. Remove pin definitions for pins that are no connects.
2018-11-06 08:46:38 -06:00
bcostm
3e547e2101
DISCO_F769NI: add definitions for bootloader
2018-10-31 10:15:17 +01:00
Cruz Monrreal
1bbcfff8f3
Merge pull request #8566 from u-blox/github8520issue
...
Wifi: ublox fix to keep the credentials stored
2018-10-30 08:47:58 -05:00
Cruz Monrreal
503066a736
Merge pull request #8559 from productize/stm32f407vg-rng
...
STM32F407VG: Add TRNG support
2018-10-29 08:50:43 -05:00
Ammad Rehmat
74ce0b78a4
fixes the credentials storage, copies them internally rather than just a pointer to external storage
2018-10-29 17:32:41 +05:00
Cruz Monrreal
870c3bce59
Merge pull request #8554 from bcostm/l4R5zi_data_alignment
...
NUCLEO_L4R5ZI: Fix alignment of execute region to 8byte boundary
2018-10-27 18:30:57 -05:00
Cruz Monrreal
63946d56d8
Merge pull request #8452 from u-blox/ublox_odin_driver_os_5_v3.5.0_rc1
...
ble: update ODIN drivers to v3.5.0 RC1
2018-10-27 09:50:12 -05:00
Adam Heinrich
28a01aeb29
STM32F407VG: Add TRNG support
2018-10-26 17:01:33 +02:00
bcostm
8560e47c31
STM32F413ZH: fix wrong flash size for ARM compiler
2018-10-26 14:16:18 +02:00
bcostm
66ab546200
NUCLEO_L4R5ZI: fix 8-bytes data alignment
2018-10-26 10:58:00 +02:00
bcostm
61b3270835
STM32F413ZH: add defines for bootloader
2018-10-26 10:31:11 +02:00
Cruz Monrreal
140f3e20d6
Merge pull request #8508 from micgur01/master
...
Update linker scripts for bootloader target L496GZ
2018-10-24 19:08:41 -05:00
micgur01
6c191c0241
code review for Update linker scripts for bootloader target L496GZ
2018-10-24 11:17:56 +00:00
micgur01
2215a9ab5e
code review for Update linker scripts for bootloader target L496GZ
2018-10-24 09:48:05 +00:00
micgur01
534883046d
change mode to 664
2018-10-23 12:58:52 +00:00
micgur01
ff4b567537
Update linker scripts for bootloader for L496GZ
2018-10-23 12:57:05 +00:00
jeromecoutant
a9552232e4
STM32 RTC : Prescaler calculation issue
2018-10-22 15:58:32 +02:00
Cruz Monrreal
2daab38194
Merge pull request #8302 from JanneKiiskila/wait_ms
...
Use wait_ms(int) instead of wait(float)
2018-10-17 08:34:47 -05:00
aqin
2ac6cff107
BLE support added
2018-10-17 14:19:14 +05:00
Cruz Monrreal
461d59ab41
Merge pull request #8427 from jeromecoutant/PR_L4_8343
...
STM32L4 : sleep issue
2018-10-16 10:42:14 -05:00
Cruz Monrreal
5c136cc5cc
Merge pull request #8403 from bcostm/fix_issue_8372_serial
...
STM32: fix issue with serial_is_tx_ongoing function
2018-10-16 10:25:37 -05:00
Janne Kiiskila
de77695b08
Use wait_ms instead of wait(n)
...
Small space savings, the casting from int to float will bloat
the code a bit. Using wait(1.0f) for example would avoid it,
but seems a bit silly to use floats for anything unless
really needed (in embedded products).
2018-10-16 10:00:54 +03:00
bcostm
4017dea77f
STM32: typo corrections
2018-10-15 11:14:18 +02:00
jeromecoutant
7b605b6160
STM32L4 : sleep issue
2018-10-15 10:19:42 +02:00
Cruz Monrreal II
3ed8a4d24b
Merge branch 'PR_DISCOF413_SPIWIFI' of ssh://github.com/jeromecoutant/mbed into jeromecoutant-PR_DISCOF413_SPIWIFI
2018-10-12 21:46:43 -05:00
Cruz Monrreal II
9ec00b21d2
Merge branch 'Eman869-fix_lpuart_hsi_power_consumption' of ssh://github.com/Eman869/mbed-os into Eman869-Eman869-fix_lpuart_hsi_power_consumption
2018-10-12 21:46:36 -05:00
bcostm
276d16f70d
STM32: fix issue with serial_is_tx_ongoing function
2018-10-12 15:40:11 +02:00
Anna Bridge
24857d0f91
Merge pull request #5285 from c1728p9/minimum_requirements_test
...
Update devices to have minimum 2K RAM and heap, also added test
2018-10-12 11:04:57 +01:00
jeromecoutant
3385e0ef7b
DISCO_F413ZH : explicit WIFI pins name
2018-10-11 18:32:43 +02:00
jeromecoutant
922cc2b8a7
DISCO_F413ZH : set default Wifi module SPI state to inactive
2018-10-11 18:31:51 +02:00
Cruz Monrreal
ebff1e553b
Merge pull request #8213 from jeromecoutant/PR_RTC_F1
...
STM32F1 RTC : save values in register
2018-10-10 15:46:26 -05:00
Deepika
37bfc9e5e3
Reposition heap at the end of RAM to be 4K aligned
...
HEAP memory should be 4K aligned for GCC newlib, with ISR stack at the end of
RAM memory we loose 3K of RAM memory. This fix is for device with <16K RAM to
use RAM entirely.
2018-10-10 10:10:43 -05:00
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
Deepika
f24ac501a8
Set main thread stack size as 3K for constrained targets
2018-10-08 13:27:35 -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
Deepika
f549f14a0a
Set ISR stack and heap sizes for low end devices
...
Set the ISR stack to be 1KB. https://github.com/ARMmbed/mbed-os/pull/7238
Set the heap size to 3KB(2KB + overhead + spare) so that atleast 2KB free ram is
available for testing.
With dynamic heap size, explicit size is not required. IAR 7.8 supports
static heap, hence the change is needed in IAR linker files.
2018-10-05 12:09:46 -05: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
Eman869
c68e7c61ed
Check LPUART clock source in STOP mode
...
Check LPUART clock source before enable it in STOP mode, only LSE could be enabled in STOP mode.
2018-09-27 19:12:42 +08: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
jeromecoutant
e8d32ca0f9
STM32F1 RTC : save values in register
...
Date is managed only by SW
within CUBE functions HAL_RTC_GetDate and HAL_RTC_SetDate.
They are then replaced by functions that saved counters in HW registers.
RTC_ReadTimeCounter and RTC_WriteTimeCounter are then added to the ST API.
2018-09-25 13:45:59 +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
bcostm
4c31be2db4
STM32: fix wrong LSE config in serial_baud function
2018-09-19 16:46:54 +02:00
Martin Kojtal
6d5cb6c69b
Merge pull request #8136 from fkjagodzinski/fix-stm-us_ticker_after_deepsleep
...
STM: Fix us_ticker timestamp after deep sleep
2018-09-19 12:15:10 +02:00
Cruz Monrreal
5391a7b6fe
Merge pull request #7700 from cesarvandevelde/bluepill-target-fix
...
STM32: Correct device_has_add flags for bluepill_f103c8 target, fixes #7654
2018-09-18 11:30:35 -05:00
jeromecoutant
f510efff38
DISCO_L496AG : enable ADC
...
See User Manual, VREF+ is not connected by default
NB: Use 2.5V as reference (instead of 3.3V)
for internal channels calculation
2018-09-18 16:11:13 +02:00
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
Filip Jagodzinski
6821556b47
STM: Fix us_ticker timestamp after deep sleep
...
Use the `mbed_sdk_inited` flag to correct the `HAL_GetTick()` behavior
after waking up from deep sleep mode. `ticker_read_us()` must not be
used to read us_ticker timestamp after waking up until the us_ticker
context is restored. More detailed description in issue #8117 .
Fixes #8117
2018-09-14 15:44:40 +02:00
jeromecoutant
f41c72ded8
STM32L1 ADC update for internal channels
2018-09-14 13:23:50 +02:00
jeromecoutant
52776a1e7b
SM32F3 correct analogin_read
2018-09-14 11:41:12 +02:00
jeromecoutant
2a70879ffa
STM32L496 : wrong ADC init
2018-09-13 16:31:49 +02:00
jeromecoutant
12522210a2
STM32L0 internal channel ADC_TEMP
...
Temperature measurement was not stable
2018-09-12 17:21:36 +02:00
jeromecoutant
5bbe62889a
STM32L072 : ADC internal channels correction
2018-09-12 17:21:30 +02:00
Cruz Monrreal
8d9e2e5d0a
Merge pull request #7909 from KariHaapalehto/f411re_iar
...
Adjust STMF411xE IAR linker file to mbed-os memory needs.
2018-09-12 09:20:15 -05:00
jeromecoutant
827c8bd486
STM32 RTC : remove not necessary macro
...
__HAL_RCC_RTC_CLKPRESCALER is called in __HAL_RCC_RTC_CONFIG
2018-09-11 14:14:19 +02:00
jeromecoutant
5c46bec4d4
STM32 RTC with LSI : stop reset registers during init
2018-09-11 14:13:43 +02:00
jeromecoutant
0fecc56e84
STM32 RTC : Start LSI clock asap
2018-09-11 14:04:03 +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
mattbrown015
792cec773e
STM32: Disabling of IRQs shared by multiple events
...
Discern if an IRQ is being shared by multiple events and only disable the IRQ if no events are using it.
2018-09-07 14:48:02 +01:00
Martin Kojtal
e30435bd08
Merge pull request #7990 from maciejbocianski/qspi_small_fixes
...
DISCO_L475VG_IOT01A remove old QSPI pins
2018-09-07 10:47:19 +02: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
Cesar
80c9814fd0
Revert file permissions
2018-09-06 13:57:06 +02:00
Cesar
b2d8b54f7d
Revert file permissions
2018-09-06 12:56:13 +02:00
Kari Haapalehto
86f966fa00
Adjust STMF411xE IAR linker file to mbed-os memory needs.
...
Stack size decreased and heap size increased.
2018-09-06 13:34:12 +03:00
Yossi Levy
acfda5895e
Changes in PR #7774 of PinNames.h should be reverted. This commit reverts those files excpet for K82F and K64F which are left as an example
2018-09-05 14:13:05 +03:00
Maciej Bocianski
050604f1b8
DISCO_L475VG_IOT01A remove old QSPI pins
2018-09-05 09:58:20 +02:00
Martin Kojtal
44925d8527
Merge pull request #7579 from u-blox/ublox_odin_driver_os_5_v3.0.0_rc1
...
Updated ODIN drivers to v3.0.0 RC1
2018-09-03 09:25:32 +02:00
Cruz Monrreal
993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
...
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05: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
Cesar
f91bba9803
Updated pinmap to fix CAN and enable UART hardware flow control
2018-08-31 17:17:29 +02:00
Ammad Rehmat
b934632653
Access Point API
2018-08-31 11:33:30 +05:00
Wajahat Abbas
a93ff7c931
Added PC2 pin to ADC pin map
2018-08-30 15:19:50 +05:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Juho Eskeli
d5b374b327
Correct comment about stack size in IAR linker file
2018-08-28 08:44:08 +03:00
Juho Eskeli
5cc06238ea
Enable bootloader for NUCLEO_F207ZG
2018-08-28 08:44:08 +03:00
Juho Eskeli
22137b45dd
Update NUCLEO_F207ZG linker files
2018-08-28 08:44:08 +03:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Maciej Bocianski
5195c820e6
standardise QSPI pin names
2018-08-24 12:09:51 +02:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Maciej Bocianski
3bf9df7b56
target DISCO_F413ZH: add QSPI flash pin names
2018-08-22 15:02:13 +02:00
adustm
6095ccf1b4
Add reset internal state before call to HAL_QspiInit function
2018-08-22 15:02:11 +02:00
adustm
7dda4e4fc6
Implement qspi_free function
2018-08-22 15:02:10 +02:00
adustm
5c26e15cd3
Fix support of max flash size
2018-08-22 15:02:09 +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
Maciej Bocianski
42935bbdc0
STM qspi: temporary fix for qspi_free return value
2018-08-22 15:02:03 +02:00
adustm
2f06423a89
Add support for QSPI on DISCO_L476VG
2018-08-22 15:02:01 +02:00
adustm
c00e49fcf2
Enable QSPI for DISCO_F746NG
2018-08-22 15:01:54 +02:00
adustm
293d1bda42
Add MBED_WEAK for pins
2018-08-22 15:00:22 +02:00
adustm
9b4b28fc3f
Support maximum flash size : 4Gbytes
2018-08-22 15:00:22 +02:00
adustm
50b8225948
Enable QSPI feature for DISCO_F413ZH platform
2018-08-22 15:00:21 +02:00
adustm
c57a47e4b5
Change default FlashSize to 64Mbit = 8Mbytes = 0x800000
2018-08-22 15:00:20 +02:00
adustm
8e08740237
Fix Instruction with no data command
...
Adding QSPI_DATA_NONE activates the transfer
of the command inside HAL_QSPI_COMMAND function
2018-08-22 15:00:19 +02:00
adustm
05899e9c70
Fix Address.Size and AlternateByes.Size by shifting them
...
The ST HAL code is waiting for the correctly shifted vlue
(for a direct write into the HW register)
2018-08-22 15:00:18 +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
Martin Kojtal
0f7fd757a4
QSPI: add flash pins for F469 disco board
2018-08-22 15:00:16 +02:00
Martin Kojtal
c778c90184
QSPI STM32: fix default fifo and cycle
...
As example for DISCO F469NI defines them
2018-08-22 15:00:15 +02:00
Martin Kojtal
8783956a77
QSPI STM32: fix prepare comman - alt/address
2018-08-22 15:00:14 +02:00
Martin Kojtal
fff20729be
QSPI STM32: fix command transfer
...
use write/read from STM32 driver
2018-08-22 15:00:14 +02:00
Martin Kojtal
5038b38622
QSPI STM32: fix pin merging
...
hw name as input
2018-08-22 15:00:13 +02:00
Martin Kojtal
16ca742d87
QSPI STM32: fix disabled format phase
2018-08-22 15:00:12 +02:00
Martin Kojtal
2766672f64
QSPI STM32: add QSPI_x support to pinnames
2018-08-22 15:00:12 +02:00
Martin Kojtal
660d250e0d
QSPI STM32: init returns error if failed to init
2018-08-22 15:00:11 +02:00
Martin Kojtal
551f044e77
QSPI STM32: add qspi_command_transfer implementation
2018-08-22 15:00:11 +02:00
Martin Kojtal
6e5b889e52
QSPI STM32: remove polling from write/read
...
This will be part of custom instruction transfer, the flow will be:
1. write data
2. wait for transfer to complete (poll status register from the memory device)
2018-08-22 15:00:10 +02:00
Martin Kojtal
8da072d8af
QSPI STM32: set default command values to none
2018-08-22 15:00:10 +02:00
Martin Kojtal
11ae100d80
QSPI STM32: fix return value in frequency
2018-08-22 15:00:09 +02:00
Martin Kojtal
5e75b39b78
QSPI STM32: fix ssel af selection
2018-08-22 15:00:09 +02:00
Martin Kojtal
7da0ac2516
QSPI: add STM32 implementation
2018-08-22 15:00:08 +02:00
Martin Kojtal
d28d13cc9b
Merge pull request #7790 from jeromecoutant/PR_LPTICKER_RTC
...
STM32 LPTICKER : RTC wake up timer is reset before setting a new one
2018-08-22 14:04:58 +02:00
Cruz Monrreal
17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
...
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
Cruz Monrreal
a8f390ebec
Merge pull request #7798 from simosillankorva/NUCLEO_F303RE_bootloader_support
...
Add bootloader support for target NUCLEO_F303RE
2018-08-21 09:50:26 -05:00
Cruz Monrreal
c167275c6d
Merge pull request #7775 from jeromecoutant/PR_ASSERT
...
STM32 wrong MBED_ASSERT use
2018-08-21 09:44:23 -05:00
Simo Sillankorva
c6acfd389b
Change NUCLEO_F303RE IAR Linker script heap size
...
* Change the heap size value to be the stated 1/4 of the RAM.
2018-08-16 01:58:43 -07:00
Cruz Monrreal
134ff0a3a9
Merge pull request #7777 from jeromecoutant/PR_SUNDAY
...
STM32F1 RTC : wrong Sunday value
2018-08-15 16:15:48 -05:00
Simo Sillankorva
83608d59ac
Add bootloader support for target NUCLEO_F303RE
2018-08-15 07:30:05 -07:00