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
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
66ab546200
NUCLEO_L4R5ZI: fix 8-bytes data alignment
2018-10-26 10:58:00 +02: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
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
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
Cruz Monrreal
5a1c49fa6d
Merge pull request #8168 from jeromecoutant/PR_ADC_DISCOL496
...
DISCO_L496AG : enable ADC
2018-10-08 10:10:44 -05: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
72fa1e0e8f
Merge pull request #8119 from jeromecoutant/PR_L4_ADC
...
STM32L496 : wrong ADC init
2018-10-05 19:53:25 +02: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
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
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
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
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