jeromecoutant
01e798fd6a
STM32 clock configuration depending on USB
2019-10-21 17:11:59 +02:00
jeromecoutant
03dd8d3e22
STM32L4 USB pins addition
2019-10-21 17:11:55 +02:00
Laurent Meunier
e862438fad
Clearing UART TC Flag prevents deep sleep, so do not clear it
...
The TC flag is used in function serial_is_tx_ongoing to check if there is
an ongoing serial transmission. So this Flag must not be cleared at the
end of the transmission, otherwise, serial_is_tx_ongoing will notify that
TX is ongoing.
The impact is that it may prevent deep sleep to be entered.
Also there is no need to clear this flag at the end of the transaction
because it will be cleared automatically by HW when a new transmission
starts.
2019-10-15 15:59:51 +02:00
jeromecoutant
fc5b91a36f
DISCO_L4R9I: update default STMOD+ pin
2019-10-07 16:01:16 +02:00
jeromecoutant
db7efabfd5
STM license file update
...
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-09-10 14:24:48 +02:00
jeromecoutant
bb1388be8e
NUCLEO_L4R5ZI: add QSPI_x definition
2019-08-29 14:17:33 +02:00
jeromecoutant
f13072490c
NUCLEO_L4R5ZI : add OSPI pins for QSPI
2019-08-29 12:11:28 +02:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Martin Kojtal
104f9281c4
Merge branch 'I2C_SEQUENTIAL_COMMUNICATION_REWORK' of git://github.com/ABOSTM/mbed-os into dev_rollup
2019-08-28 18:36:53 +01:00
Leon Lindenfelser
7063ccee9e
Add PA6 to ADC PeripheralPins for MTS_DRAGONFLY_L471QG
2019-08-28 13:12:08 +01:00
jeromecoutant
8cd00b3468
STM32L4: Add OSPI IP support in fallback QSPI mode
...
For STM32 platforms that embed an OSPI IP, we're offering
a QSPI fallback support with this commit.
When OSPI is supported in mbed, we can consider adding full
OSPI support
2019-08-23 15:18:48 +02:00
jeromecoutant
680e0fc5fb
DISCO_L4R9I: increase system clock from 80MHz to 120MHz
2019-08-22 13:32:20 +02:00
jeromecoutant
bdd0689228
NUCLEO_L4R5ZI: increase system clock from 80MHz to 120MHz
2019-08-22 13:21:28 +02:00
Alexandre Bourdiol
7647b39adc
TARGET_STM: I2C sequential communication revert PR #3324 to original cube HAL
2019-08-22 10:44:20 +02:00
Martin Kojtal
de84004be1
Merge pull request #11189 from LMESTM/pwmout_cpp_guard
...
__cplusplus guard fixed pwmout_device.h for STM32 families
2019-08-13 11:19:24 +02:00
Laurent Meunier
319223ac16
__cplusplus guard fixed pwmout_device.h for STM32 families
...
This bug prevented using this header in cpp code directly.
2019-08-09 09:51:39 +02:00
jeromecoutant
96a773a0e6
STM32L4: update drivers version to CUBE V1.14.0
2019-07-19 13:15:07 +02:00
Seppo Takalo
12d60f86ea
Merge pull request #11050 from jeromecoutant/PR_DISCO_L4R9I
...
DISCO_L4R9I new target
2019-07-17 23:15:45 +03:00
Seppo Takalo
987533859a
Merge pull request #10104 from kjbracey-arm/sleep_api
...
Sleep rework, RTOS API for bare metal, wait deprecations
2019-07-17 14:37:53 +03:00
jeromecoutant
1a835dda4a
DISCO_L4R9I new target
2019-07-15 14:06:40 +02:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Yuan Cao
6ed21ee1c0
Fixed serial_device IRQ infinite loop bug due to uint8_t overflowing
2019-07-13 00:05:25 -04:00
Martin Kojtal
ccb63d771e
Merge pull request #10857 from ARMmbed/feature-watchdog
...
Add Watchdog and ResetReason
2019-07-03 11:43:52 +01:00
Martin Kojtal
61c4d05ce9
Merge pull request #10824 from ABOSTM/PRSTM32_PWMWRTIE_GLITCH_10734
...
STM32: pwmout_write: configure channel only when not already enabled
2019-06-28 14:24:14 +01:00
Martin Kojtal
924af9481e
Merge pull request #10841 from VVESTM/vve_10827_spi_count
...
TARGET_STM: Add DEVICE_SPI_COUNT to use SPIs without interference
2019-06-26 09:09:38 +01:00
Martin Kojtal
b0073bb70d
Merge pull request #10774 from fkjagodzinski/fix-uart_irq
...
Fix serial IRQ handling
2019-06-25 15:49:41 +01:00
Alexandre Bourdiol
a339084684
STM32: pwmout_write: configure channel only when not already enabled
...
Fix PWM glitch on write(), TARGET_STM/pwmout_api.c, #10734
2019-06-20 17:49:16 +02:00
Vincent Veron
31eb49b918
TARGET_STM: Add DEVICE_SPI_COUNT to use SPIs without interference
...
Extend to all STM targets the work done on PR10752.
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-14 14:15:56 +02:00
jeromecoutant
39ee51a017
STM32L4 warning compilation
...
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
Filip Jagodzinski
53222fa448
STM32L4: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2019-06-07 15:33:49 +02:00
jeromecoutant
d919498745
STM32: common cmsis.h and device.h
2019-05-27 16:27:41 +02:00
jeromecoutant
570e9b0bf4
STM32 WATCHDOG : increase timeout value
2019-05-24 11:35:42 +02:00
jeromecoutant
e29d64fc19
STM32 WATCHDOG : compilation issue with typed define
2019-05-24 11:35:40 +02:00
Guillermo Alonso
70bc390410
added QSPI support to target RHOMBIO_L476DMW1K
2019-05-07 15:44:09 +02:00
Martin Kojtal
1de0712272
Merge pull request #9944 from deepikabhavnani/stm32_splitheap
...
GCC - Add support to split heap across 2-RAM banks
2019-04-30 11:02:51 +01:00
Martin Kojtal
2cd7aa1148
Merge pull request #10303 from juhoeskeli/mem_changes
...
STM32L4xx: IAR memory maps updated
2019-04-29 13:46:46 +01:00
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
Juho Eskeli
443974b864
STM32L4xx: IAR linker file updated to better use available memory
2019-04-23 12:53:53 +03:00
Deepika
4b7e163b57
Add missing boot stack size memory from heap calculation
2019-04-12 15:28:52 -05: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
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
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
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
Deepika
122549910e
Add Crash report section to all uARM files
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
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
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
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
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
Guillermo Alonso
7b2abc75c2
Added new target RHOMBIO_L476DMW1K
2019-02-20 12:10:53 +01: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
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
ed53fe1ed4
Merge pull request #9534 from jeromecoutant/PR_FLOW
...
STM32 Serial Flow Control
2019-02-04 14:35:47 +01: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
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
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
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
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
7876a653c6
STM32L476 / STM32L486 alignment
2019-01-17 11:15:39 -06:00
jeromecoutant
8e0663f8d8
STM32L496xG: increase IAR heap size
2019-01-17 11:15:19 -06:00
Martin Kojtal
fd6ceda960
Merge pull request #9323 from jeromecoutant/PR_AST
...
STM32: astyle check
2019-01-11 14:06:05 +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
b1a284a876
STM32: astyle check
2019-01-10 10:22:21 +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
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
jeromecoutant
164fee0e61
STM32L4 ADC VBAT CHANNEL
2019-01-04 09:15:32 +01: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
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
b5bc128e36
STM32L496 : add QSPI definition
2018-12-13 10:56:31 +01:00
jeromecoutant
7c8de3c4e1
STM32 : removed unused QSPI pin names
2018-12-13 10:56:25 +01:00
jeromecoutant
6b226ffcef
STM32 RTC update for easy maintenance
2018-12-04 11:08:30 +01:00
Senthil Ramakrishnan
ef8c1c3cb6
Linker script modifications for crash data region
2018-11-16 13:59:59 -06: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
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