Commit Graph

27688 Commits (5d7f5bd82b5cc9114818ec2f708b6a1c4ec6206d)

Author SHA1 Message Date
Anna Bridge 5d7f5bd82b
Merge pull request #12082 from ARMmbed/release-candidate
Release candidate for mbed-os-5.15.0-rc2
2019-12-12 10:23:15 +00:00
adbridge 5d947032ba Revert "Update PSA auto-generated components and services"
This reverts commit eedfd64bc1.

The only changes in this commit are white space changes which
are actually wrong and breaking the astyle checks.
2019-12-11 11:54:24 +00:00
adbridge 530451939c "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-12-11 10:59:38 +00:00
adbridge eedfd64bc1 Update PSA auto-generated components and services 2019-12-11 10:52:57 +00:00
adbridge ebd27f08c3 "Update secure binaries for LPC55S69_S (ARMC6)" 2019-12-11 10:52:56 +00:00
Martin Kojtal d8d399c508 TARGET_STM32F74: fix IAR SIZE check in linker scripts 2019-12-11 10:45:56 +00:00
Martin Kojtal 6ad8c9caec STM32F756xG: fix IAR RAM size check 2019-12-11 10:45:56 +00:00
Martin Kojtal cc07a6d7dc UNO_91H: remove sectors, bootloader was disabled
This should be reverted once bootloader is supported.
2019-12-11 10:45:56 +00:00
Martin Kojtal dc34196ad7 CY8CKIT_062_BLE: disable bootloader support
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal a19cd51ce6 CY8CKIT_062_WIFI_BT: disable bootloader support
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal 5811228b29 CY8CPROTO_062_4343W: disable bootloader support
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal 052090b9ae CY8CPROTO_063_BLE: disable bootloader support
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal 4eb95c47a5 CYW9P62S1_43438EVB_01: disable bootloader support
device_name missing
2019-12-11 10:45:56 +00:00
Martin Kojtal 83b5f72553 DISCO_L4R9I: disable bootloader
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal e5b75abe84 GR_LYCHEE: disable bootloader support
An error to be fixed:
tools.config.ConfigException: Missing a memory that is read, write in CMSIS Pack data
2019-12-11 10:45:56 +00:00
Martin Kojtal 00d1621883 NUCLEO_WB55RG: disable bootloader support
device_name is missing
2019-12-11 10:45:56 +00:00
Martin Kojtal 75036dc84b RZ_A1H: bootloader support disable
Until the error is fixed:
    "start not found in targets.json.".format(active_memory)
2019-12-11 10:45:56 +00:00
Martin Kojtal 5a4ec26d20 TB_SENSE_1: fix bootloader, not supported, ROM regions here 2019-12-11 10:45:56 +00:00
Martin Kojtal 599359ba02 UNO_91: disable bootloader support as device name missing
The config failes with an exception that was previously ignored.
2019-12-11 10:45:56 +00:00
Martin Kojtal f2f76ebdcc tools: regions only if bootloader is supported
We removed catching and passing, we want to know for any misconfiguration if bootloader
is supported. Regions should check if bootloader is supported. In case not, just return.
Otherwise we catch any error.

This should help us to uncover missing regions or other config error (in case bootloader
is enabled via bootloader_supported set to true).
2019-12-11 10:45:56 +00:00
Jammu Kekkonen df2597901a Remove hiding of config errors related to RAM and ROM regions handling.
Currently any misconfiguration of, for example, bootloader feature will cause the
build system to just silently drop it and continue building which can lead to
completed builds of something the user didn't want to build in worst case and
failing builds after compilation (=wasted time) in the best.
2019-12-11 10:45:56 +00:00
Przemyslaw Stekiel 66fbe32c66 Add static pinmap support: SDBlockDevice, kvstore, system storage
This is done in order to enable static pin-map for Mbed Cloud Client Example. This should give extra ROM savings, ~1KB.
2019-12-11 10:45:56 +00:00
Przemyslaw Stekiel 9ee8666f55 Remove serial flow control functions from image if flow control is not used 2019-12-11 10:45:56 +00:00
Przemyslaw Stekiel 976a1039e8 static pin-map - patch for SerialBase class
Related PR:

https://github.com/ARMmbed/mbed-os/pull/10924

The above PR adds functions to disable/enable serial input/output. If both serial input and serial output are disabled, the peripheral is freed. If either serial input or serial output is re-enabled, the peripheral is reinitialized.

I missed this change while working on the static pinmap and unfortunately it has an impact on it. The reinitialization is a problem for static pinmap. Now the HAL init()/init_direct() function is called not only in the constructor (but also when re-enabling the peripheral). In the current version, even if static pinmap constructor was used to create an object (and init_direct() HAL API), when reinitialization is done it uses init() HAL API. This must be split.

