Commit Graph

27951 Commits (b8045fb29b3976549f5aa4c4d1e7abbffa170da6)

Author SHA1 Message Date
Kimmo Vaisanen 5d5b8656da Update offloaded TLSSocket to TLSSocket design 2019-12-12 12:29:55 +02:00
Hugues Kamba 7b845409a0 UnbufferedSerial: Introduce the class to replace RawSerial
* Deprecate RawSerial.
* Introduce UnbufferedSerial to provide unbuffered I/O by implementing
  with a FileHandle interface for I/O	streams.
* Add Greentea test for the UnbufferedSerial class.
2019-12-12 08:44:09 +00:00
Ari Parkkila 483c557f9b Cellular: Fix AT command for COPS manual network selection 2019-12-12 00:31:43 -08:00
Antti Kauppila d5fdcfdab8 busy s... fix (ONME-4352)
oob handling added for OK in busy scenario

Fixed spellcheck error

trace added for ok
2019-12-12 09:36:34 +02:00
Michal Paszta c2856ef710 Remove deprecated string-based get_ip_address_if 2019-12-12 09:22:32 +02:00
Michal Paszta 92e237414e Modify multihoming tests to use get_ip_address_if 2019-12-12 09:20:33 +02:00
Michal Paszta d5d04ebb90 Move get_ip_address_if to the right class
get_ip_address_if was wrongly added to OnboardNetworkStack::Interface, while it should in fact be placed directly in OnboardNetworkStack.
2019-12-12 09:20:27 +02:00
Alexandre Bourdiol 9e3ad13d5e TARGET_STM: fix flash api 64bit address alignment on L4 and WB 2019-12-11 18:32:42 +01:00
Tymoteusz Bloch 0859ff7b79 Netsocket tests timeouts and JSON and TLS configuration adjusted to pass under mesh Wisun.
Netsocket timeouts increased due to long node join on current Wisun implementation.
2019-12-11 17:42:29 +01:00
Vikas Katariya 4a84e14634 PSA setup template changes.
Ideally, there is nothing wrong, but it seems to produce AStyle
error when release script runs for PSA Auto-generated files.
Therefore removed the spaces from the problematic line.

Fixes #12084

Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-12-11 15:45:47 +00:00
Martin Kojtal 8c673ba597
Merge pull request #12071 from hugueskamba/hk_minimal_console_static_pinmap
Minimal Console: Use static pin map
2019-12-11 14:28:51 +01:00
Martin Kojtal 095e8836d7
Merge pull request #12078 from AriParkkila/cell-ppp-ip
Cellular: Add PPP/IP config flags in CellularInterface.json
2019-12-11 14:24:20 +01:00
Martin Kojtal 5c8d46f4e9
Merge pull request #12022 from anttiylitokola/master
Make ESP8266 compatible with bare metal profile
2019-12-11 14:23:46 +01:00
Rajkumar Kanagaraj f6a7f6587a Fixing the Mbed OS crash reporting and enable green tea test for bare metal.
Added missing mbed_error_initialize function call in bare metal boot code which is used
to retrieve the crash report from RAM in case of any previous abnormal re-boot but this function call is present in RTOS boot code.
2019-12-11 04:28:42 -08:00
Martin Kojtal 8fd8ea2fed
Merge pull request #12080 from AnttiKauppila/ut_cleanup
Unittest cleanup made
2019-12-11 13:00:12 +01:00
Antti Kauppila 40fcdb731b Unittest cleanup made
CellularDevice still had the old way of defining built time defines and is now removed.
Other unittests needed some minor fixes after this.
2019-12-11 12:05:02 +02:00
Martin Kojtal 1d5bd750b9
Merge pull request #12061 from OpenNuvoton/nuvoton_nano130_iar_dynamic_heap
NANO130: Support dynamic heap configuration on IAR
2019-12-11 10:46:28 +01:00
Antti Kauppila 11b1df00b8 Coverity fix for mbed-client-cli
- uint64_t cast added to avoid overflow
2019-12-11 09:32:02 +02:00
Antti Kauppila c42426a889 Coverity fixes for UBlox
- Unneeded class variables refactored away
- Init function refactored to remove duplicate code
2019-12-11 09:26:41 +02:00
Antti Kauppila 35c2b60800 Coverity fix for ATHAndler
Unneeded NULL check removed
2019-12-11 09:25:29 +02:00
Martin Kojtal a996ea27f7
Merge pull request #12057 from OpenNuvoton/nuvoton_emac_max_recv
NUC472/M487: Limit EMAC receive frame length as 1518
2019-12-11 08:12:02 +01:00
Martin Kojtal f2701463ae
Merge pull request #12052 from yarbcy/pr/fix-for-arm-issue-11860
fpga tests: clear uart fix

