Michel Jaouen
ced1cbd0ed
Create HAL_PCD_EP_Abort
2019-02-22 10:53:16 -06:00
jeromecoutant
21606569da
STM32F4: replace CLOCK_SOURCE_USB by DEVICE_USBDEVICE
2019-02-22 10:53:15 -06:00
jeromecoutant
9b16d4fb5b
NUCLEO_F103RB: replace CLOCK_SOURCE_USB by DEVICE_USBDEVICE
2019-02-22 10:53:15 -06:00
Sarah Marsh
22abea324d
Modify linker scripts for IAR and ARM compilers to support bootloader on NUCLEO_L073RZ
2019-02-22 11:06:29 +00:00
Deepika
3fd5f53b51
Dynamic heap support will be breaking change for all targets in IAR 7.x
...
Reverting this feature till IAR 8.x is stable and supported in Mbed OS
for few releases
1. Revert "Add Dynamic heap support to IAR"
This reverts commit 8ee29bbfa2
.
2. Revert "Splited RAM section not compatible with dynamic HEAP."
This reverts commit a645bb2a6b
.
3. Revert "Add Dynamic heap support to IAR"
This reverts commit 891e1f261b
.
2019-02-22 09:25:09 +00:00
Deepika
e54be4aeff
Add Dynamic heap support to IAR
...
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above
Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};
This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
2019-02-22 09:25:08 +00:00
deepikabhavnani
334b2d64b0
Update params in calls to LDREXW/STREXW to uint32_t
2019-02-22 09:25:07 +00:00
deepikabhavnani
b91dbab4bd
Add Dynamic heap support to IAR
...
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above
Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};
This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
2019-02-22 09:25:07 +00:00
aqin
84f52a871b
adding updated binary for IAR v8.32
2019-02-22 09:25:06 +00:00
Cruz Monrreal
2ecb0a5031
Merge pull request #9798 from jeromecoutant/PR_LPTICKER_BOOTLOADER
...
STM32 LPTICKER (LPTIM): correct init execution after bootloader
2019-02-21 13:55:20 -06:00
Cruz Monrreal
bba538c714
Merge pull request #9777 from ashok-rao/MTB_STM_L475
...
Adding STM32_L475 as a new MTB target
2019-02-21 10:37:59 -06:00
Cruz Monrreal
5a2e135283
Merge pull request #9782 from Rhomb-io/master
...
Adding RHOMBIO_L476DMW1K as a new Board target
2019-02-21 10:31:03 -06:00
Sarah Marsh
44bc123483
Add bootlader support for NUCLEO_L073RZ on GCC
2019-02-21 16:14:16 +00:00
jeromecoutant
0d620fe720
STM32 LPTICKER (LPTIM): correct init execution after bootloader
2019-02-21 16:25:20 +01:00
Guillermo Alonso
16628d7b8d
Change in license identifier, removed commented dead code
...
Change in license identifier
Removed commented dead code
Removed some tab space
2019-02-21 11:55:41 +01:00
Ashok Rao
9102b59824
Changing SPDX license identifier to BSD-3-Clause
2019-02-21 10:35:25 +00:00
Guillermo Alonso
faf03e02dc
added licence identifier texts
2019-02-20 17:48:07 +01:00
Ashok Rao
6c3b732b17
Removing redundant code comments
2019-02-20 15:22:11 +00:00
Ashok Rao
a7c878bb47
Adding SPDX license identifer for all new files
2019-02-20 15:07:03 +00:00
Ashok Rao
56508cfc4e
Adding SPDX license identifier
2019-02-20 15:02:59 +00:00
Ashok Rao
1849921466
Adding STM32_L475 as a new MTB target
2019-02-20 14:40:39 +00:00
Martin Kojtal
39c8374760
Merge pull request #9554 from SeeedJP/hal-wio_3g-9450
...
Wio 3G: Modified sequence of module startup.
2019-02-20 13:57:33 +01:00
Guillermo Alonso
7b2abc75c2
Added new target RHOMBIO_L476DMW1K
2019-02-20 12:10:53 +01:00
Yoshihiro TSUBOI
c41f1c75d7
[Wio 3G] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
Fix for wrong filename and classname.
// WIP
2019-02-20 19:00:12 +09:00
Martin Kojtal
3f46c82136
Merge pull request #9555 from SeeedJP/hal-wio_bg96-9450
...
Wio BG96: Modified sequence of module startup
2019-02-20 09:36:00 +01:00
Deepika
9231e26f3f
Corrected main thread stack size, was accidently updated by removing condition
...
Main thread stack size is reduced for TARGET_STM32F070RB and TARGET_STM32F072RB,
in recent update to mbed_rtx.h the conditional check for main thread size update
was removed.
2019-02-19 15:49:49 -06:00
deepikabhavnani
9ed7e4dc83
Remove unnecessary endif
2019-02-19 15:49:49 -06:00
Deepika
e522c4691e
Target_STM:_sbrk updated to use limits from linker files no need to set defines
...
_sbrk uses the exports from linker file __end and __HeapLimit to allocate memory
in heap. Linker scripts were updated accordingly to set the limits.
2019-02-19 15:49:49 -06:00
Martin Kojtal
723236f855
Merge pull request #9307 from mtomczykmobica/ONME-3949
...
Configuration options for STM_EMAC buffer counts
2019-02-19 14:09:24 +01:00
Marcin Tomczyk
a5f93e0b07
ONME-3949 Configuration options for STM_EMAC buffer counts
2019-02-19 08:18:18 +01:00
Yoshihiro TSUBOI
89bb25efc1
[Wio BG96] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
2019-02-19 00:44:38 +09:00
Cruz Monrreal
67abaf5fa7
Merge pull request #9706 from jarvte/fix_powering_onboard_modems
...
Cellular: fix onboard modems powering failure.
2019-02-14 20:26:51 -06:00
Teppo Järvelin
e4018bd9bb
Cellular: fix onboard modems powering failure
...
Don't call soft power on if device was already powered.
Some modems need to wait before sending anything to modem after soft powering.
2019-02-14 12:39:37 +02:00
Ashok Rao
21339abd61
Changing SPI flash's CS ine, Errata on SCH
2019-02-13 13:42:25 +00:00
Cruz Monrreal
270ff3b6de
Merge pull request #9679 from u-blox/R412M_Fix_After_Cellular_Driver_update
...
Default behavior of C030-R412M should be to use modem IP stack
2019-02-12 20:27:42 -06:00
Martin Kojtal
db1d8fd56d
Merge pull request #9602 from jeromecoutant/PR_VERYHIGH
...
STM32 GPIO: use maximum speed
2019-02-12 09:53:17 +01:00
Fahim Alavi
3549083f9c
Default behavior of C030-R412M should be to use modem IP stack
2019-02-11 16:12:29 +05:00
Russ Butler
8669417e7b
Add HAL API for spi pinmap
...
Add the functions to get spi pinmaps to all targets.
2019-02-08 09:10:37 -06:00
Russ Butler
34c176654d
Add HAL API for serial pinmap
...
Add the functions serial_tx_pinmap, serial_rx_pinmap, serial_cts_pinmap
and serial_rts_pinmap to all targets.
2019-02-08 09:10:28 -06:00
Russ Butler
2ed1dc2bfa
Add HAL API for qspi pinmap
...
Add the functions qspi_master_sclk_pinmap, qspi_master_ssel_pinmap and
qspi_master_data0_pinmap-qspi_master_data3_pinmap to all targets with
qspi support.
2019-02-08 09:10:25 -06:00
Russ Butler
be492fe07a
Add HAL API for pwmout pinmap
...
Add the function pwm_pinmap to all targets.
2019-02-08 09:10:19 -06:00
Russ Butler
22a89773fa
Add HAL API for i2c pinmap
...
Add the functions i2c_master_sda_pinmap, i2c_master_scl_pinmap,
i2c_slave_sda_pinmap and i2c_slave_scl_pinmap to all targets.
2019-02-08 09:10:12 -06:00
Russ Butler
7e8695a2c5
Add HAL API for can pinmap
...
Add the functions can_rd_pinmap and can_td_pinmap to all targets.
2019-02-08 09:10:10 -06:00
Russ Butler
3bd3aca6db
Add HAL API for analog out pinmap
...
Add the function analogout_pinmap to all targets.
2019-02-08 09:10:05 -06:00
Russ Butler
4818f88d73
Add HAL API for analog in pinmap
...
Add the function analogin_pinmap to all targets.
2019-02-08 09:09:51 -06:00
Nir Sonnenschein
8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
...
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Martin Kojtal
7106d0d201
Merge pull request #9557 from SeeedJP/hal-wio_bg96-9026
...
[Wio BG96] Modified pin map
2019-02-05 10:51:59 +01:00
Martin Kojtal
46101f68fe
Merge pull request #9595 from c1728p9/define_usbtx_and_usbrx
...
Define USBTX and USBRX for targets without them
2019-02-04 17:13:00 +01:00
jeromecoutant
ae47617c77
STM32 GPIO: use maximum speed
2019-02-04 15:32:15 +01:00
Yoshihiro TSUBOI
e19ddef069
[Wio BG96] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio BG96 board
* Remove/Fix unused PinName definitions for the Wio BG96 board from the PinNames enum
2019-02-04 23:04:37 +09:00
Martin Kojtal
346ebe6344
Merge pull request #9556 from SeeedJP/hal-wio_3g-9026
...
[Wio 3G] Modified pin map
2019-02-04 14:41:58 +01:00
Martin Kojtal
e9648dd461
Merge pull request #9583 from jeromecoutant/PR_F2TRNG
...
STM32F2: Enable TRNG
2019-02-04 14:41:19 +01:00
Martin Kojtal
ed53fe1ed4
Merge pull request #9534 from jeromecoutant/PR_FLOW
...
STM32 Serial Flow Control
2019-02-04 14:35:47 +01:00
Yoshihiro TSUBOI
a2f1e9c01e
[Wio 3G] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio 3G board
* Remove/Fix unused PinName definitions for the Wio 3G board from the PinNames enum
2019-02-04 18:12:29 +09:00
Russ Butler
3e10418015
Define USBTX and USBRX for targets missing it
...
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
2019-02-02 09:46:29 -06:00
Lin Gao
837e86df28
Updated linker script for IAR and ARM to increase heap size by moving BSS to the 32K ram
2019-02-01 16:03:20 -06:00
Lin Gao
aa2d49ae0c
Move BSS to SRAM2 to increase heap size on ST475 IOT board
2019-02-01 15:32:43 -06:00
jeromecoutant
85c2f22a87
STM32F2: Enable TRNG
2019-02-01 14:54:14 +01:00
Martin Kojtal
363f35f842
Merge pull request #9560 from RobVlaar/analogin-fix-stm32l0xx
...
Reset internal vref buffer after an ADC conversion
2019-02-01 08:25:10 +01:00
jeromecoutant
eec7126d37
STM32 Serial Flow Control
...
Crash occured when RTS=CTS=NC
Now we chek if used pins are the same UART as TX and RX
2019-01-31 17:11:23 +01:00
Ashok Rao
60c7edc5bc
Pin map changes
...
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-01-31 11:06:50 +00:00
Martin Kojtal
9265c19e2e
Merge pull request #9394 from jeromecoutant/PR_PERIPH
...
STM32: PeripheralPins files update from lastest CubeMX tool version
2019-01-31 11:21:09 +01:00
Martin Kojtal
6ef9349038
Merge pull request #9552 from jeromecoutant/PR_H7OS2
...
STM32H7: Enable OS2 compilation
2019-01-31 11:08:12 +01:00
Martin Kojtal
85cc30a425
Merge pull request #9485 from u-blox/R410
...
UBLOX_C030: Fix modem reset functionality
2019-01-31 11:04:47 +01:00
Rob Vlaar
fa68d43ebd
fixed indentation
2019-01-31 08:55:51 +01:00
Rob Vlaar
4378689944
Reset internal vref buffer after an ADC conversion using the config channel function
2019-01-30 14:43:05 +01:00
jeromecoutant
0564498509
STM32H7: 0S2 compilation
2019-01-30 14:05:45 +01:00
Ari Parkkila
7578d5b174
Cellular: Fix mbed2-build of onboard-modems
2019-01-29 01:08:17 -08:00
Martin Kojtal
489e52e428
Merge pull request #9410 from jeromecoutant/PR_F756_L486
...
STM32F756 and STM32L486 alignment with STM32F746 and STM32L476
2019-01-28 10:22:48 +01:00
Ari Parkkila
95839662c6
Cellular: Fix cellular specific Greentea tests
2019-01-24 23:34:44 -08:00
Cruz Monrreal
c7679109ef
Merge pull request #9354 from jeromecoutant/PR_H7CAN
...
STM32H7 : add CAN support
2019-01-24 13:26:36 -06:00
jeromecoutant
a5ef971402
STM32: PeripheralPins files minor update
...
Script version 1.4
CubeMX DB version DB.5.0.1
2019-01-24 10:51:30 +01:00
Fahim Alavi
03996da125
Fixed modem reset functionality to avoid low time to trigger module switch off
2019-01-24 11:37:32 +05:00
Martin Kojtal
a6509cf47f
Merge pull request #9438 from c1728p9/qspi_update
...
Use dedicated PinMap for each QSPI data line
2019-01-23 14:25:14 +01:00
Russ Butler
82b131aa59
Use dedicated PinMap for each QSPI data line
...
Split PinMap_QSPI_DATA into PinMap_QSPI_DATA0 - PinMap_QSPI_DATA3.
This allows pins to be selected more accurately.
2019-01-22 12:11:15 -06:00
Martin Kojtal
16e544d9b4
Merge pull request #9411 from jeromecoutant/PR_L496
...
STM32L496xG: increase IAR heap size
2019-01-22 14:48:16 +01:00
Martin Kojtal
3d0f168305
Merge pull request #9347 from kevinong0108/improve_crc
...
stm32: Improve the CRC function to support fully accumulate
2019-01-22 13:30:09 +01:00
Ari Parkkila
af0d2cf61d
Cellular: Update API description to match better onboard_modem_api
2019-01-22 02:24:45 -08:00
Ari Parkkila
c4de2f2f0e
Cellular: Power API updated to match onboard_modem_api
2019-01-22 02:24:45 -08:00
Ari Parkkila
269d151b12
Cellular: Default modem drivers with FF_ARDUINO
2019-01-22 02:24:45 -08:00
Ari Parkkila
75caa75a96
Cellular: Add get_target_default_instance in CellularDevice
2019-01-22 02:24:45 -08:00
jeromecoutant
f1d10cfeff
STM32: FDCAN support for H7 family
2019-01-21 13:53:19 +01:00
Fahim Alavi
1bcbd40c0e
PB_1 is not connected to D4 in R412M above
2019-01-18 13:56:48 +05:00
kevin.ong
5ccdd67f6c
stm32: fix indent style
2019-01-17 12:48:46 -06:00
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
jeromecoutant
a0fa0b6a5a
STM32 RTC : remove compilation warning with unused variable
2018-08-14 14:00:25 +02:00
jeromecoutant
7b77e50082
STM32 LPTICKER : RTC wake up timer is reset before settign a new one
2018-08-14 13:59:48 +02:00
jeromecoutant
b5c258e398
STM32L4 : code cleanup in MSI SetSysClock
2018-08-14 09:20:52 +02:00
jeromecoutant
e455d74f3d
STM32 : Sunday value is different for STM32F1
2018-08-13 17:04:56 +02:00
Cruz Monrreal
0e68570d49
Merge pull request #7686 from KariHaapalehto/1530_led
...
Correct MTB_ADV_WISE_1530 led configuration
2018-08-13 09:18:27 -05:00
jeromecoutant
063cad5992
STM32L4 assert in SetSysClock replaced
2018-08-13 16:01:49 +02:00
jeromecoutant
ac06d5574b
STM32L1 assert in SetSysClock replaced
2018-08-13 15:56:20 +02:00
jeromecoutant
220d033468
STM32L0 assert in SetSysClock replaced
2018-08-13 15:55:51 +02:00
jeromecoutant
749343f695
STM32F7 assert in SetSysClock replaced
2018-08-13 15:55:17 +02:00
jeromecoutant
b47c1ef6c4
STM32F4 assert in SetSysClock replaced
2018-08-13 15:54:51 +02:00
jeromecoutant
974141ce48
STM32F3 assert in SetSysClock replaced
2018-08-13 15:51:35 +02:00
jeromecoutant
bf7dc5f8b8
STM32F2 assert in SetSysClock replaced
2018-08-13 15:48:26 +02:00
jeromecoutant
dc02be705a
STM32F1 assert in SetSysClock replaced
2018-08-13 15:04:02 +02:00
jeromecoutant
76356039d9
STM32F0 assert in SetSysClock replaced
2018-08-13 14:53:33 +02:00
Markus Siglreithmaier
97fef1160c
STM32L4: Fix sleep implementation
...
Correctly detect and handle the low power run mode when entering and exiting sleep mode.
The generic `hal_sleep` implementation tries to exit LPR mode always, resulting in a spin-loop during a critical section (disabled IRQ).
The new approach returns from LPR to Run mode if enabled (LPR bit set), enters sleep, and resets to the original state on wakeup (WFI).
2018-08-13 09:21:31 +02:00
Cruz Monrreal
e85acac175
Merge pull request #7717 from LMESTM/fix_checkfifo
...
STM32: check for UART ongoing transfers before entering deepsleep
2018-08-09 10:17:00 -05:00