If static pinmap constructor is used, then the peripheral must be always initialized using HAL init_direct() function. If regular the constructor is used, then the peripheral must be initialized using HAL init() function. The same split also must be done while setting flow control during reinitialization.
2019-12-11 10:45:56 +00:00
Chun-Chieh Li 18c39983f7 NANO130: Decrease heap to 2.75KiB to spare SRAM for static allocation
This adjustment is to pass compile on IAR on which heap configuration is hard-coded and cannot be adjusted according to staic SRAM usage.
2019-12-11 10:45:56 +00:00
Chun-Chieh Li 829efa291c NANO130: Fix OOM with packing algorithm at IAR linking
At IAR linking, the default method of 'initialize by copy' is 'auto', which will estimate
different packing algorithms, including complex 'lz77', for smallest memory footprint. But
the algorithm itself can consume some SRAM and cause OOM at linking time for NANO130, which
just has 16KiB SRAM. To avoid this error, always choose 'none' packing algorithm.
2019-12-11 10:45:56 +00:00
Evelyne Donnaes 3845fca63f Enable bare metal greentea tests on NRF52840_DK 2019-12-11 10:45:56 +00:00
midd cd9706df54 Remove extra resource file left over from the renaming from TARGET_WHD to COMPONENT_WHD 2019-12-11 10:45:56 +00:00
midd f98deef276 Update WiFi Host Driver to 1.7.0 - Fixes issues with stopping AP in APSTA mode 2019-12-11 10:45:56 +00:00
Kevin Bracey 0af4ac6484 Avoid crashes during fault handler
If the fault handler was hit before the stdio console was used and
initialised, the initialisation code caused a "mutex in ISR" trap,
stopping the register dump from happening.

Temporarily set the `error_in_progress` flag at the top of the fault
handler, and restore it before calling `mbed_error`. Take the
opportunity to suppress fault dumps on recursive crashes, much as is
done inside `mbed_error`.
2019-12-11 10:45:56 +00:00
hamza-ubx 21bb09262b Fixed Alignment 2019-12-11 10:45:56 +00:00
Hamza Rizwan aec9ed2be5 Fixes for Network WiFi Test Crashes 2019-12-11 10:45:56 +00:00
Qinghao Shi dafa66b2a3 FIX: fix a bug introduced by static pinmap 2019-12-11 10:45:56 +00:00
Qinghao Shi 88472095e6 TESTS: move include trace to test headers 2019-12-11 10:45:56 +00:00
Qinghao Shi c30f2616c3 TESTS: remove include missing header 2019-12-11 10:45:56 +00:00
adbridge b14f495aa2 "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-12-02 16:02:34 +00:00
adbridge 0a2e197067 "Update secure binaries for LPC55S69_S (ARMC6)" 2019-12-02 15:55:19 +00:00
adbridge d1c7208356 Update Mbed version block 2019-11-29 15:22:10 +00:00
Martin Kojtal 24c6c4cab5
Merge pull request #11935 from AriParkkila/cell-depr-device
Cellular: Mark to be deprecated in CellularDevice
2019-11-29 15:45:35 +01:00
Ari Parkkila 088140e04b Cellular: Mark CellularDevice::stop deprecated 2019-11-29 04:24:56 -08:00
Martin Kojtal f2d211b7c2
Merge pull request #11978 from hugueskamba/hk-fix-lpc55s69_ns-baremetal-compilation
LPC55S69_NS: Fix baremetal compilation error
2019-11-29 13:05:13 +01:00
Martin Kojtal 7177d8fefe
Merge pull request #11950 from ABOSTM/DISCO_H747I_TICKLESS
DISCO_H747I: add support of MBED_TICKLESS
2019-11-29 09:48:09 +01:00
Martin Kojtal 9f34b255be
Merge pull request #11958 from mikaleppanen/ws_rf_ch_conf
Add support for Wi-SUN RF channel configuration
2019-11-29 09:47:05 +01:00
Martin Kojtal a656f51d07
Merge pull request #11963 from jeromecoutant/PR_USB_L4
STM32 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2019-11-29 09:45:44 +01:00
Martin Kojtal b4a885d8b8
Merge pull request #11966 from hugueskamba/hk-remove-json-duplicate-keys
Fix targets.json syntax errors
2019-11-29 09:45:31 +01:00
Martin Kojtal 733f5e25c8
Merge pull request #11971 from ARMmbed/IOTSTOR-951
TDBStore: Unlock the master mutex even after garbage_collect()
2019-11-29 09:45:22 +01:00
Martin Kojtal 0b1210835e
Merge pull request #11979 from evedon/ed-baremetal-fixes
Bare metal greentea tests compilation fixes
2019-11-29 09:06:10 +01:00
Hugues Kamba 20f41a0540 LPC55S69_NS: Fix baremetal compilation error
As the `psa` library is not included in the baremetal profile, perform
a TFM system reset only if the `psa` library is included in
the build otherwise perform a normal CMSIS system reset.
2019-11-28 14:53:31 +00:00
Martin Kojtal d58e9d6e76
Merge pull request #11959 from hugueskamba/hk-fix-minimal-console
Minimal Console: Fix compilation error
2019-11-28 15:47:20 +01:00
Martin Kojtal aa168594a7
Merge pull request #11892 from mprse/feature-hal-spec-explicit-pinmap
Bring static pinmap extension to master
2019-11-28 15:46:38 +01:00