Commit Graph

27904 Commits (cd3bb0d121a549c53c48ab9822efcb4ff57c390c)

Author SHA1 Message Date
Risto Huhtala ca3a848e80 Code review fix. Removing extra spaces 2020-02-05 14:40:24 +00:00
Risto Huhtala 23a23b948b mbed-coap Buffer overflow when paring CoAP message 2020-02-05 14:40:24 +00:00
Shuopeng Deng 440752ff39 fix code review ARs 2020-02-05 14:40:24 +00:00
Shuopeng Deng 4c4f1826bb Removed a hardcoded timeout in CyH4TransportDriver.cpp
Replaced a hardcoded timeout in CyH4TransportDriver.cpp with a cypress
hal function. The cypress PUTC hal API only blocks until data has been
send into the HW buffer, not until all data has been out of the HW
buffer. Modified an API to block untill all tx transmit is complete.
This allows the removal of a hardcoded timeout in
CyH4TransportDriver.cpp that waits for data int the HW buffer to be
sent.
2020-02-05 14:40:24 +00:00
Kevin Bracey 8fb5307af6 Robustify equeue multithread test
Rather than wait 10ms before breaking the other thread, and expecting at
least one event to have been run, wait for one event to be run, then
break.

Should avoid some spurious failures that have been seen.
2020-02-05 14:40:24 +00:00
toyowata ef939df734 Fix runtime crash by ARMC6 build 2020-02-05 14:40:24 +00:00
toyowata 95c3a8107a Fix USTICKER build error for LPC11U35_401 2020-02-05 14:40:24 +00:00
Alexandre Bourdiol 03b31525a2 Targets: adapt NUCLEO_G071RB to CMSIS-pack info update 2020-02-05 14:40:24 +00:00
Janne Kiiskila ce3ab69e5f Update CMSIS-pack info for STM32G-family
Update the CMSIS-pack info to `index.json` in arm_pack_manager -folder.
The update happens via python project.py --update-packs and a modified
version of the cmsis-pack-manager tool, which allows the download of
(most) CMSIS-pack files. The changes for this family ONLY are then updated
to the `index.json` -file.

Mbed OS PR #12093 need this change, as they refer to a target (device_name)
from the updated CMSIS-packs.

Ref: https://github.com/ARMmbed/mbed-os/pull/12093
2020-02-05 14:40:24 +00:00
Alexandre Bourdiol 65d4a93b70 TARGET_STM: add support of board NUCLEO_G071RB 2020-02-05 14:40:24 +00:00
Ari Parkkila 6650600268 Cellular: Fix AT command for COPS manual network selection 2020-02-05 14:40:24 +00:00
Antti Yli-Tokola b87a067434 Make ESP8266 compatible with non rtos build 2020-02-05 14:40:24 +00:00
jeromecoutant e7988b0541 STM EMAC: compilation issue with ARMC5 2020-02-05 14:40:24 +00:00
Anna Bridge 64853b354f
Merge pull request #12119 from ARMmbed/release-candidate
Release candidate for mbed-os-5.15.0-rc3
2019-12-16 22:46:35 +00:00
Przemyslaw Stekiel 034de2f190 storage: fix static pin-map for ARMC5 2019-12-16 16:12:38 +00:00
Graham Hammond d5f51d712b Notify on configuration exception rather than breaking build 2019-12-16 16:12:38 +00:00
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