Commit Graph

1797 Commits (79568dbe6dfac4206b51f72ddb8e82b2785d5ee4)

Author SHA1 Message Date
Laurent Meunier f903920f47 STM32WB: Fix ARM link error in mbed2
In case of mbed2, BLE feature is not built.

As there is a MAPPING_TABLE in BLE feature which is not compiled in case
of mbed2, the linker reported the below error

[ERROR] "C:/Data/Workspace/mbed/BUILD/test/NUCLEO_WB55RG/ARM/MBED_2/
.link_script.sct", line 65 (column 6): Error: L6236E:
No section matches selector - no section to be FIRST/LAST.

Solution is to check whether BLE is enabled.
2019-04-05 12:27:04 +01:00
Laurent Meunier 0dcddcea9b STM32WB: Adapt I2C timings
for now based on L4+ cubeMX inputs
2019-04-05 12:27:04 +01:00
Laurent Meunier 9e3d52d701 fixup! NUCLEO_WB55RG: add SDK files 2019-04-05 12:27:04 +01:00
Laurent Meunier 9345e5cbcb STM32WB: Add missing analogin_pinmap
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-04-05 12:27:04 +01:00
Laurent Meunier 86c84050be Add WB support and CUBE FW version in readme.md 2019-04-05 12:27:04 +01:00
Laurent Meunier 91c08e3914 STM: fix minor warnings 2019-04-05 12:27:04 +01:00
Laurent Meunier 1a6cdf849f STM32WB: FIX LL RTC warning 2019-04-05 12:27:04 +01:00
Laurent Meunier e57771f375 STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
These files are not BLE specific, but also needed for some clock setting
for instance.

In order to compile an MBED2 application, we need to move the files.
2019-04-05 12:27:04 +01:00
Laurent Meunier ee64f1543f NUCLEO_WB55RG: Rework Clock and sleep support
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-04-05 12:27:04 +01:00
Laurent Meunier b5c30756f1 NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
Align all scatter BLE shared memory declarations.
2019-04-05 12:27:03 +01:00
jeromecoutant f913a31ad2 NUCLEO_WB55RG: HAL API updates to get SLEEP, RTC and LPTICKER OK
- astyle OK
- file alignment with other families
- HSE, MSI, HSI clock support
- LPTICKER with RTC and LPTIM tested
2019-04-05 12:27:03 +01:00
bcostm f07d570137 NUCLEO_WB55RG: update STM common files
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-04-05 12:27:03 +01:00
bcostm 658c8b6fdb NUCLEO_WB55RG: update mbed_rtx.h 2019-04-05 12:27:03 +01:00
bcostm 0613359b6b NUCLEO_WB55RG: add SDK files
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-04-05 12:27:02 +01:00
junichi.katsu@uhuru.jp 2f45444cfd added SPDX identifier and added the description of uhuru_raven_init function 2019-04-05 12:27:01 +01:00
junichi.katsu@uhuru.jp 6b2a219740 Add definition of RAVEN 2019-04-05 12:27:01 +01:00
jeromecoutant ec36d2a16e STM32 ADC INTERNAL CHANNEL reset after read
Internal channels use is enabling ADC "internal path"
which needs to be disabled after measurement
2019-04-05 12:26:59 +01:00
Vincent Veron 9a481bdca8 TARGET_STM32F7: Refresh cache when erasing or programming flash
The cache must be refreshed when we erase or program flash memory.
It fix 2 issues :
    Fix #9934
    Fix #6380

