Commit Graph

4487 Commits (e7e9e0734ccf015ceb1ed519b34a9bae8c38235e)

Author SHA1 Message Date
Deepika e7e9e0734c Update K64F linker files for general solution of 2-ram regions 2019-02-19 15:49:49 -06:00
deepikabhavnani b36147fbe9 ISR_Stack_start/size defines are not needed, use linker file defines 2019-02-19 15:49:49 -06:00
deepikabhavnani 9ed7e4dc83 Remove unnecessary endif 2019-02-19 15:49:49 -06:00
deepikabhavnani d0cc7aceb5 Target_Cypress: Update linker files to add heap limit 2019-02-19 15:49:49 -06:00
Deepika 537b3646d3 Resolve build/type cast errors 2019-02-19 15:49:49 -06:00
Deepika 462f339d47 TARGET_Wiznet: Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika c6a72f2cd7 TARGET_TT: Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika 72ae546228 TARGET_TOSHIBA :Setup heap limit and size 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
Deepika 1f57568015 TARGET_Silicon_Labs Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika c85ca4db0c TARGET_RENESAS: _sbrk updated to use limits from linker files no need to set defines 2019-02-19 15:49:49 -06:00
Deepika a814078f0c Target_UNO_91H: Remove custom _sbrk, update heap limits 2019-02-19 15:49:49 -06:00
Deepika 73f4a52361 Target_ONSEMI: Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika 57b9ccc517 Target_NXP: Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika b2e189f453 Target_Nuvoton: Remove target specific implementation of _sbrk 2019-02-19 15:49:49 -06:00
Deepika 8c63dbeb31 Target_Maxim: Setup heap limit and size 2019-02-19 15:49:49 -06:00
Deepika 25a127e97b target_Gigadevice: Set the heap size and limit 2019-02-19 15:49:49 -06:00
Deepika e03455a920 Target_Freescale: Set the heap size and limit 2019-02-19 15:49:49 -06:00
Deepika 5e4dcaba71 Target_Cypress: Set the heap limit 2019-02-19 15:49:49 -06:00
Deepika 25bcedac38 TARGET_Atmel: Set the heap size and limit 2019-02-19 15:49:49 -06:00
Deepika 8b02a60b94 TARGET_ARM_FM: Set the heap size and limit 2019-02-19 15:49:49 -06:00
Deepika 41eaefeeb4 Update memory model for stack and heap memory
Memory model for RTOS and No RTOS was initially single stack and heap,
only few targets implemented 2-region RAM model.

2-region RAM model is applied for all toolchains and targets.

GCC: __wrap__sbrk was implemented for 2-region ram model, with switch to 2-region
for all targets, we do not need target specific implementation of this API
Also _sbrk is WEAK function, hence can be over written in target folder for
special cases
2019-02-19 15:49:45 -06:00
Przemyslaw Stekiel e60a0f46e4 Remove duplicated _mbed_user_setup_stackheap, __rt_lib_init definitions.
Few targets already used 2-region memory model.
2019-02-19 15:46:32 -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
Cruz Monrreal 31be2a320c
Merge pull request #9710 from Patater/remove-crypto-when-no-entropy
crypto: Remove PSA Crypto API from targets without entropy
2019-02-15 12:27:21 -06:00
Cruz Monrreal 31519eff4a
Merge pull request #9667 from deepikabhavnani/NXP_linker
Linker files for LPC11U68 and LPC1549 updated
2019-02-15 11:39:55 -06: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
Cruz Monrreal 5701c94384
Merge pull request #9714 from deepikabhavnani/cleanup_linker_files
Only GCC_ARM toolchain is supported, removing legacy code
2019-02-14 20:26:05 -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
deepikabhavnani 818d38b6ae Only GCC_ARM toolchain is supported, removing legacy code 2019-02-13 16:26:22 -06:00
Jaeden Amero 326b119fa1 crypto: Remove PSA Crypto API from targets without entropy
An entropy source is required in order to use the PSA Crypto API. The
only devices Mbed OS knows are guaranteed by default to have an entropy
source are those devices with a TRNG. Don't enable the PSA Crypto API by
default for devices that Mbed OS can't know have an entropy source. This
avoids run-time errors when an entropy source is not present on these
targets.