Fixes  #11860 (correction from the commit msg)
2019-12-11 08:05:53 +01:00
Martin Kojtal 06da49984f
Merge pull request #12069 from jeromecoutant/PR_ASTYLE
STM32: astyle update
2019-12-11 08:01:19 +01:00
Ari Parkkila 95d15fe69a Cellular: Add PPP/IP config flags in CellularInterface.json 2019-12-10 22:39:21 -08:00
Anna Bridge 0c227a0756
Merge pull request #12059 from 0xc0170/JammuKekkonen-remove_hiding_config_errors
Config: fix bootloader config errors - propagate errors
2019-12-10 18:33:59 +00:00
Martin Kojtal 76ae27e762
Merge pull request #12073 from AnttiKauppila/UT_fixed
cellular: unittests fix after PRs 12051 and 11996
2019-12-10 17:52:35 +01:00
Antti Kauppila bda2d37bda Unittests fixed
PRs 12051 and 11996 were merged simultaneously without running tests in between.
This caused unittests to brake and those are fixed with this commit.
2019-12-10 18:02:14 +02:00
Hugues Kamba 431f6cb604 Minimal Console: Use static pin map 2019-12-10 15:32:15 +00:00
jeromecoutant 9317bea756 STM32 GPIO INIT in critical section
critical section added in gpio_irq init and free functions
to protect shared code structures

Note that other functions are protected in API level in InterruptIn
2019-12-10 15:59:56 +01:00
Martin Kojtal 22ab94a1c9 TARGET_STM32F74: fix IAR SIZE check in linker scripts 2019-12-10 14:09:38 +00:00
Martin Kojtal e27f456a29 STM32F756xG: fix IAR RAM size check 2019-12-10 14:09:37 +00:00
Martin Kojtal 76af152fe1 UNO_91H: remove sectors, bootloader was disabled
This should be reverted once bootloader is supported.
2019-12-10 14:09:37 +00:00
Martin Kojtal 5165275d6d CY8CKIT_062_BLE: disable bootloader support
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal 08b2c583df CY8CKIT_062_WIFI_BT: disable bootloader support
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal eb5ee71e67 CY8CPROTO_062_4343W: disable bootloader support
device_name is missing
2019-12-10 14:09:35 +00:00
Martin Kojtal 054e806feb CY8CPROTO_063_BLE: disable bootloader support
device_name is missing
2019-12-10 14:09:34 +00:00
Martin Kojtal 6ec7534e87 CYW9P62S1_43438EVB_01: disable bootloader support
device_name missing
2019-12-10 14:09:34 +00:00
Martin Kojtal 8d4a1668c9 DISCO_L4R9I: disable bootloader
device_name is missing
2019-12-10 14:09:33 +00:00
Martin Kojtal 2a16200a60 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-10 14:09:33 +00:00
Martin Kojtal b0224ecb8a NUCLEO_WB55RG: disable bootloader support
device_name is missing
2019-12-10 14:09:32 +00:00
Martin Kojtal 1c76b7efff RZ_A1H: bootloader support disable
Until the error is fixed:
    "start not found in targets.json.".format(active_memory)
2019-12-10 14:09:32 +00:00
Martin Kojtal 00c375b1c0 TB_SENSE_1: fix bootloader, not supported, ROM regions here 2019-12-10 14:09:31 +00:00
Martin Kojtal ee2caf0716 UNO_91: disable bootloader support as device name missing
The config failes with an exception that was previously ignored.
2019-12-10 14:09:31 +00:00
Martin Kojtal d7e0012bc7 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-10 14:09:29 +00:00
Jammu Kekkonen 5ec7a0b625 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-10 14:09:28 +00:00
Martin Kojtal f10e4ac04b
Merge pull request #11996 from ARMmbed/feature-cellular
Feature cellular
2019-12-10 14:54:57 +01:00
jeromecoutant bea83d02c2 STM32 TARGET_STM astyle corrections 2019-12-10 14:39:47 +01:00
jeromecoutant 54aa300a3c STM32 EMAC astyle corrections 2019-12-10 14:39:47 +01:00
jeromecoutant 3903cb4c97 STM32 MBEDTLS astyle corrections 2019-12-10 14:39:46 +01:00
Martin Kojtal f2a1804d51
Merge pull request #12058 from mprse/static_pinmap_for_cloud_client
Add static pin-map support: SDBlockDevice, kvstore, system storage (reduce ROM used by Mbed Cloud Client example)
2019-12-10 14:19:18 +01:00