Anna Bridge
536da479dc
Merge pull request #10018 from deepikabhavnani/stm32_heap_armc6
...
STM: Update linker script for using SRAM1 and SRAM2 in ARM
2019-04-26 13:30:42 +01:00
Kevin Bracey
87396e0bf6
Assembler atomics
...
Reimplement atomic code in inline assembly. This can improve
optimisation, and avoids potential architectural problems with using
LDREX/STREX intrinsics.
API further extended:
* Bitwise operations (fetch_and/fetch_or/fetch_xor)
* fetch_add and fetch_sub (like incr/decr, but returning old value -
aligning with C++11)
* compare_exchange_weak
* Explicit memory order specification
* Basic freestanding template overloads for C++
This gives our existing C implementation essentially all the functionality
needed by C++11.
An actual Atomic<T> template based upon these C functions could follow.
2019-04-26 13:12:35 +03:00
Malavika Sajikumar
f11f63ddcf
AWAKE signal turned on at system init for SDP-K1 board.
...
- Setting AWAKE signal high in the SystemInit() to ensure VIO supply to daughter boards through SDP and Arduino connectors.
2019-04-25 23:49:19 -07:00
Malavika Sajikumar
869e48dad0
Improvements made to PinNames.h of SDP-K1 board.
...
PinNames.h:
- Removing definition of Status LED.
- Redefining SPI and I2C pin names using Arduino pins names.
2019-04-25 23:49:19 -07:00
Juho Eskeli
443974b864
STM32L4xx: IAR linker file updated to better use available memory
2019-04-23 12:53:53 +03:00
Martin Kojtal
b6a2c7b63f
Merge pull request #10019 from deepikabhavnani/uarm_fix
...
uARM - Move heap region after IRAM1
2019-04-18 12:49:56 +01:00
Deepika
4b7e163b57
Add missing boot stack size memory from heap calculation
2019-04-12 15:28:52 -05:00
jeromecoutant
9c63d91c11
STM32: protect compilation when DEVICE_USTICKER is disabled
2019-04-11 17:57:39 +02:00
Deepika
feba293673
Update linker script for using SRAM1 and SRAM2 in ARM
...
To have the flexibilty in application; to use any of the section
(data/bss/heap) without updating linker script in every use case,
following decisions are made:
1. Fixed size and small sections moved to SRAM2 (32K)
Vectors
Crash data
Remaining section - RW / ZI
2. Large memory space should be used for variable sections
RW/ZI
Heap - (Minimum - 0x12000)
Stack - At bottom
2019-04-09 13:41:09 -05:00
Deepika
1576fb0aaa
Add support for split heap in ST devices
2019-04-09 12:08:49 -05:00
Deepika
1a52587c2d
Update the linker file to support single and multiple heap banks
2019-04-09 12:08:49 -05:00
Deepika
3593444e93
Add support of heap memory split between 2-RAM banks.
...
Please note the heap address of the both the banks must not be contigious else
GCC considers it to be single memory bank and does allocation across the banks,
which might result into hard-fault
2019-04-09 12:08:49 -05:00
Deepika
719d0fb94e
Update linker script for split heap support
...
To have the flexibilty in application; to use any of the section
(data/bss/heap) without updating linker script in every use case,
following decisions are made:
1. Fixed size and small sections moved to SRAM2 (32K)
Vectors
Crash data
Stack
Remaining section - Heap memory
2. Large memory space should be used for variable sections
Data
BSS
Heap - Remaining section
Heap is moved to the end of both sections as GCC allocates till 4K boundary,
if end of heap is not aligned to 4K, that chunk of memory will go unutilized
2019-04-09 12:08:49 -05:00
Marcus Chang
7c0714132c
Expand sbrk to allocate memory from two regions
2019-04-09 12:08:49 -05:00
Deepika
36c7b2de86
uARM - Move heap region after IRAM1
...
ARM_LIB_HEAP start is aligned to IRAM1 end, hence should be placed next to
RW_IRAM1 i.e. no other region in between.
2019-04-09 12:01:01 -05:00
Vincent Veron
9856e86897
TARGET_STM32F7: Reset QSPI in default mode on abort for all versions.
...
This patch is missing in F7 HAL.
Fix #10049
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-04-08 11:47:15 +02:00
Martin Kojtal
c2ebb79723
Merge pull request #9814 from LMESTM/dev_NUCLEO_WB55RG
...
Adding NUCLEO_WB55RG support
2019-04-04 15:30:07 +02:00
Martin Kojtal
6081727cbf
Merge pull request #10115 from enebular/raven
...
Uhuru RAVEN: Adding platform HAL
2019-04-04 11:05:23 +02:00
Martin Kojtal
2a694cf1d9
Merge pull request #10143 from jeromecoutant/PR_ADC_RESETINTERNAL
...
STM32 ADC INTERNAL CHANNEL reset after read
2019-04-02 13:02:14 +02:00
Cruz Monrreal
cdc2579b7b
Merge pull request #10248 from VVESTM/issue_9934
...
TARGET_STM32F7: Refresh cache when erasing or programming flash
2019-04-01 17:04:26 -05:00
Cruz Monrreal
4dd55d2db6
Merge pull request #10281 from ashok-rao/S2_LP
...
Adding support for S2_LP (WiSUN) as a new MTB target
2019-04-01 17:03:37 -05:00
Ashok Rao
1f572f987e
SPDX license identifier changed to Apache-2.0
2019-04-01 15:17:06 +01:00
Ashok Rao
5cb1c64d59
Adding SPDX identifier
2019-04-01 11:21:45 +01:00
Ashok Rao
83ad921196
Resolving merge conflicts from my remote
2019-04-01 07:49:37 +01:00
Ashok Rao
d4c83fc056
Adding STM32_F429 + S2_LP (WiSUN) as a new MTB target
2019-04-01 07:31:01 +01:00
Laurent Meunier
b0f4815261
STM32WB: ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path" which needs
to be disabled after measurement.
Same applied here for WB family as was done for others in #10143 .
2019-03-29 16:21:46 +01:00
Laurent Meunier
c6277988c6
STM32WB: Only configure default peripherals in SetSysClock
...
Typically the RTC clock is configured by RTC driver itself.
RNG on the other hand is shared with M0+ core and it is expected that
M4 turns it on at boot time.
2019-03-29 16:21:46 +01:00
Laurent Meunier
a744343931
STM32WB: disable debug lines when not needed
...
When doing so, do not disbale GPIO clocks as they may be used by other
drivers !
As a result, debug will be disabled by default, but can be enabled by
either modifying code or selecting MBED debug profile.
2019-03-29 16:21:46 +01:00
Laurent Meunier
718b16545c
STM32WB: update deep sleep sequence
...
Review HSE clock initialization to match with latest CUBE firmware.
Also there is no need to set the full clock tree again after deep sleep exit.
With this change we get a stable deep sleep mode (when allowed by CORDIO stack).
2019-03-29 16:21:45 +01:00
Laurent Meunier
b21110d6b8
STM32WB: Add FLASH HW Semaphore
...
Because FLASH is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
14ee4a1c7b
STM32WB: Add TRNG HW Semaphore
...
Because TRNG is a shared resource between the 2 STM32WB cores, SW needs
to acquire HW Semaphore before using the resource.
2019-03-29 16:21:45 +01:00
Laurent Meunier
71c396cab1
STM32WB: update GCC linker script to match with master
2019-03-29 16:21:45 +01:00
Laurent Meunier
6caa4d487f
STM32WB: Add SPDX identifier to new files
...
also update the copyright year when needed
2019-03-29 16:21:44 +01:00
Laurent Meunier
c53021b77f
STM32WB: Update headers
2019-03-29 16:21:43 +01:00
Laurent Meunier
002f40dd3a
STM32WB: ARM linker script update
...
There is no need to add FIRST attribute to MAPPING_TABLE as the default
ordering is alphabetical order.
With this change, we don't have any warning with MBED2 and the sections
are properly ordered anyway in BLE cases.
2019-03-29 16:21:42 +01:00
Laurent Meunier
f2580c1c4a
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-03-29 16:21:41 +01:00
Laurent Meunier
f9b4f11507
STM32WB: Adapt I2C timings
...
for now based on L4+ cubeMX inputs
2019-03-29 16:21:41 +01:00
Laurent Meunier
bb2aea41f8
fixup! NUCLEO_WB55RG: add SDK files
2019-03-29 16:21:41 +01:00
Laurent Meunier
e2cdb19e7f
STM32WB: Add missing analogin_pinmap
...
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-03-29 16:21:41 +01:00
Laurent Meunier
d9c17addd7
Add WB support and CUBE FW version in readme.md
2019-03-29 16:21:40 +01:00
Laurent Meunier
5aa609b4db
STM: fix minor warnings
2019-03-29 16:21:40 +01:00
Laurent Meunier
22f9ac6624
STM32WB: FIX LL RTC warning
2019-03-29 16:21:40 +01:00
Laurent Meunier
5871a712dc
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-03-29 16:21:40 +01:00
Laurent Meunier
27e7e4d9df
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-03-29 16:21:40 +01:00
jeromecoutant
ea86e8ef34
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-03-29 16:21:38 +01:00
bcostm
beab69704a
NUCLEO_WB55RG: update STM common files
...
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-03-29 16:21:38 +01:00
Laurent Meunier
baf7a121bb
NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
...
Align all scatter BLE shared memory declarations.
2019-03-29 16:21:38 +01:00
bcostm
4547fa34f7
NUCLEO_WB55RG: update mbed_rtx.h
2019-03-29 16:21:38 +01:00
bcostm
81f985433f
NUCLEO_WB55RG: add SDK files
...
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-03-29 16:21:37 +01:00
jeromecoutant
ec00ea5655
STM32 ADC INTERNAL CHANNEL reset after read
...
Internal channels use is enabling ADC "internal path"
which needs to be disabled after measurement
2019-03-29 14:30:49 +01:00
Cruz Monrreal
6443e4360a
Merge pull request #10212 from ecoromka/master
...
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
2019-03-28 17:07:46 -05:00
Vincent Veron
5765c4d0e0
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-03-28 14:48:12 +01:00
jk
e44aa056c0
added SPDX identifier and
...
added the description of uhuru_raven_init function
2019-03-27 17:02:56 +09:00
jk
23cb826314
Add definition of RAVEN
2019-03-27 17:02:55 +09:00
Cruz Monrreal
b872d08181
Merge pull request #10000 from malavikasajikumar/master
...
Adding support for SDP-K1.
2019-03-27 00:21:13 -05:00
ecoromka
757b9e250d
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
...
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-03-26 10:42:38 -05:00
Martin Kojtal
f76436c955
Merge pull request #10181 from jeromecoutant/PR_STMOD
...
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-22 11:17:12 +01:00
Martin Kojtal
d850d3bbca
Merge pull request #10156 from juhoeskeli/MTB_STM_L475_uart_clock_fix
...
MTB_STM_L475: fix UART clock
2019-03-21 10:43:35 +01:00
jeromecoutant
9ac9288229
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-21 10:35:11 +01:00
Juho Eskeli
a3beb1081e
MTB_STM_L475: fix UART clock
2019-03-20 16:52:28 +02:00
Martin Kojtal
7d853b46c3
Merge pull request #10133 from ashok-rao/MTB_STM_F439
...
Adding STM32_F439 as a new MTB target
2019-03-20 13:52:46 +01:00
Martin Kojtal
9f2b23d009
Merge pull request #10149 from jeromecoutant/PR_H7ADCINTERNAL
...
STM32H7 ADC internal channels
2019-03-20 13:25:23 +01:00
Ashok Rao
3661957401
Changing SPI flash's CS ine, Errata on SCH
2019-03-19 09:47:38 +00:00
Ashok Rao
fd241ddeaf
Pin map changes
...
Based on v1.1.0 of S2_LP MCB using STM32F429ZIT6.
2019-03-19 09:47:38 +00:00
Ashok Rao
04270f75ba
Adding MTB aliases to PinNames
2019-03-19 09:47:38 +00:00
Ashok Rao
01f2b0426d
Adding STM S2_LP as a new target
2019-03-19 09:47:38 +00:00
Malavika Sajikumar
00863c2664
Renaming SDP-K1 to SDP_K1.
2019-03-18 15:50:14 -07:00
jeromecoutant
75a771c583
STM32H7 ADC internal channels
2019-03-18 16:55:37 +01:00
Ashok Rao
339f806c71
Removing redundant code.
...
MCO pins are not brought out on MTB / MCB design.
2019-03-18 12:37:27 +00:00
Ashok Rao
e4f8b400f8
Adding STM32_F439 as a new MTB target
2019-03-17 19:20:43 +00:00
Martin Kojtal
4b358d63f9
Merge branch 'patch-10' of https://github.com/janjongboom/mbed-os into rollup
2019-03-15 08:44:24 +00:00
Martin Kojtal
d6e81f5249
Merge branch 'PR_H743_A5' of https://github.com/jeromecoutant/mbed into rollup
2019-03-14 11:36:50 +00:00
Martin Kojtal
1bbf7d69d1
Merge pull request #9902 from wajahat-ublox/r412m_reset
...
Remove assertion of MDMRST in case of SARA-R4
2019-03-14 09:40:44 +01:00
Martin Kojtal
897d15a9bc
Merge pull request #9895 from mrcoulter45/issue-9890-fix
...
Fix for i2c_t object not being initialized to 0 causing timeout
2019-03-14 09:39:10 +01:00
Martin Kojtal
b21211dd9f
Merge pull request #9884 from jeromecoutant/PR_F429_uARM
...
STM32F429 ARM MICRO startup file update
2019-03-14 09:38:33 +01:00
Martin Kojtal
76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
...
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
Malavika Sajikumar
27abeb993a
Updating SPDX-License-Identifier.
2019-03-08 14:30:59 -08:00
Malavika Sajikumar
481c19e30d
Adding support for SDP connector pins.
2019-03-08 10:28:04 -08:00
Malavika Sajikumar
d4cc30c8f9
Fixing for Travis CI test fail. 5e9e140
.
2019-03-08 10:11:26 -08:00
Malavika Sajikumar
b8d4ad29da
Adding SPDX identifier (year 2019) to the license.
2019-03-08 09:35:26 -08:00
Malavika Sajikumar
5e9e1404c8
Removing commented out lines. Added SDP connector pins.
2019-03-08 09:22:47 -08:00
Malavika Sajikumar
2ffa39ffc0
Adding support for SDP-K1.
2019-03-07 13:43:54 -08:00
Jan Jongboom
f3614abc30
OdinWifiInterface is calling memcpy with a null pointer
2019-03-07 16:47:56 +01:00
Sarah Marsh
c668472f01
NUCLEO_L073RZ: IAR linker script issue
2019-03-07 13:55:55 +01:00
Michael Coulter
c59c1cb29d
Fix for i2c_t object not being initialized to 0 causing timeout
...
For issue #9890
2019-03-05 11:35:18 -06:00
jeromecoutant
5839a8e7c5
NUCLEO_H743ZI: Arduino A5 is mapped on ADC3_IN6
2019-03-04 17:18:56 +01: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
Wajahat Abbas
b7b083e6a2
do not assert MDMRST in case of SARA-R4
2019-03-01 15:33:26 +05: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
jeromecoutant
6e12fad543
STM32F429 ARM MICRO startup file update
2019-02-28 11:19:12 +01: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
Cruz Monrreal
4b13c8a212
Merge pull request #9768 from c1728p9/feature-hal-spec-usb-device
...
Bring USB Feature branch into master
2019-02-26 22:48:02 -06:00
Cruz Monrreal
03bcf28ff0
Merge pull request #9861 from jeromecoutant/PR_INTERRUPTIN
...
STM32 InterruptIn protection
2019-02-26 22:47:05 -06:00
Deepika
e0b4b51d92
Revert "Update params in calls to LDREXW/STREXW to uint32_t"
...
This reverts commit 334b2d64b0
.
This commit is not required any more as changes for this are already part
of master branch
2019-02-26 11:09:25 -06:00
jeromecoutant
675a7f915d
STM32 InterruptIn protection
2019-02-26 16:58:47 +01:00
mudassar-ublox
6c347eafe5
C030_N211 cellular api refactoring
2019-02-26 17:28:01 +05:00
bcostm
28462d476a
STM32F7 USB: add patch in CubeF7 hal driver
2019-02-22 10:53:22 -06:00
bcostm
aa2b76a995
STM32L4 USB: move HAL_PCD_EP_Abort function
...
This function is for USB_OTG_FS devices only. Move it in the correct place (in "#ifdef USB_OTG_FS" area).
2019-02-22 10:53:22 -06:00
bcostm
4ca33aa266
STM32L4 USB: add patch in CubeL4 hal driver
2019-02-22 10:53:22 -06:00
bcostm
1e807a305e
STM32F4 USB: add patch in CubeF4 hal driver
2019-02-22 10:53:22 -06:00
Russ Butler
d08034c9ef
Remove OR from ST endpoint activation
...
When activating an endpoint assign new data rather than ORing
data to it. This ensures that values set from the previous use
do not effect the current configuration.
2019-02-22 10:53:19 -06:00
Russ Butler
86e1d436e7
Alternate implementation of HAL_PCD_EP_Abort
...
Update the patch "Create HAL_PCD_EP_Abort" to fix bugs.
This patch adds the low level functions USB_EPStopXfer, USB_EPSetNak,
USB_EPClearNak and the high level function HAL_PCD_EP_Abort so that
transfers can be stopped.
The functions USB_EPSetNak and USB_EPClearNak allow nak to be enabled
or disabled for an endpoint, preventing or allowing further transfers.
The function USB_EPStopXfer stops pending reads and writes started by
USB_EPStartXfer along with clearing and masking any interrupts enabled
by USB_EPStartXfer.
The function HAL_PCD_EP_Abort aborts any transfers on the given
endpoint. When this function completes the transfer interrupt
is guarenteed not to fire for this endpoint. Furthermore, the size
of data transferred during an aborted read can be found by calling
the function HAL_PCD_EP_GetRxCount.
Other notes on this Change:
1.
Prior to this patch the interrupt USB_OTG_DOEPINT_EPDISD was not
handled. When an OUT endpoint was disabled this interrupt occurred
causing the CPU to get stuck repeatedly handling this interrupt. This
is because this interrupt was unmasked but nothing cleared this
interrupt. This patch also adds code to handle and clear this
interrupt to prevent a lockup.
2.
Stopping a transfer on an OUT endpoint requires global nak OUT to
be in effect. Even with this being done, having entries in the rx fifo
prevented an OUT endpoint from being disabled. This behavior is not
mentioned in the Reference Manual.
2019-02-22 10:53:18 -06:00
Russ Butler
c4cf19ee3b
Revert "Create HAL_PCD_EP_Abort"
...
Revert the patch "Create HAL_PCD_EP_Abort" in preparation for an
alternate fix.
2019-02-22 10:53:18 -06:00
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
Cruz Monrreal
54bc12f91c
Merge pull request #7643 from bcostm/fix_uart_remove_force_reset
...
STM32: remove uart force_reset at init
2018-08-07 09:14:20 -05:00
Laurent Meunier
e12d98e1c0
Use HAL coding style for function naming
2018-08-07 13:42:46 +02:00
Laurent Meunier
402f3f1c3f
STM32: check for UART ongoing transfers before entering deepsleep
...
As suggested by Russ Butler in mbed-os issue #7328 , and until there is an
implementation of mbed-os issue #4408 , we are implementing a workaround
at HAL level to check if there is any ongoing serial transfer (which happens
if HW FIFO is not yet empty).
In case a transfer is ongoing, we're not entering deep sleep and
return immediately.
2018-08-07 11:30:53 +02:00
Kari Haapalehto
96457ab1e0
mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530
...
led configuration have been updated.
Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now
defined but not connected.
2018-08-03 10:29:13 +03:00
Cruz Monrreal
ae40a09036
Merge pull request #7508 from mprse/ticker_free
...
Ticker free() - requirements, pseudo code, tests, implementation
2018-08-02 23:05:14 -05:00
Przemyslaw Stekiel
ace821017f
Add implementation of ticker_free() function to CI boards.
...
This PR provides implementation of ticker_free() function for the following boards:
ARCH_PRO
EV_COG_AD3029LZ
EV_COG_AD4050LZ
K22F
K64F
K82F
KW24D
KW41Z
LPC546XX
NRF51_DK
NRF52_DK
NUCLEO_F207ZG
NUCLEO_F401RE
NUCLEO_F429ZI
NUCLEO_F746ZG
REALTEK_RTL8195AM
2018-08-02 09:48:10 +02:00
Cruz Monrreal
f9862b84e5
Merge pull request #7668 from bcostm/fix_cleanup_f7_hal_inittick
...
STM32F7: remove HAL_InitTick() declaration in us_ticker_data.h files
2018-08-01 21:42:22 -05:00
Martin Kojtal
9df48f561b
Merge pull request #7606 from bcostm/PULL_REQUEST_CUBE_UPDATE_F1_V1.6.1
...
STM32F1: update to CubeF1 V1.6.1
2018-08-01 15:00:21 +02:00
Martin Kojtal
2ec99158ef
Merge pull request #7642 from ashok-rao/SPI_CS_fix
...
Changing default SPI CS pin to SD card on MTB
2018-08-01 14:57:26 +02:00
bcostm
2c96c5d270
STM32F7: remove HAL_InitTick() declaration in us_ticker_data.h files
2018-08-01 09:56:39 +02:00
Cruz Monrreal
d65abb662f
Merge pull request #7289 from mikaleppanen/odin_iar_heap_inc
...
On STM32F439xI IAR linker file decreased stack size and increased heap
2018-07-31 11:36:52 -05:00
mudassar-ublox
ffb4f926e9
Artistic style applied and updated power function
2018-07-30 19:41:02 +05:00
bcostm
9598dd9f12
STM32: remove uart force_reset at init
2018-07-30 14:52:31 +02:00
Ashok Rao
8c07fcd09f
Changing default SPI CS pin to SD card on MTB
2018-07-30 12:23:37 +01:00
mudassar-ublox
a8abeccdac
UBLOX cellular api's for UDP and TCP
2018-07-26 19:20:38 +05:00
bcostm
b47e599281
F1 ST CUBE V1.6.1: add I2C patches
2018-07-26 15:44:31 +02:00
bcostm
8ce35ba845
F1 ST CUBE V1.6.1
...
- stm32f1xx hal V1.1.2
2018-07-25 14:20:11 +02:00
Przemyslaw Stekiel
c0ee843d63
Add lp/us ticker_free() functions stub.
...
This patch adds only empty stubs of `us_ticker_free()` and `lp_ticker_free()` for all boards where these functions are not implemented.
2018-07-25 08:58:38 +02:00
Cruz Monrreal
5d5ca62a5e
Merge pull request #7553 from bcostm/fix_L496_sct
...
STM32L496: fix RAM size in ARM scatter file
2018-07-23 10:14:05 -05:00
Cruz Monrreal
21dbbc5e8b
Merge pull request #7510 from mattbrown015/fix_stm32_gpio_irq_deepsleep
...
STM32: Improve GPIO IRQ edge detection when waking from deepsleep
2018-07-23 10:12:49 -05:00
bcostm
bf8587ed50
STM32L496: fix RAM size in ARM scatter file
2018-07-19 14:02:05 +02:00
jeromecoutant
59fd0c0cce
STM32F2/F4/F7 : LL API is now available
2018-07-18 15:17:46 +02:00
Cruz Monrreal
38744b9e68
Merge pull request #7498 from bcostm/fix_hsi_lse_lpuart
...
STM32: enable HSI/LSE clocks for LPUART
2018-07-14 13:33:35 -05:00
mattbrown015
7ef70223fb
Improve GPIO IRQ edge detection when waking from deepsleep
2018-07-13 16:02:31 +01:00
jeromecoutant
8a0b83233a
STM32 LPTICKER with LPTIM minor update
...
Code cleaning (L0 Cube update, comment precision)
2018-07-13 10:03:31 +02:00
bcostm
665de33cc6
stm32 lpuart: enable lse and hsi if not done
2018-07-12 15:58:02 +02:00
Cruz Monrreal
e1df16e843
Merge pull request #7365 from jeromecoutant/PR_RTC_SHADOW
...
STM32 RTC : bypass shadow registers
2018-07-11 21:29:02 -05:00
bcostm
0b133be504
stm32 ticker: change th eplace where timer init in done, fix overflow issue with 16-bit timer
...
- Move back the 16/32bit timer initialization in HAL_InitTick() and not in us_ticker_init()
- Use ticker_read_us() and us_ticker_read() in HAL_GetTick() to fix potential overflow issue with the 16bit timer
==> These corrections allow timer, rtc, sleep, tick tests to PASS
2018-07-11 14:45:48 +02:00
bcostm
fc50e28ae6
stm32 ticker: corrections in order to pass tests
2018-07-11 14:44:23 +02:00
bcostm
7097e07b62
stm32 ticker: typo corrections
2018-07-11 14:43:36 +02:00
bcostm
d8e839a789
stm32 ticker: change license
2018-07-11 14:43:16 +02:00
bcostm
32031cbab3
stm32 ticker: rename hal_tick.h in us_ticker_data.h
2018-07-11 14:42:44 +02:00
bcostm
fbd7a97e19
stm32 ticker: rename macro and update ST HAL Tick functions
...
- rename TIM_MST_16BIT in TIM_MST_BIT_WIDTH in order to use it directly in ticker info structure
- change HAL_InitTick() and HAL_GetTick()
2018-07-11 14:39:42 +02:00
bcostm
b1bbd765b7
stm32 ticker: rename files and move functions
...
- rename hal_tick_common.c in hal_tick_overrides.c
- move 16 and 32bits timer functions in us_ticker.c
2018-07-11 14:36:58 +02:00
jeromecoutant
1052993236
STM32 RTC : bypass shadow registers
...
- RTC_SSR for the subseconds
- RTC_TR for the time
- RTC_DR for the date
These registers were accessed through shadow registers which are synchronized with PCLK1 (APB1 clock).
They are now accessed directly in order to avoid waiting for the synchronization duration.
2018-07-11 10:08:02 +02:00
Cruz Monrreal
bcec185754
Merge pull request #7352 from bcostm/fix_rtc_ticker
...
STM32: Fix RTC test issue on targets using a 16-bit timer for us_ticker
2018-07-09 10:20:13 -05:00
bcostm
a838cb21d1
save/restore timer registers before/after deepsleep
2018-07-04 16:44:00 +02:00
bcostm
9523bcf8c9
Use elapsed time only for 16bit timer
2018-07-04 16:43:21 +02:00
bcostm
fcdd529f89
Re-enable IT CC1 after deepsleep
2018-07-04 10:16:32 +02:00
bcostm
f785c23e89
HAL_GetTick returns elapsed time
2018-07-04 10:16:31 +02:00
bcostm
26cb388d14
Use us_ticker_read while SDK is not ready
2018-07-04 10:15:15 +02:00
bcostm
b6beb74d9d
DISCO_L496AG: update LEDs comments in PeripheralPins.c
2018-07-02 10:27:23 +02:00
bcostm
a9ba4f9bf5
DISCO_L496AG: change LED1 and LED2 pins
2018-07-02 10:20:49 +02:00
bcostm
0c417ab8b7
astyle
2018-06-29 10:12:40 +02:00
bcostm
9be8541a30
STM32: add lpuart_clock_source config
...
Keep same clock configuration as done before this PR (LSE and PCLK1).
Use a JSON file to change it.
2018-06-29 10:10:29 +02:00
jeromecoutant
3721ac44d2
STM32 serial RX/TX active patch
...
In serial_tx_active and serial_rx_active functions,
we check the internal state value with
HAL_UART_STATE_BUSY_TX = 0x21U,
HAL_UART_STATE_BUSY_RX = 0x22U,
It seems that value can also be :
HAL_UART_STATE_BUSY_TX_RX = 0x23U,
2018-06-28 18:05:52 +02:00
jeromecoutant
78410e7032
TARGET_STM32L4 astyle
2018-06-27 14:46:00 +02:00
jeromecoutant
ecffec8336
TARGET_STM32L1 astyle
2018-06-27 14:44:37 +02:00
jeromecoutant
baf97d78aa
TARGET_STM32L0 astyle
2018-06-27 14:43:59 +02:00
jeromecoutant
e9d7128485
TARGET_STM32F7 astyle
2018-06-27 14:42:56 +02:00
jeromecoutant
f50720e2a4
TARGET_STM32F4 astyle
2018-06-27 14:42:28 +02:00
jeromecoutant
6df23ee841
TARGET_STM32F3 astyle
2018-06-27 14:32:10 +02:00
jeromecoutant
f9bd4768a5
TARGET_STM32F2 astyle
2018-06-27 14:31:31 +02:00
jeromecoutant
c8313901fb
TARGET_STM32F1 astyle
2018-06-27 14:31:04 +02:00
jeromecoutant
6066e68ec6
TARGET_STM32F0 astyle
2018-06-27 14:23:31 +02:00
jeromecoutant
433ba46132
TARGET_STM astyle
2018-06-27 14:21:07 +02:00
Boting Ren
6f9c76c949
fix LED_RED mapping on NUCLEO_F429ZI
2018-06-26 16:22:28 +09:00
Mika Leppänen
50a130b61d
On STM32F439xI IAR linker file decreased stack size and increased heap
...
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt
handler). Increased heap size from 65kB to 89kB.
Change is related to issue https://github.com/ARMmbed/mbed-os/issues/7137
where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
2018-06-25 10:19:16 +03:00
Cruz Monrreal
093b4f05a2
Merge pull request #7241 from LMESTM/Fix_DeepsleepStackUsage
...
STM32: Reduce HAL_deepsleep stack usage
2018-06-20 08:38:56 -05:00
Cruz Monrreal
cc1e4f0ff8
Merge pull request #7205 from bcostm/fix_hash_data_alignment
...
STM32: Fix data alignment issue in HASH function for F2, F7, L4
2018-06-20 07:55:57 -05:00
Cruz Monrreal
567689c725
Merge pull request #7259 from SeppoTakalo/default_wifi
...
Provide default WiFi interfaces for Ublox and Realtek
2018-06-19 21:46:45 -05:00
Laurent MEUNIER
81adafb5a7
STM32: Reduce HAL_deepsleep stack usage
...
There are cases where a call hal_deepsleep would overflow the idle task
stack, especially in developper or debug profile.
In order to avoid this case, we split ForceClockOutofDeepSleep
into two separate functions the two structure RCC_ClkInitStruct and
RCC_OscInitStruct are not allocated at the same time.
2018-06-19 17:32:00 +02:00
Seppo Takalo
b4726cbca5
Provide default WiFi interface for Ublox EVK ODIN W2
2018-06-19 16:40:55 +03:00
Martin Kojtal
c964f2ee66
Merge pull request #7226 from juhoeskeli/wise_1570_app_start
...
Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader
2018-06-19 14:12:07 +02:00
Juho Eskeli
699601535e
Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader
2018-06-15 13:05:00 +03:00
bcostm
09b8b53b27
Remove text related to channel2
2018-06-15 11:27:52 +02:00
bcostm
1cef655687
Add comments for HAL_InitTick function
2018-06-15 11:19:52 +02:00
Cruz Monrreal
276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
...
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Cruz Monrreal
0a528ff558
Merge pull request #6831 from mprse/hal_crc_test
...
Add HAL CRC test and header file
2018-06-13 08:47:11 -05:00
bcostm
b5a8dc513c
fix hash alignment of F2, F7, L4
2018-06-13 11:51:24 +02:00
Cruz Monrreal
89876311ae
Merge pull request #7176 from KariHaapalehto/data_aligment
...
Fix data aligment problem at STM32F4 hash write
2018-06-11 21:27:50 -05:00
Cruz Monrreal
3d61cb59ab
Merge pull request #6948 from jeromecoutant/PR_ETHER
...
STM32 ETH : remove TX RX locking interrupt perforation
2018-06-11 09:02:21 -05:00
Cruz Monrreal
23bc4e0fe2
Merge pull request #7088 from bcostm/dev_F7_flash_dual_bank
...
STM32F76x: Add support of dual bank flash mode
2018-06-11 08:58:55 -05:00
Yoshihiro TSUBOI
16e706ecd4
[Wio 3G] Changed suggested points
...
Changed accessibility cellular features member functions, fixed minor target issues
2018-06-08 20:13:58 +09:00
Przemyslaw Stekiel
68631fcaa9
STM CRC driver: hal_crc_compute_partial() - validate input paramaters.
2018-06-07 15:06:35 +02:00
bcostm
11d0a8399b
Add license
2018-06-06 14:05:22 +02:00
bcostm
b087390a1a
Remove HAL_TICK_DELAY (no more used)
2018-06-05 16:53:40 +02:00
bcostm
e09e1147d8
Cleanup
...
- Remove calls to HAL_SuspendTick and HAL_ResumeTick
- Rename stm_common.c in hal_tick_common.c
2018-06-05 14:48:54 +02:00
Kari Haapalehto
0c3047f4cc
Fix data aligment problem at STM32F4 hash write
2018-06-05 15:03:37 +03:00
bcostm
74c29cb0e5
Remove code related to timer channel 2
2018-06-05 11:21:02 +02:00
bcostm
91e826d459
Replace HAL_GetTick
2018-06-04 16:00:56 +02:00
jeromecoutant
b79be416c8
Dual Bank Flash support update
2018-06-04 13:37:59 +02:00
bcostm
cc14540140
Add support of Flash dual bank mode on DISCO_F769NI
2018-06-04 13:37:59 +02:00
bcostm
b647ecf80c
Add support of Flash dual bank mode on NUCLEO_767ZI
2018-06-04 13:37:59 +02:00
ytsuboi
e5b8591818
[Wio 3G] Adding platform
2018-06-04 15:55:43 +09:00
Cruz Monrreal
cabcdcf133
Merge pull request #7062 from jeromecoutant/PR_F413
...
DISCO_F413ZH : map SPI3 to WIFI module
2018-06-02 20:53:18 -05:00
Cruz Monrreal
07fb7c1adc
Merge pull request #6987 from jeromecoutant/PR_ADC
...
STM32 ADC update
2018-06-02 19:52:51 -05:00
Anna Bridge
9986abe499
Merge pull request #6803 from chuanga/wise-1510-uart-config
...
Wise 1510 uart config
2018-06-01 11:52:34 +01:00
jeromecoutant
2d0890b989
DISCO_F413ZH : pin value error
2018-05-31 13:55:55 +02:00
jeromecoutant
422e124854
DISCO_F413ZH : map SPI3 to WIFI module
2018-05-30 17:56:46 +02:00
jeromecoutant
e3deaecc27
STM32 LPTICKER update for targets supporting RTC
2018-05-25 12:29:54 -05:00
jeromecoutant
39a9801675
STM32 LPTICKER : clean include file
2018-05-25 12:29:54 -05:00
jeromecoutant
1c4174d3eb
STM32 RTC Init minor update
2018-05-25 12:26:05 -05:00
jeromecoutant
2b8d6cbcc5
STM32 LPTICKER : read counter
2018-05-25 12:26:05 -05:00
jeromecoutant
5701fd5ab6
STM32 LPTICKER update for targets supporting LPTIMER
2018-05-25 12:22:35 -05:00
Laurent MEUNIER
beda4904d3
Make us_ticker common between 16 and 32 bits counters
2018-05-25 12:20:10 -05:00
Laurent MEUNIER
c3d5daf80a
Update STM32 16 bits us_tickers in line with new mbed HAL
...
The new HAL allows to share the timer bit width and frequency,
the actual handling of mapping 16 bits counter up to 32 bits or
64 bits is now managed by mbed common layer.
This makes this ticker layer very similar to 32bits one and much
easier than before.
2018-05-25 12:20:10 -05:00
Bartek Szatkowski
6e9f04bf2f
Rename DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER
...
That's to match DEVICE_USTICKER.
2018-05-25 12:20:09 -05:00
Alan Chuang
7f4272d9a7
make uart console port configurable via mbed_app.json
2018-05-25 16:30:57 +08:00
Steven Cartmell
a92ac70e82
HAL CRC: Move STM32 implementation to common folder and add targets
2018-05-24 17:51:50 +01:00
Steven Cartmell
6b5dabe08b
HAL CRC: Use HAL polynomial enum instead of STM32 enum
2018-05-24 17:51:50 +01:00
Steven Cartmell
acbf41e673
HAL CRC: Basic implementation for STM32F0
2018-05-24 17:51:50 +01:00
Kevin Bracey
13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
...
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
Martin Kojtal
d8cb72a0a2
Merge pull request #6273 from bulislaw/update_cmsis_5.3
...
Update cmsis/rtx to version 5.3
2018-05-24 09:37:40 +02:00
Asif Rizwan
332c6eabeb
recompiled driver against NetworkInterface changes on latest feature-emac
2018-05-23 12:25:23 +03:00
Asif Rizwan
ce08691dad
WiFi EMAC class name reflected in WiFi drivers binaries
2018-05-23 12:25:22 +03:00
Asif Rizwan
657ac3f643
WIFI_EMAC class renamed to OdinWiFiEMAC, Formatting
...
Revert "in ODIN emac initialization required before connection"
2018-05-23 12:25:21 +03:00
Asif Rizwan
0b14f1277e
EMAC adaption added, updated ODIN drivers to v2.5.0 RC1
2018-05-23 12:25:18 +03:00
Mika Leppänen
ef68eb8b4d
Enabled greentea and mbed-os-example-tls/client/sockets test for STM
2018-05-23 12:24:02 +03:00
Kevin Bracey
6930c6d3cf
Ignore old EMAC Wifi drivers
...
Suppress Odin W2 and Realtek Wi-fi drivers using .mbedignore
2018-05-23 12:23:59 +03:00
Cruz Monrreal
3bcc076c0c
Merge pull request #6931 from jeromecoutant/PR_PERIPH
...
STM32 : PeripheralPins.c and PinNames.h files alignment
2018-05-22 14:56:37 -05:00
jeromecoutant
7fd4203b58
STM32L4 ADC internal channels update
2018-05-22 13:18:25 +02:00
jeromecoutant
881a8e31ff
STM32L1 ADC internal channels update
2018-05-22 13:17:52 +02:00
jeromecoutant
4d3a54443d
STM32L0 ADC internal channels update
2018-05-22 13:17:16 +02:00
jeromecoutant
06bca28268
STM32F7 ADC internal channels update
2018-05-22 13:16:37 +02:00
jeromecoutant
e438bd6dc8
STM32F3 ADC internal channels update
2018-05-22 11:42:35 +02:00
jeromecoutant
5f21c3f73e
STM32F2 ADC internal channels update
2018-05-22 11:37:09 +02:00
jeromecoutant
743a812be6
STM32F1 ADC internal channels update
2018-05-22 11:36:09 +02:00
jeromecoutant
d7932c26eb
STM32F0 ADC internal channels update
2018-05-22 11:35:23 +02:00
jeromecoutant
cb579cba1c
STM32F4 ADC internal channels update
2018-05-22 11:32:19 +02:00
bcostm
2d7b13c540
STM32 SPI: fix NSS pin configuration
2018-05-18 14:26:26 +02:00
jeromecoutant
c31554f618
STM32 ETH : remove TX RX locking interrupt perforation
2018-05-18 10:53:02 +02:00
jeromecoutant
b30f3abf11
STM32 PeripheralPins.c second update after review
...
genpinmap script version 1.1
2018-05-17 17:58:09 +02:00
jeromecoutant
3ac1855d93
STM32L4 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:14 +02:00
jeromecoutant
3e56a68eca
STM32L0 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:10 +02:00
jeromecoutant
b928439ef7
STM32F7 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:06 +02:00
jeromecoutant
2b9b817aed
STM32F4 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:03 +02:00
jeromecoutant
02e8172538
STM32F3 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:58 +02:00
jeromecoutant
1e0ae6de14
STM32F1 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:55 +02:00
jeromecoutant
b22c0d1bc1
STM32F0 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:51 +02:00
jeromecoutant
3e92ff1f85
STM32L4 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:41 +02:00
jeromecoutant
945bf78b6e
STM32L1 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:36 +02:00
jeromecoutant
b308d5cb71
STM32L0 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:31 +02:00
jeromecoutant
d0da6dd34e
STM32F7 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:27 +02:00
jeromecoutant
bcadeff645
STM32F4 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:15 +02:00
jeromecoutant
817bdc213d
STM32F3 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:10 +02:00
jeromecoutant
4ebbcc2197
STM32F2 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:03:56 +02:00
jeromecoutant
0025ebc0c7
STM32F1 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:03:33 +02:00
Cruz Monrreal
8be2e34390
Merge pull request #6832 from bcostm/PULL_REQUEST_CUBE_UPDATE_F3_V1.9.0
...
STM32F3: Update with STM32CubeF3 V1.9.0
2018-05-15 10:09:16 -05:00
jeromecoutant
0e510cfe3a
STM32F0 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-15 14:50:07 +02:00
Bartek Szatkowski
42b48821eb
Fix platform failing to build after rebase
2018-05-14 12:18:21 +01:00
Cruz Monrreal
0f51ea031e
Merge pull request #6610 from pauluap/stm32_eth_remove_tx_rx_locking_interrupt_perforation
...
Stm32 eth remove tx rx locking interrupt perforation
2018-05-07 10:51:03 -05:00
bcostm
6154fd2598
F3 ST CUBE V1.9.0: remove pcd patch
...
The Lock field is no more available in PCD structure.
2018-05-07 10:58:49 +02:00
bcostm
ccf71f0360
F3 ST CUBE V1.9.0: fix build errors with legacy macros
2018-05-07 10:58:49 +02:00
bcostm
d0f8def2d7
F3 ST CUBE V1.9.0
2018-05-07 10:58:49 +02:00
Martin Kojtal
45b3fffe9a
Merge pull request #6729 from JammuKekkonen/f411re_add_bootloader_support
...
Add bootloader support for NUCLEO_F411RE target
2018-05-03 16:30:29 +01:00
Jammu Kekkonen
d2cf341348
Add bootloader support for NUCLEO_F411RE target
2018-04-26 16:19:43 +03:00
jeromecoutant
7b5a79f56e
STM32 RTC Init minor update
2018-04-24 13:50:57 +02:00
bcostm
893b759663
L0 ST CUBE V1.10.0: change adc sampling time
2018-04-18 14:06:21 +02:00
bcostm
61576f8131
L0 ST CUBE V1.10.0: spi and i2c corrections
2018-04-18 14:06:20 +02:00
bcostm
8191487a4d
L0 ST CUBE V1.10.0
2018-04-18 14:06:20 +02:00
Cruz Monrreal
e2567e5dad
Merge pull request #6599 from jeromecoutant/PR_WARNING
...
STM32 compilation warning issues
2018-04-16 10:41:36 -05:00
Cruz Monrreal
fe44dc0468
Merge pull request #6601 from KariHaapalehto/add_mtb_adv_wise_1530
...
Add new target MTB_ADV_WISE_1530
2018-04-16 10:40:12 -05:00
Paul Thompson
20f11bc13f
Extend changes to other STM32 devices that have the PCD_WriteEmptyTxFifo() function
2018-04-13 05:27:03 -07:00
Paul Thompson
b45d4233e1
Make the atomic_clr_u32 conditional use raw values rather than computed, remove need for guards
2018-04-13 04:44:43 -07:00
Paul Thompson
2211a27f53
Drop usage of ilen, just use len and cast it to int32_t as appropriate
2018-04-13 00:27:00 -07:00
Paul Thompson
8f4a5e2093
Revert to original fix concentrating on type correctness
2018-04-12 10:09:53 -07:00
Paul Thompson
430784b084
Initial work was for unsigned-signed comparison fix. Current work fixes negative number issues
...
Compile: stm32f7xx_hal_pcd.c
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c: In function 'PCD_WriteEmptyTxFifo':
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1310:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > ep->maxpacket)
^
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1325:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > ep->maxpacket)
^
2018-04-12 09:43:18 -07:00
Paul Thompson
c67f535fb3
Drop locking around TX and RX. The DMA channels are independent of each other
2018-04-12 09:42:28 -07:00
jeromecoutant
71d7d24bd6
STM32L4 : correct compilation warnings
2018-04-12 10:56:41 +02:00
jeromecoutant
e7c4120550
STM32L1 : correct compilation warnings
2018-04-12 10:55:16 +02:00
jeromecoutant
eeca430b23
STM32L0 : correct compilation warnings
2018-04-12 10:55:11 +02:00
jeromecoutant
2d0dce1db5
STM32F7 : correct compilation warnings
2018-04-12 10:55:02 +02:00
jeromecoutant
2fcf8d8990
STM32F4 : correct compilation warnings
2018-04-12 10:52:21 +02:00
jeromecoutant
a540a21106
STM32F3 : correct compilation warnings
2018-04-12 10:51:33 +02:00
jeromecoutant
4e9e9f5c62
STM32F2 : correct compilation warnings
2018-04-12 10:51:18 +02:00
Kari Haapalehto
f2b37b7d42
Add new target MTB_ADV_WISE_1530.
...
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 includes same usi chip,
so common USI_WM_BN_BM_22 target has been created.
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 are inheting the common usi target
2018-04-11 15:50:28 +03:00
jeromecoutant
b6a8a50a28
STM32F1 : correct compilation warnings
2018-04-11 11:06:44 +02:00
jeromecoutant
c2ee8f34b6
STM32F0 : correct compilation warnings
2018-04-11 09:57:54 +02:00
Paul Thompson
f41cf081c9
STM32 : correct compilation warnings
2018-04-11 09:53:15 +02:00
Cruz Monrreal
e913e917c0
Merge pull request #6544 from ithinuel/add_rak811_adc
...
add ADC_AN0-2 mapped on PA_0-2
2018-04-10 18:08:03 -05:00
Martin Kojtal
8b2eb20a54
Merge pull request #6553 from theotherjimmy/stmL4-armc6
...
Correct armc6 detection logic for STM32L4
2018-04-09 17:36:52 +02:00
Martin Kojtal
96084a3c67
Merge pull request #6561 from LMESTM/Stm32DeepSleepClock
...
Stm32 deep sleep clock
2018-04-09 17:11:23 +02:00
Martin Kojtal
a3faf58a9e
Merge pull request #6511 from ashok-rao/MTB_USI_BM22
...
Add new target USI WM-BN-BM-22
2018-04-09 17:07:00 +02:00
Laurent MEUNIER
ad4a250292
Style fix
2018-04-06 17:03:53 +02:00
Laurent MEUNIER
3d92af50ce
Add delay to let clock stabilize when out of deep sleep
...
Tests have shown that there is hich-up on MSI clock during the setup phase.
If this stabilization phase happens when application has restarted again
this can have side effects, like grambled UART characters typically.
So we're adding a delay before hading-over back to application.
With this modification, on NCULEO_L476RG, the wake-up time is increased
from 2ms to 2,5ms.
If possible this should be improved in the future to save 500 microseconds
of wak-up time. See TODO
2018-04-06 16:10:27 +02:00
Laurent MEUNIER
8007b1df7c
Use temporarily MSI or HSI when exiting Deep Sleep
...
There are cases where HW registers are found in unpexcepted state when
exiting Deep Sleep only few micro-seconds after it was entered.
By using an internal clock that does not depend on anythin and clocking
the system without using PLL, this allows SetSysClock default configuration
to run fine whatever possible configuration we find the HW in when
exiting Deep Sleep.
Also we shall restore interrupts only after all cloks are back to
expected running state.
2018-04-06 16:10:27 +02:00
Jimmy Brisson
d374bb4a5a
Correct armc6 detection logic
2018-04-05 15:13:52 -05:00
Wilfried Chauveau
de4d7043c9
add ADC_AN0-2 mapped on PA_0-2
2018-04-05 08:33:55 +01:00
bcostm
8412807669
Update stm32l151xba.h
2018-04-03 15:01:07 +02:00
bcostm
293b3bfdc0
STM32L1: allow redefinition of FLASH_SIZE macro
2018-04-03 14:23:14 +02:00
bcostm
8c0ff8be79
Fix typos causing ARM build error
2018-04-03 14:01:03 +02:00
bcostm
d8aa587782
L1 ST CUBE V1.8.1
2018-04-03 14:01:02 +02:00
Ashok Rao
62e5dccd0b
Remove irrelevant comments
2018-03-29 16:52:03 +01:00
Ashok Rao
1df5c020b9
Adding USI WM-BN-BM-22 as a new target
2018-03-29 16:20:54 +01:00
Wilfried Chauveau
85af9f96ea
add IAR to the supported toolchain
2018-03-28 10:03:23 +01:00
Wilfried Chauveau
c31676306a
switch to stm32l151cb-a & work around flash size field width.
2018-03-26 18:00:18 +01:00
Wilfried Chauveau
495f8e4e5b
add RF_TXCO_EN on PH1 and set HSI calibration to its default value
2018-03-23 10:19:49 +00:00
Wilfried Chauveau
758f3b2dbd
add support for the RAK811
2018-03-23 10:19:49 +00:00
Cruz Monrreal
7c272fa3e8
Merge pull request #6412 from jeromecoutant/PR_L4_ADC
...
STM32L4 ADC correct internal channel management
2018-03-22 11:27:50 -05:00
Cruz Monrreal
04a3635eba
Merge pull request #6399 from jeromecoutant/PR_L4_TEMP
...
STM32L4 ADC Internal Channel : correct sampling time
2018-03-22 11:27:30 -05:00
jeromecoutant
ef006931f8
STM32L4 ADC correct internal channel management
2018-03-21 10:57:57 +01:00
Cruz Monrreal
6cb6dd9e62
Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p
...
NUCLEO_L433RC_P: fix pins definitions
2018-03-20 14:56:05 -05:00
Cruz Monrreal
d7dfab5c7e
Merge pull request #6370 from jeromecoutant/PR_LPT_RTC_OPTIM
...
STM32 LPTICKER : optimize RTC wake up timer init
2018-03-20 14:19:07 -05:00
jeromecoutant
6c369d17aa
STM32L4 ADC Internal Channel : correct sampling time
2018-03-20 13:15:17 +01:00
Cruz Monrreal
0adef8a959
Merge pull request #6379 from bcostm/dev_DISCO_L496AG
...
DISCO_L496AG: Add new platform
2018-03-19 11:18:27 -05:00
Cruz Monrreal
05e72dc729
Merge pull request #6353 from jeromecoutant/PR_RTC_LSE
...
STM32 RTC init
2018-03-16 11:45:13 -05:00
bcostm
f59f7581fb
DISCO_L496AG: add entry in mbed_rtx.h
2018-03-16 10:02:12 +01:00
bcostm
64a824abd2
DISCO_L496AG: add system clock file (same as Nucleo)
2018-03-16 10:02:12 +01:00
bcostm
ade8583044
DISCO_L496AG: add other pins related files
2018-03-16 10:02:11 +01:00
bcostm
63901a803c
DISCO_L496AG: remove QSPI2
...
Base adress not found in registers map file but found in CubeMX xml file.
2018-03-16 10:02:11 +01:00
bcostm
eab3e95158
DISCO_L496AG: add PeripheralPins.c
2018-03-16 10:02:11 +01:00
jeromecoutant
882f3312c3
STM32 LPTICKER : optimize RTC wake up timer init
...
Division in a while loop is removed
2018-03-15 14:23:57 +01:00
jeromecoutant
2f86b3a7bb
STM32 RTC init
...
When LSE is configured for RTC, LSI is not affected
2018-03-14 11:12:29 +01:00
bcostm
8fe02803e1
NUCLEO_L433RC_P: fix LEDs pin assignment
2018-03-12 11:30:52 +01:00
Evan Hosseini
94616e6396
mts_mdot_f411re: Fix for Multi-Tech mDot IAR linker script
2018-03-08 16:41:34 -06:00
Cruz Monrreal
8a7b390fdd
Merge pull request #6102 from Ultimaker/master
...
Add support for STEVAL-3DP001V1 board
2018-03-06 20:41:41 -06:00
Rob Meades
c53fb9dc64
Call i2c_init() before i2c_frequency() (since i2c_frequency() requires the object to be set up) and zero the I2C object before giving it to i2c_init() as i2_init() has to set up a default frequency for its timeouts to work and it will only do this if the hz field in the object was zero to begin with (otherwise you end up with a random but usually very large indeed timeout).
2018-03-01 14:52:42 +00:00
daid
62599a97f7
Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip.
2018-02-28 09:37:39 +01:00
Cruz Monrreal
19e07e8d11
Merge pull request #6217 from jeromecoutant/PR_RTC
...
STM32 RTC : update free function
2018-02-27 15:40:11 -06:00
Cruz Monrreal
153fa05bea
Merge pull request #6172 from adustm/l4_linkergcc
...
Use SRAM2 32Kbytes on STM32L475 / L476 and L486 devices
2018-02-27 13:46:26 -06:00
jeromecoutant
961c8da51c
STM32F1 RTC : Date read after reset
...
F1 is the only STM32 family where RTC date is not saved into registers
2018-02-27 11:02:49 +01:00
jeromecoutant
45cbdc889f
STM32 RTC : update free function
...
- LSI specific implementation is removed
- Remove RTC clock disable
2018-02-27 10:45:43 +01:00
Cruz Monrreal
815c6fb7cf
Merge pull request #6193 from ashok-rao/ODIN_PinsFix
...
ODIN MTB LEDs Fix
2018-02-26 22:49:03 -06:00
Ashok Rao
a5899db9e5
ODIN MTB LEDs Fix
2018-02-23 17:10:09 +00:00
adustm
d1e6e8f128
Allow jenkins script to pass
2018-02-23 17:40:09 +01:00
adustm
28a43b55e7
Add initial_sp value for STM32L476 and STM32L486 devices
2018-02-23 10:44:14 +01:00
adustm
67953251f9
Use official toolchain defines
2018-02-23 10:29:29 +01:00
adustm
815be94197
Add defined for GCC_ARM to pass heap and stack tests
2018-02-22 17:38:26 +01:00
adustm
f551255ded
Add support of separate memories for heap and stack region swith the use of TWO_RAM_REGIONS define
2018-02-22 17:37:34 +01:00
adustm
02b2b01a83
Change STM32L475/76/86 GCC_ARM linker files to have HEAP in SRAM1 and stack in SRAM2 (after the interrupt vector)
2018-02-22 17:36:27 +01:00
Fahim Alavi
192250af87
Support added for R410M Changes
...
target added r410m
Spaces removed
Trace updated
2018-02-20 10:32:14 +05:00
Martin Kojtal
105da034a3
Merge pull request #6117 from u-blox/i2c_read_write
...
UBLOX C030: I2C avoid any RTOS waits
2018-02-19 17:16:59 +01:00
Bilal
8ebb234d51
Formatting change - II
2018-02-19 12:32:54 +05:00
Bilal
c91b61e03c
Formatting change
2018-02-16 17:20:10 +05:00
Bilal
46d84b7ebb
Replacing i2c_xxxx(...) calls to reduce binary size and avoid any RTOS waits
2018-02-16 15:24:50 +05:00
jeromecoutant
ea9c1f29a1
STM32F4 Cube v1.19.0 update : ST CMSIS files
...
Previous version was v1.16.0
2018-02-15 16:33:32 +01:00
jeromecoutant
0d8d3e01db
STM32F4 Cube v1.19.0 update : ST HAL files
...
Previous version was v1.16.0
2018-02-15 16:33:31 +01:00
jeromecoutant
4db8842604
STM32F4 Cube update : file name alignment
2018-02-15 16:33:30 +01:00
Kevin Bracey
984cc1ab50
Merge pull request #6032 from jarlamsa/status-callbacks
...
Status callbacks
2018-02-15 13:02:10 +02:00
Cruz Monrreal
5648b156e6
Merge pull request #6063 from bcostm/PULL_REQUEST_CUBE_UPDATE_F7_V1.10.0
...
STM32F7: Update ST HAL driver with CubeF7 v1.10.0
2018-02-14 12:41:37 -06:00
Cruz Monrreal
ccff46d9a3
Merge pull request #6070 from ithinuel/remove-magic
...
remove magic calibration value for HSI in ST's targets
2018-02-12 17:21:32 -06:00
Senthil Ramakrishnan
19ad4e2cb9
Fix MTB_MTS_XDOT build breakage
2018-02-12 12:02:21 -06:00
Senthil Ramakrishnan
96d900c99f
Fixes for targets with invalid HardFault_Handler implementation and review/other fixes
2018-02-12 11:50:33 -06:00
Wilfried Chauveau
d1a0ff9964
remove magic calibration value for HSI in ST's targets
2018-02-12 16:47:35 +00:00
Cruz Monrreal
84ee9cc7a1
Merge pull request #5941 from marcemmers/lpuart-use-lse
...
STM32L0/4 Enable use of LPUART in stop mode
2018-02-12 10:26:37 -06:00
Cruz Monrreal
c3e02b18b6
Merge pull request #6035 from ashok-rao/ODIN-serial_fix
...
Fix serial pins and a typo for ODIN MTB
2018-02-12 10:25:22 -06:00
Cruz Monrreal
75e6d97735
Merge pull request #6042 from jeromecoutant/PR_DISCO_F303
...
DISCO_F303VC : STDIO pins correction and alignment with STM32 family
2018-02-12 10:24:57 -06:00
bcostm
118073a9c5
Add missing can legacy file
2018-02-12 10:37:03 +01:00
bcostm
58c4a5f83e
F7 ST CUBE V1.10.0
...
F7 HAL driver V1.2.5
2018-02-12 10:37:03 +01:00
Andreas Larsson
67772a5e95
Added u-blox ODIN-W2 driver binaries v2.4 rc1
2018-02-09 12:54:47 +02:00
Martin Kojtal
8e8b3d3bbd
Merge pull request #6036 from bcostm/dev_move_DISCO_L072CZ
...
DISCO_L072CZ_LRWAN1: move target folder
2018-02-08 15:19:08 +00:00
jeromecoutant
e0e6e5a9e5
DISCO_F303VC : Align clock configuration with STM32 family
2018-02-08 14:25:46 +01:00
jeromecoutant
e8e4af3c7a
DISCO_F303VC : add IAR files
2018-02-08 14:25:45 +01:00
jeromecoutant
1ab4030f20
DISCO_F303VC : wrong STDIO pins
2018-02-08 14:25:45 +01:00
Cruz Monrreal
1c5c1c79d0
Merge pull request #6027 from ithinuel/fix-target-names-for-murata-abz-and-adv-wise-1510
...
rename MURATA type ABZ & WISE 1510 to their expected name
2018-02-07 20:06:50 -06:00
Cruz Monrreal
1ac115d794
Merge pull request #6013 from kivaisan/add-wise-1570
...
Add MTB_ADV_WISE_1570 target
2018-02-07 20:05:38 -06:00
Cruz Monrreal
63201db875
Merge pull request #6004 from bcostm/fix_l476-486_sram_iar
...
STM32L476/486: Improve SRAM usage for IAR
2018-02-07 14:51:30 -06:00
bcostm
7630874b9c
Move TARGET_DISCO_L072CZ_LRWAN1 folder
2018-02-07 16:23:09 +01:00
Ashok Rao
188a68829f
Fixed serial pins and a typo for ODIN MTB
2018-02-07 15:12:40 +00:00
Wilfried Chauveau
6c9fcf3dd8
rename MURATA type ABZ & WISE_1510 to their expected name
2018-02-06 21:23:37 +00:00
Cruz Monrreal
8ae80892b7
Merge pull request #5975 from ashok-rao/br-xDOT
...
Adding MTB_MTS_XDOT as a new target
2018-02-06 13:05:12 -06:00
Marc Emmers
7881e68efe
STM32L0: Enable stop mode operation for the LPUART
2018-02-06 15:42:39 +01:00
Marc Emmers
01660ff5ae
STM32L0/4: Always try to select LSE if LPUART and baudrate <= 9600
2018-02-06 15:42:39 +01:00
Cruz Monrreal
6a8a818ebf
Merge pull request #6012 from jeromecoutant/PR_SPI_FLUSH
...
STM32 SPI ASYNC - Add FIFO flush before transfer
2018-02-05 10:11:03 -06:00
Kimmo Vaisanen
4dad23a6a3
Add WISE-1570 external pin names
2018-02-05 14:47:52 +02:00
Kimmo Vaisanen
41490f48d0
Add MTB_ADV_WISE_1570 target
2018-02-05 14:31:20 +02:00
jeromecoutant
36c41186a6
STM32 SPI ASYNC - Add FIFO flush before transfer
2018-02-05 11:06:51 +01:00
jeromecoutant
703df3b6f9
STM32F7 SPI - add missing HAL files
...
ST_INTERNAL_REF 43358
2018-02-05 11:06:14 +01:00
Cruz Monrreal
fc748f0943
Added LED2 definition for compilation of tests
2018-02-02 21:06:24 -06:00
Cruz Monrreal
1e794393e5
Merge pull request #5972 from bcostm/dev_BL_STM32F7
...
STM32F7: Add bootloader support (new trial)
2018-02-02 10:05:49 -06:00
bcostm
937db051da
STM32L476/486: change SRAM config for IAR
2018-02-02 10:23:28 +01:00
Cruz Monrreal
f907012e55
Merge pull request #5962 from bcostm/fix_usart_irq_index
...
STM32: Fix usart irq index
2018-01-31 12:16:17 -06:00
Cruz Monrreal
097966b8c7
Merge pull request #5905 from ithinuel/add-CMWX1ZZABZ-078-support
...
add support for the murata's module CMWX1ZZABZ-078 based on STM32L0
2018-01-31 12:14:29 -06:00
Wilfried Chauveau
3608627a48
fix a silent conflict with PR #5947
2018-01-31 00:48:40 +00:00
Cruz Monrreal
b87e98c57b
Merge pull request #5904 from ithinuel/add-wise-1510
...
add support for STM32L443RC & WISE-1510
2018-01-30 15:01:00 -06:00
Cruz Monrreal
fff6c75e28
Merge pull request #5936 from jeromecoutant/PR_WEAK_PINMAP
...
STM32 : set all PinMap structures as weak
2018-01-30 14:56:42 -06:00
Cruz Monrreal
10e67e659c
Merge pull request #5947 from jeromecoutant/PR_L4_PLUART
...
STM32L4 : add missing ST HAL UART functions
2018-01-30 14:46:15 -06:00
Ashok Rao
ba932700d9
Adding MTB_MTS_XDOT as a new target
2018-01-30 17:48:45 +00:00
bcostm
6e71398e3c
STM32F7: move cache initialization
2018-01-30 14:01:50 +01:00
bcostm
eb4b339c37
STM32 serial: add missing function declaration
2018-01-30 09:48:53 +01:00
bcostm
b6efdd58c8
STM32 serial: improve index assignment in serial_init
2018-01-29 17:23:21 +01:00
bcostm
e8454ff522
STM32 serial: improve irq index management for L0 devices
2018-01-29 17:23:21 +01:00
bcostm
78a5516726
STM32 serial: improve irq index management for F0 devices
2018-01-29 17:23:21 +01:00
bcostm
84269c7ca2
STM32 serial: improve irq index management for L4 devices
2018-01-29 17:23:21 +01:00
bcostm
665d4a8003
STM32 serial: improve irq index management for L1 devices
2018-01-29 17:23:21 +01:00
bcostm
689e15cf29
STM32 serial: improve irq index management for F7 devices
2018-01-29 17:23:21 +01:00
bcostm
eeb4d2cd1d
STM32 serial: improve irq index management for F3 devices
2018-01-29 17:23:21 +01:00
bcostm
1fa0557dbf
STM32 serial: improve irq index management for F2 devices
2018-01-29 17:23:21 +01:00
bcostm
6974da239c
STM32 serial: improve irq index management for F1 devices
2018-01-29 17:23:20 +01:00
bcostm
2305db6c98
STM32 serial: use uart_name in serial_irq_set function for F4
2018-01-29 17:23:20 +01:00
bcostm
a908d28f26
STM32 serial: coding style
2018-01-29 17:23:20 +01:00
bcostm
73ffc06ffd
STM32 serial: fix linking error
2018-01-29 17:23:20 +01:00
bcostm
e446c26584
STM32 serial: use uart_name instead of uart_base
2018-01-29 17:23:20 +01:00
bcostm
7256af0d5b
STM32 serial: change serial_get_irq_n function for F4 devices
2018-01-29 17:23:20 +01:00
bcostm
172c02a856
STM32 serial: use get_uart_index function for F4 devices
2018-01-29 17:23:20 +01:00
bcostm
066da18e0d
STM32 serial: add get_uart_index utility function
2018-01-29 17:23:20 +01:00
bcostm
0efd33f010
STM32 serial: move init_uart function at the end of file
2018-01-29 17:23:20 +01:00
Cruz Monrreal
ebc8adbd4f
Merge pull request #5951 from jeromecoutant/PR_STDIO2
...
STM32 NUCLEO F413ZH and L433RC : STDIO configuration
2018-01-29 10:09:19 -06:00
bcostm
8ed0f26d80
Check cache before enabling it
...
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-01-29 16:04:46 +01:00
bcostm
5ad0887d7e
NUCLEO_F767ZI: Add bootloader support
2018-01-29 15:53:44 +01:00
bcostm
e933971f92
BL NUCLEO_F746ZG: change scb->vector assignment
2018-01-29 15:53:24 +01:00
bcostm
e10e555520
BL STM32746xG: Update scatter/link files
2018-01-29 15:52:33 +01:00
jeromecoutant
8f647beacb
STM32 : set all PinMap structures as weak
...
This allow custom overwrites
2018-01-29 09:26:49 +01:00
Wilfried Chauveau
e6b19d838c
add support for STM32L443RC & WISE-1510
2018-01-26 17:06:39 +00:00
jeromecoutant
c9c6857c7c
STM32 NUCLEO F413ZH and L433RC : STDIO configuration
...
#5795 patches are missing for these 2 targets
STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-26 17:50:10 +01:00
Cruz Monrreal
dfa55336f5
Merge pull request #5907 from bcostm/fix_f0_usart_irq
...
STM32F0: fix issue with usarts sharing the same irq vector
2018-01-26 10:36:55 -06:00
Cruz Monrreal
7576813a7c
Merge pull request #5934 from jeromecoutant/PR_F401
...
NUCLEO_F401RE : PeripheralPins file update
2018-01-26 10:32:56 -06:00
Cruz Monrreal
9d10c6a7ed
Merge pull request #5938 from jeromecoutant/PR_MTB
...
MTB_XX : STDIO configuration
2018-01-26 10:32:37 -06:00
jeromecoutant
7979f4d255
SMT32L4 : add missing ST HAL LPUART functions
...
To enable/disable UART Clock in Stop Mode
2018-01-26 16:24:54 +01:00
Wilfried Chauveau
f8e88d7443
add support for the murata's module based on STM32L0
2018-01-26 12:26:25 +00:00
jeromecoutant
c26db91a09
MTB_XX : STDIO configuration
...
Here is a proposition
- to align with other STM32
- and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-25 15:46:36 +01:00
jeromecoutant
e6ec285a6b
NUCLEO_F401RE : PeripheralPins file update
...
Default SERIAL pins are now available for ADC and PWM
when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO
Alternative pins have been also defined
2018-01-25 13:52:17 +01:00
Martin Kojtal
6d52c1c067
Revert "STM32F7: Add bootloader support"
2018-01-25 11:07:01 +00:00
bcostm
7ff1cf52c0
STM32F0 uart irq: test IT flags for usart3/4
2018-01-25 11:23:53 +01:00
bcostm
18659ab16b
STM32F0: manage better uart3 & 4 irqs
...
Manage the case where both uart3 and uart4 interrupts are arriving at the same time.
2018-01-25 11:15:55 +01:00
bcostm
eaa3e9d2b2
STM32F0 usart irq: fix issue with F070/F072
2018-01-25 11:15:55 +01:00
bcostm
b6c9178d88
STM32F0: fix usart irq management
2018-01-25 11:15:54 +01:00
Cruz Monrreal
a6892da126
Merge pull request #5903 from jeromecoutant/PR_F407_ARM
...
STM32F407 : correct ARM scatter file
2018-01-24 11:28:28 -06:00
Cruz Monrreal
f1cf77fa44
Merge pull request #5844 from adustm/DiscoIot_L475_iarlink
...
ST-DISCO_L475VG_IOT01A: Improve SRAM use for IAR toolchain
2018-01-23 16:23:08 -06:00
Cruz Monrreal
8d7397884e
Merge pull request #5894 from bcostm/fix_serial_7bit
...
STM32: fix serial 7bit data format
2018-01-23 16:21:00 -06:00
Cruz Monrreal
de5c170eee
Merge pull request #5896 from jeromecoutant/PR_DEEPSLEEP
...
STM32LX : HAL_RCC_OscConfig update in PLL configuration
2018-01-23 14:58:12 -06:00
Cruz Monrreal
4c07c1c830
Merge pull request #5821 from bcostm/add_BL_nucleo-f746zg
...
STM32F7: Add bootloader support
2018-01-23 11:49:10 -06:00
Cruz Monrreal
892e5e1b74
Merge pull request #5809 from ashok-rao/MTB_MXChip
...
Add MTB MXChip EMW3166
2018-01-23 11:33:47 -06:00
jeromecoutant
3cefae203c
STM32F407 : correct ARM scatter file
...
Alignment with STM32Cube_FW_F4_V1.18.0 done
2018-01-23 12:41:35 +01:00
bcostm
2cdc110747
STM32: fix serial 7bit data format
2018-01-22 15:43:50 +01:00
jeromecoutant
6086c51234
STM32LX : HAL_RCC_OscConfig update in PLL configuration
...
check PLL settings before retuuning error
2018-01-22 13:35:11 +01:00
bcostm
4d0535a1bf
NUCLEO_F767ZI: Add bootloader support
2018-01-22 11:11:27 +01:00
bcostm
6edcc1eba2
Check cache before enabling it
...
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-01-22 11:11:27 +01:00
bcostm
43f4b679c7
BL NUCLEO_F746ZG: change scb->vector assignment
2018-01-22 11:11:27 +01:00
bcostm
728e89dd03
BL STM32746xG: Update scatter/link files
2018-01-22 11:11:27 +01:00
Cruz Monrreal
47a128a5e5
Merge pull request #5882 from ashok-rao/br-MTB_Dragonfly
...
Add MTB MTS_Dragonfly as a new target.
2018-01-19 13:58:03 -06:00
Ashok Rao
9ee69854ff
Adding MTB MTS_Dragonfly as a new target
2018-01-18 17:08:59 +00:00
Martin Kojtal
c24eb5b092
Merge pull request #5862 from jeromecoutant/PR_LPT_ISSUE
...
STM32 LPT optimisation
2018-01-18 08:41:55 +00:00
Cruz Monrreal
635a82495c
Merge pull request #5834 from bcostm/PULL_REQUEST_CUBE_UPDATE_L4_V1.11.0
...
STM32L4: Update ST Cube HAL to V1.11.0
2018-01-16 16:36:37 -06:00
Cruz Monrreal
bf139eb4df
Merge pull request #5791 from bcostm/fx_can_filter
...
STM32 CAN: fix wrong ID and MASK filter
2018-01-16 16:21:21 -06:00
Cruz Monrreal
f01fbde3c5
Merge pull request #5795 from jeromecoutant/PR_USER_DEFINED_STDIO
...
STM32 STDIO pins number are now configurable
2018-01-16 16:15:17 -06:00
jeromecoutant
9fb865ae57
STM32 LPT optimisation
2018-01-16 15:16:13 +01:00
Martin Kojtal
670077624d
Merge pull request #5749 from jeromecoutant/PR_LPT_LPTIM
...
STM32 LOWPOWERTIMER : introduce LPTIM feature
2018-01-15 15:25:54 +00:00
Martin Kojtal
2c6403e67f
Merge pull request #5787 from bcostm/dev_flash_f2
...
STM32: Add support of Flash API for STM32F2 devices
2018-01-15 15:24:13 +00:00
Martin Kojtal
debca1f87c
Merge pull request #5824 from jeromecoutant/DEV_DISCO_F407
...
DISCO_F407VG : alignment with other STM32
2018-01-15 15:22:52 +00:00
adustm
5104f2d1cc
Improve SRAM use for IAR toolchain
...
Use the entire SRAM2 with NVIC buffer + stack
Increase HEAP size to 0x10000 in SRAM1
Increase the available SRAM1 by 0x2000
2018-01-12 15:49:27 +01:00
bcostm
d50c329c68
Use legacy CAN api
2018-01-12 11:17:29 +01:00
bcostm
06f097884c
Update stm32l4xxxx.h files
2018-01-12 11:11:32 +01:00
bcostm
a4f9012a0a
Update stm32l4xx.h files
2018-01-12 11:11:31 +01:00
bcostm
dda34ea206
Update system_stm32l4xx.c with latest version
2018-01-12 11:11:31 +01:00
bcostm
43a31557dc
Remove release notes file
2018-01-12 11:11:31 +01:00
bcostm
0448d64f62
Add more comments
2018-01-12 11:11:31 +01:00
bcostm
84577f9634
L4 ST CUBE V1.11.0
...
Update to STM32CubeL4 V1.11.0
Conflicts solved:
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L433xC/device/stm32l433xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/device/stm32l4xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l496xx.h
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/stm32l4xx.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_conf.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_def.h
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_i2c.c
targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi.h
2018-01-12 11:11:31 +01:00
Cruz Monrreal
2c5fedc0b2
Merge pull request #5792 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_F0_V1.9.0
...
STM32F0 : ST CUBE version update to V1.9.0
2018-01-11 10:24:28 -06:00
jeromecoutant
0eede79e2b
DISCO_F407VG : alignment with other STM32
...
- clock source is now a user choice
- IAR tool chain is available
2018-01-10 15:01:29 +01:00
jeromecoutant
a816e93e9a
STM32 LOWPOWERTIMER : introduce LPTIM feature
...
STM32L0, L4, F7 and few F4 chip are supporting LPTIM feature.
We propose to allow user to use LPTIM for MBED LowPowerTimer API instead of using RTC wakeup timers.
By default, all targets that are supporting this feature have been configured.
2018-01-09 14:10:14 +01:00
Ashok Rao
c138dedf73
Adding MTB MXChip EMW3166 as a new target
2018-01-08 21:07:38 +00:00
Jimmy Brisson
24b0387500
Merge pull request #5747 from jeromecoutant/PR_RTC_SLEEP
...
STM32 : Fix issue to exit deepsleep when RTC has not been initialized
2018-01-08 10:37:06 -06:00
Jimmy Brisson
737f75a68f
Merge pull request #5608 from productize/nucleo-f413zh
...
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
2018-01-08 10:35:27 -06:00
jeromecoutant
9c6e7c0fa0
STM32F4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
...
NB for UBLOX targets: usb_rx and usb_tx config name are still available
in order to not break current applications.
2018-01-08 11:42:46 +01:00
jeromecoutant
59b4b228c4
STM32L4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:35 +01:00
jeromecoutant
7fa733e236
STM32L1: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:24 +01:00
jeromecoutant
06e9fb6c9b
STM32L0: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:17 +01:00
jeromecoutant
93b34070ed
STM32F7: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:10 +01:00
jeromecoutant
a7bddff5cc
STM32F3: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:12:04 +01:00
jeromecoutant
785862e69e
STM32F2: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:11:57 +01:00
jeromecoutant
f97d84654e
STM32F1: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:11:51 +01:00
jeromecoutant
88678315f1
STM32F0: STDIO_UART_TX and STDIO_UART_RX can be now user defined
2018-01-08 11:11:43 +01:00
jeromecoutant
e4169b7a9e
STM32: update init procedure
...
- STDIO_UART define is no more used
- configuring a new serial with the same UART as STDIO is no more allowed
2018-01-05 15:16:38 +01:00
jeromecoutant
9f4bec2f2e
STM32F0 : ST CUBE version update to V1.9.0
...
- Previous ST Cube version: V1.7.0
- CMSIS part update from 2.3.1 to 2.3.3
- HAL part update from 1.5.0 to 1.7.0
2018-01-05 14:46:33 +01:00
bcostm
d96e76e7bd
STM32 CAN: fix wrong ID and MASK filter
2018-01-05 10:11:17 +01:00
Jimmy Brisson
af9e07357a
Merge pull request #5740 from ashok-rao/master
...
Adding MTB ublox ODIN W2 as a new target.
2018-01-04 10:05:02 -06:00
Jimmy Brisson
324e53b770
Merge pull request #5697 from bcostm/dev_flash_f3
...
STM32: Add support of Flash API for STM32F3 devices
2018-01-04 10:00:41 -06:00
Jimmy Brisson
62a7ecddd3
Merge pull request #5570 from jeromecoutant/PR_STDIO
...
STM32 UART init update
2018-01-04 09:50:18 -06:00
bcostm
058f011254
STM32F1: Remove flash functions doc
2018-01-04 15:43:54 +00:00
bcostm
ca24ee4cd7
STM32F0: Remove flash functions doc
2018-01-04 15:43:54 +00:00
bcostm
a47f9b3480
STM32F0: Add Flash API support
2018-01-04 15:43:54 +00:00
bcostm
6f5d8ff92e
STM32F1: Add Flash API support
2018-01-04 15:43:54 +00:00
bcostm
0d3e189545
STM32F2: Remove flash functions doc
2018-01-03 15:26:10 +01:00
bcostm
c86f1efd9c
STM32F2: Add Flash API support
2018-01-03 15:26:10 +01:00
bcostm
8203a8ddf5
STM32F3: Remove flash functions doc + typos
2018-01-02 14:28:09 +01:00
bcostm
563338ad58
STM32F3: reset PGERR flash flag
2018-01-02 14:28:09 +01:00
bcostm
b5324cae32
STM32F3: flash_api typos
2018-01-02 14:28:09 +01:00
bcostm
0d09f6d788
STM32F3: add Flash api
2018-01-02 14:28:09 +01:00
Anna Bridge
20ad454f2b
Merge pull request #5613 from andreaslarssonublox/ublox_init_odin_evk_leds
...
Added init for ODIN EVK LEDs to be off by default
2017-12-29 14:30:50 +00:00
Adam Heinrich
da81229186
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
...
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2017-12-29 15:30:10 +01:00
Martin Kojtal
dd5bd73a88
Merge pull request #5720 from kjbracey-arm/STM32F7_DMB
...
Add memory barriers to STM32F7xx Ethernet
2017-12-22 11:07:46 +00:00
Ashok Rao
e324d16fab
Fixing indentation
2017-12-21 15:38:58 +00:00
jeromecoutant
8c662132f4
STM32 : issue to exit deepsleep when RTC has not been initialized
2017-12-21 10:50:47 +01:00
Ashok Rao
dc3c7fc11e
Adding MTB ublox ODIN W2
2017-12-20 18:52:04 +00:00
Martin Kojtal
806b762473
Merge pull request #5677 from u-blox/c030_bq24295_voltage_fix
...
C030 Battery Charger Voltage Fix
2017-12-20 14:42:18 +00:00
Kevin Bracey
05e2ae7a70
Add memory barriers to STM32F7xx Ethernet
...
Pending official update from STM, add memory barriers to the Ethernet
HAL code for the STM32F7xx family.
Cortex-M7 has a merging write buffer that is not automatically flushed
by accesses to devices, so without these DMBs, we sometimes lose synch
with the transmitter.
The DMBs are architecturally needed in every version of this HAL, but
adding just to the STM32F7 version for now to clear test, as the
problem has only been observed on Cortex-M7-based devices.
Fixes #5622 .
2017-12-20 15:05:29 +02:00
jeromecoutant
8bc92bdd22
STM32F4 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-13 13:57:26 +01:00
jeromecoutant
4637279f51
STM32L4 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-13 13:57:17 +01:00
jeromecoutant
75db24ff15
STM32F3 : compilation issue
...
Issue comes only when ST HAL macro USE_FULL_ASSERT is enabled
2017-12-13 13:56:42 +01:00
Bilal
0469dfb892
Bracket moved to next line
2017-12-13 16:37:19 +05:00
Martin Kojtal
cee180f472
Merge pull request #5667 from productize/fix-stm32-can3
...
STM32: Fix CAN3
2017-12-12 17:39:41 +00:00
Martin Kojtal
be52ba2156
Merge pull request #5363 from mprse/extended_rtc
...
Add support and tests for extended RTC
2017-12-12 17:36:44 +00:00
Martin Kojtal
da43d655ff
Merge pull request #5459 from jeromecoutant/PR_LPT_RTC
...
STM32 Low Power Timer feature updates
2017-12-12 17:33:31 +00:00
Martin Kojtal
047455eee9
Merge pull request #5591 from helmut64/NUCLEO_STM32L433_NEW
...
Support the STM NUCLEO_L433RC-P board
2017-12-12 17:29:51 +00:00
Martin Kojtal
84192fe676
Merge pull request #5610 from garivetm/bugfix-STM32CAN
...
STM32 - CAN - Fix RTR position bit in TX mailbox register
2017-12-12 17:27:57 +00:00
Bilal
5c1623c9e1
Licenses added in header files
2017-12-08 19:51:25 +05:00
Bilal
a40469e7c5
C030 Battery Charger Voltage Fix
2017-12-08 17:39:21 +05:00
bcostm
f08c04d81f
STM32 CAN3: add CAN_3 declaration for DISCO_F769NI
2017-12-07 18:12:54 +01:00
Adam Heinrich
9ee222a8e6
STM32: Set valid filter number for CAN3
...
Filter numbers 14 to 27 are reserved for dual CAN configuration.
However, CAN3 operates in single CAN configuration according to the
reference manual).
2017-12-07 18:06:05 +01:00
bcostm
bfc4d68ae0
STM32 CAN3: remove test of CAN_2 and CAN_3
...
CAN_2 and CAN_3 are enum and not #define and this causes compilation error with GCC_ARM
Instead put back the test of CAN_NUM (which are defined in can_device.h).
2017-12-07 18:04:34 +01:00
Adam Heinrich
d33c0a6fa5
STM32: Pass correct id to can_irq() for CAN3
2017-12-06 19:41:20 +01:00
jeromecoutant
17a54840c7
STM32 RTC : update and comment prescaler values
2017-12-05 12:52:52 +01:00
Przemyslaw Stekiel
106561669f
Update RTC drivers for extended RTC.
2017-12-05 07:54:02 +01:00
jeromecoutant
01b2b1baf3
STM32: RTC_LSI macro is replaced by lse_available config
2017-12-04 17:35:31 +01:00
jeromecoutant
354ed44a65
STM32 LOW_POWER_TIMER update : use error
2017-12-04 17:35:30 +01:00
jeromecoutant
85c337d0b9
STM32 LOW_POWER_TIMER update : rtc_init procedure
2017-12-04 17:35:29 +01:00
jeromecoutant
c13ffaf477
STM32 LOW_POWER_TIMER update : sleep
...
RSF synchro after deepsleep is not specific to Low Power Timer feature
And we have to check if RTC is configured before synchro
2017-12-04 17:35:29 +01:00
jeromecoutant
0bf364ea55
STM32 LOW_POWER_TIMER update : rtc_api.c
...
Add RSF synchro during init
Set a better WakeUp clock for long wake up period in order to stay in sleep mode
Use rtc_isenabled function before init as rtc_init is called at each set_time call
2017-12-04 17:35:28 +01:00
jeromecoutant
b65e861b20
STM32 LOW_POWER_TIMER update : lp_ticker
...
Removed unnecessary part
2017-12-04 17:35:27 +01:00
Martin Kojtal
c7e5eb2f97
Merge pull request #5397 from sakuraio/stm_sco-evb-01
...
add target SAKURAIO_EVB_01.
2017-11-30 18:16:09 +00:00
Martin Kojtal
45e9e4cab3
Merge pull request #5565 from LMESTM/fix_slave_3wires
...
STM32: SPI 3 wires mode not supported in SPI slave
2017-11-30 18:11:16 +00:00
andreas.larsson
1eef1cd771
Added license header
2017-11-30 08:50:11 +01:00
andreas.larsson
b5e9a5ca14
Added init for ODIN EVK LEDs to be off by default
2017-11-29 08:24:42 +01:00
Mathieu Garivet
6ee3d80b1c
Fix RTR position bit in TX mailbox register
2017-11-28 18:44:28 +01:00
andreas.larsson
f2de0956b4
Updated ODIN drivers to v2.3 RC1
2017-11-28 12:22:45 +01:00
Helmut Tschemernjak
63ad3aeae3
Added the proper defines for the STM32L432 bootloader support
2017-11-27 15:41:30 +01:00
Helmut Tschemernjak
4778a40643
Changed NVIC Flash base address to support the bootloader
2017-11-27 15:32:53 +01:00
Helmut Tschemernjak
632b2f1660
Updated wrongly defined UART3_BASE into USART3_BASE
2017-11-27 15:19:43 +01:00
Helmut Tschemernjak
66a1967fb4
Added TARGET_STM32L433RC stack size define into mbed_rtx.h
2017-11-27 15:15:17 +01:00
Helmut Tschemernjak
fb914149dd
Updated to toolchain startup/linker files to support the 433 devices
...
Also added the symbolic MBED_APP_START/MBED_APP_END defines
2017-11-27 15:03:43 +01:00
Helmut Tschemernjak
94c46b102b
defined STM32L433xx
2017-11-27 14:52:37 +01:00
Helmut Tschemernjak
e25dfc07f0
Added stm32l433xx.h defined STM32L433xx
2017-11-27 14:51:46 +01:00
Helmut Tschemernjak
6907b6d9e5
Updated PeripheralNames.h, PeripheralPins.c and PinNames.h for STM32L433 devices
2017-11-27 14:44:35 +01:00
Helmut Tschemernjak
90bb8fc368
Copied TARGET_STM32L432 to TARGET_STM32L433, renamed 432 files to 433
2017-11-27 14:36:47 +01:00
jeromecoutant
1cf47f6209
STM32 uart: update after code review
2017-11-24 13:39:33 +01:00
jeromecoutant
07e71d6ec8
STM32 LPUART : update clock source depending on expected baudrate
2017-11-23 14:52:35 +01:00
jeromecoutant
6d64c2fbf4
STM32 UART init update
...
- serial_init, serial_free and serial_baud function moved from serial_device.c (specific to each STM32 family) to serial_api.c (common STM32 file)
- default baudrate value was hardcoded to 9600
- Value is set now to MBED_CONF_PLATFORM_STDIO_BAUD_RATE for STDIO
- Value is set now to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE for other use
- UART init will not be stopped before calling serial_baud function
2017-11-23 14:47:54 +01:00
Laurent MEUNIER
839bd642d0
STM32: SPI 3 wires mode not supported in SPI slave
...
This patch handles the case of SPI slave mode without MISO (NC).
In case MISO is not connected, we consider that SPI will be configured in
3 wires mode (CLK / MOSI / CS, but no MISO). In this case, the MOSI line
is bi-directional : SPI_DIRECTION_1LINE.
But as this is not supported yet in slave mode, we force it to
SPI_DIRECTION_2LINES. In this case slave SPI will receive data on MOSI
but nothing will be sent back to master as MISO is not connected.
2017-11-23 10:10:05 +01:00
Jimmy Brisson
369187cadf
Merge pull request #5535 from MikeDK/nucleo_l432kc_async_serial_fix
...
NUCLEO_L432KC: Fixed async serial
2017-11-22 10:19:53 -06:00
Jimmy Brisson
ced2f74f16
Merge pull request #5513 from bcostm/fix_adc_inited
...
STM32: Initialize ADC peripheral for each AnalogIn object creation
2017-11-22 10:16:14 -06:00
Jimmy Brisson
800be4e90d
Merge pull request #5512 from jeromecoutant/PR_L072
...
DISCO_L072CZ_LRWAN1 can use LSE from LORA module
2017-11-20 10:53:20 -06:00
Michael Kaplan
8a1c29c2e5
TARGET_STM32L4: added missing #ifdef in serial_device.c
2017-11-20 15:49:18 +01:00
bcostm
c54e9079b8
STM32 ADC: replace flags type from int to bool
2017-11-17 13:50:59 +01:00
bcostm
1d3eb508bf
STM32: fix linker error with adc_read()
2017-11-17 13:50:59 +01:00
bcostm
2bbedabf7d
STM32: add analogin_api.c file in STM folder
2017-11-17 13:50:59 +01:00
bcostm
34fdcc926b
STM32: move analogin_read functions in a common file
2017-11-17 13:50:59 +01:00
bcostm
4dbe95dded
STM32: rename analogin_api.c in analogin_device.c
2017-11-17 13:50:59 +01:00
bcostm
072ec2e765
STM32L4 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
52d942e2d2
STM32L1 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
4b82479175
STM32L0 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
75f80abddc
STM32F7 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
d5ff05a03b
STM32F4 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
7005bc21d7
STM32F3 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
f12391ad25
STM32F2 ADC: remove adc_inited flag
2017-11-17 13:50:59 +01:00
bcostm
36110e10cf
STM32F1 ADC: remove adc_inited flag
2017-11-17 13:50:58 +01:00
bcostm
2e2744ccbe
STM32F0 ADC: remove adc_inited flag
2017-11-17 13:50:58 +01:00