Commit Graph

27940 Commits (a387985c7cf6013a8cabf173f9881c6effebcde9)

Author SHA1 Message Date
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
Martin Kojtal 94ac6b9fbb
Merge pull request #12033 from mprse/static_pinmap_serial_fix
static pin-map: patch for SerialBase class
2019-12-10 14:18:57 +01:00
Przemyslaw Stekiel ee5953ad74 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-10 12:26:23 +01:00
Michal Paszta fd46af67c6 Modify nsapi_dns tests to be module tests
The nsapi_dns tests were cross-class tests anyway, going through nsapi_dns and UDPSocket. Now they also include EthernetInterface and only mock the NetworkStack, which makes them the most cross-class module test we could think of in netsocket module.
2019-12-10 11:05:25 +02:00
Martin Kojtal b7c3b35d65
Merge pull request #12043 from petroborys/master
Modify itm_api.c for EFM32 targets
2019-12-10 09:48:46 +01:00
Martin Kojtal 09a2db0184
Merge pull request #12044 from shuopeng-deng/pr/cypress-fs-integration-test
increamed qspi size for cypress integration fs tests
2019-12-10 09:48:26 +01:00
Martin Kojtal 77b1ee51ef
Merge pull request #12050 from SeppoTakalo/IOTSTOR-992
Fix TDBStore sizes for SecureStore tests
2019-12-10 09:47:12 +01:00
Martin Kojtal 9151ac9d80
Merge pull request #12013 from kivaisan/udp_echotest_connect_send_recv
Add UDP ECHOTEST with connect/send/recv calls
2019-12-10 09:45:42 +01:00
Martin Kojtal 6409efd882
Merge pull request #12051 from AnttiKauppila/unittest_config_improvement
Unittest configuration mechanism improved
2019-12-10 09:45:27 +01:00
cyliangtw 42103f089d Correct the definition of M487/NUC472 EMAC NU_ETH_MAX_FLEN & PACKET_BUFFER_SIZE 2019-12-10 10:40:03 +08:00
Chun-Chieh Li f90b6c9cb0 NANO130: Support dynamic heap configuration on IAR
On IAR, configure heap to 1KiB at a minimum and expandable, dependent on available SRAM. This requires IAR 8.x.
2019-12-10 10:00:05 +08:00
Martin Kojtal 66eb594f17
Merge pull request #12047 from OpenNuvoton/nuvoton_nano130_fix_iar
NANO130: Fix OOM with packing algorithm at IAR linking
2019-12-09 17:11:33 +01:00