Applications can add their own entropy source by place entropy into
their systems, implementing their own NV Seed read and write callbacks,
and then enabling the MBEDTLS_ENTROPY_NV_SEED configuration option to
notify the PSA Crypto implementation that an entropy source is present
and how to use it.

See https://os.mbed.com/docs/mbed-os/v5.11/porting/entropy-sources.html
for the background on why entropy is fundamental to system security and
how to inject entropy into systems that lack an on-board source of
entropy.
2019-02-13 15:04:43 +00:00
Martin Kojtal ba7aa88715
Merge pull request #9678 from lrusinowicz/sequana_psa_deepsleep
FUTURE_SEQUANA_PSA: fixed deep sleep mode
2019-02-13 11:33:09 +01: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
Cruz Monrreal 3e6cd4e89d
Merge pull request #9501 from caixue1102/mbed-os-rda
Add WIFI support for RDA target UNO_91H
2019-02-12 20:05:27 -06:00
Cruz Monrreal 0ccb4dd44c
Merge pull request #9680 from lrusinowicz/sequana_arduino_mappings
FUTURE_SEQUANA: Fixed Arduino signal mappings
2019-02-12 20:05:12 -06:00
Cai d92e33dcee Add WIFI support for RDA target UNO_91H 2019-02-12 22:59:53 +08:00
Leszek Rusinowicz 03d7b15e47 FUTURE_SEQUANA: Fixed Arduino signal mappings
Fixed Arduino signal mappings for production version of Sequana board.
2019-02-12 12:20:01 +01:00
Leszek Rusinowicz 92b019f110 FUTURE_SEQUANA_PSA: fixed deep sleep mode
Enabled tickless mode for Sequana PSA M0 core code to allow it to enter
deep sleep mode. This fixes issue #9094 where tests were failing due to
M0 core not entering deep sleep mode, blocking the whole chip.
Fixed incorrect resource management on M0 core, which crashed tickless
mode.
2019-02-12 10:32:49 +01:00
Oren Cohen 8a5ccf25aa Add MBEDTLS_ENTROPY_NV_SEED to NUCLEO_F411RE to fix the build 2019-02-12 11:22:15 +02: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
Cruz Monrreal 1712a2b76c
Merge pull request #9656 from OpenNuvoton/nuvoton_m2351_fix-crypto-ac-mgmt
M2351: Fix crypto AC management
2019-02-11 18:46:48 -06:00
Cruz Monrreal 87a9d7c45a
Merge pull request #9605 from kfnta/alzix/pelion-psa
Restore MBEDTLS_PSA_CRYPTO_C for PSA targets
2019-02-11 18:46:12 -06:00
Deepika 80eb887f5b Update linker files and resolve build issue
Linker files for LPC11U68 and LPC1549 updated as Mbed OS memory model
1.	LPC1549
Has multiple memory banks, 4K bank used for stack exclusively and 16K for Heap
Its is mbed 2 only target hence 4K for stack.

2.	LPC11U68
Added Heap and Stack sections in linker files. Resolved build issues.
2019-02-11 14:44:41 -06:00
Martin Kojtal 8f932a476f
Merge pull request #9449 from c1728p9/pinmap-extension
Pinmap extensions
2019-02-11 18:24:19 +01:00
Martin Kojtal fd5a6af137
Merge pull request #9613 from mprse/stack_heap_fix_k64f_only
K64/ARM: Update to 2-region model for HEAP and Stack Memory
2019-02-11 17:55:30 +01:00
Martin Kojtal 160a771e2b
Merge pull request #9647 from lrusinowicz/sequana_spi_fixes
FUTURE_SEQUANA: SPI HAL fixes
2019-02-11 17:53:04 +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
ccli8 99dd189177 [Nuvoton] Remove unnecessary header files in crypto-misc.cpp 2019-02-11 18:10:51 +08:00
ccli8 8988b6e9db [M2351] Hook crypto interrupt handler without NVIC_SetVector 2019-02-11 14:21:41 +08:00