This solution was initially proposed in #6380.

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-05 12:26:58 +01:00
ecoromka 313794cbc7 Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-04-05 12:26:56 +01:00
Malavika Sajikumar 865a5dcf13 Renaming SDP-K1 to SDP_K1. 2019-04-05 12:26:24 +01:00
Malavika Sajikumar 792d3b09d2 Updating SPDX-License-Identifier. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar bb863b3109 Adding support for SDP connector pins. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 41ba2da3d6 Fixing for Travis CI test fail. 5e9e140. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 4b080876e9 Adding SPDX identifier (year 2019) to the license. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 84fe82e78e Removing commented out lines. Added SDP connector pins. 2019-04-05 12:26:23 +01:00
Malavika Sajikumar 5b4b4386d0 Adding support for SDP-K1. 2019-04-05 12:26:22 +01:00
jeromecoutant 3c17155119 DISCO_L496AG: Add PMOD and STMOD+ connector 2019-04-05 12:26:20 +01:00
Juho Eskeli e49d00fd71 MTB_STM_L475: fix UART clock 2019-04-05 12:26:19 +01:00
Ashok Rao 2daa3e6783 Removing redundant code.
MCO pins are not brought out on MTB / MCB design.
2019-04-05 12:26:18 +01:00
Ashok Rao 5e39bf8eec Adding STM32_F439 as a new MTB target 2019-04-05 12:26:18 +01:00
jeromecoutant 85d832eb9f STM32H7 ADC internal channels 2019-04-05 12:26:18 +01:00
Jan Jongboom 716e4d43cb OdinWifiInterface is calling memcpy with a null pointer 2019-04-05 12:26:10 +01:00
jeromecoutant 90f11a1c19 NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6 2019-04-05 12:26:08 +01:00
Wajahat Abbas d481cd01f8 do not assert MDMRST in case of SARA-R4 2019-04-05 12:26:08 +01:00
Michael Coulter 936173a2c9 Fix for i2c_t object not being initialized to 0 causing timeout For issue #9890 2019-04-05 12:26:08 +01:00
jeromecoutant d521ec6003 STM32F429 ARM MICRO startup file update 2019-04-05 12:26:06 +01:00
mudassar-ublox 9d28abae0d C030_N211 cellular api refactoring 2019-04-05 12:26:05 +01:00
Sarah Marsh 0cf73fc344 NUCLEO_L073RZ: IAR linker script issue 2019-03-12 10:06:37 -05:00
Martin Kojtal 7c9a71846e
Merge pull request #9469 from kjbracey-arm/spi_muxing
SPI upgrade - per-peripheral mutex and GPIO-based SSEL
2019-03-01 18:38:27 +01:00
Martin Kojtal f559d03ae2
Merge pull request #9766 from deepikabhavnani/uarm_fixes
Update Toolchain Arm Micro scatter files
2019-03-01 16:54:27 +01:00
Kevin Bracey b12be6bb80 Rename SPI_COUNT to DEVICE_SPI_COUNT
Avoid collision with some HALs that already define SPI_COUNT.
2019-03-01 14:37:04 +02:00
Martin Kojtal 857cd9fba1
Merge pull request #9845 from jarlamsa/stm_spi_peripheral_name
Add spi_get_peripheral_name() to stm_spi
2019-03-01 12:15:04 +01:00
Deepika 122549910e Add Crash report section to all uARM files 2019-02-28 19:54:38 -06:00
deepikabhavnani 944483b0f7 Add missing SHEBANG = #! armcc -E 2019-02-28 19:54:38 -06:00
deepikabhavnani 0ff2d42143 Heap and stack size picked from linker files,export symbols not needed 2019-02-28 19:54:38 -06:00
deepikabhavnani 0dc5561991 Guard RAM start and size defines 2019-02-28 19:54:38 -06:00
deepikabhavnani b598dc1f46 Target_STM: Add ARM_LIB_STACK and ARM_LIB_HEAP section
Instead of user defined symbols in assembly files or C files,
use linker scripts to add heap and stack - this is inconsistent
with ARM std linker scripts
2019-02-28 19:54:28 -06:00
Cruz Monrreal 4b9d07a1da
Merge pull request #9792 from sarahmarshy/nucleo-gcc-bootloader
NUCLEO_L073RZ Bootloader support
2019-02-28 18:21:14 -06:00
Jarno Lamsa a9f0924f7b Add spi_get_peripheral_name() to stm_spi
This is to have support for per-peripheral mutex introduced in https://github.com/ARMmbed/mbed-os/pull/9469
Together fixes an issue seen in https://github.com/ARMmbed/mbed-os/issues/9149
2019-02-27 13:32:22 +02:00
Cruz Monrreal e1736cd06f
Merge pull request #9571 from mprse/fix_9523_rtos_less_issue
Update to 2-region model for HEAP and Stack Memory
2019-02-26 22:50:19 -06:00