Commit Graph

28181 Commits (de7768ce2925a8b94e23d51a2b6a00ca603d92d4)

Author SHA1 Message Date
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
Kimmo Vaisanen c2d72b5e73 Update netsocket test README for connect-send-recv UDP tests 2019-12-09 16:23:07 +02:00
Antti Kauppila 0f861a1e40 APN lookup fix
tools folder had a reference to ppp-cell-iface.apn-lookup which is removed.
This commit removes the reference to non-existing configuration
2019-12-09 15:29:13 +02:00
Antti Kauppila e221ba9bb9 initialisation added for _property_array 2019-12-09 15:25:22 +02:00
Antti Kauppila 1cb3479d7a Fixed unittests 2019-12-09 15:25:22 +02:00
Antti Kauppila 7a87023921 Disabled SMS by default 2019-12-09 15:25:22 +02:00
Antti Kauppila 30ea858f51 Disable APN lookup by default 2019-12-09 15:25:22 +02:00
Antti Kauppila 90d3dc1f13 CellularStack fixed 2019-12-09 15:25:22 +02:00
Antti Kauppila e51230c5e4 Remove CellularBase and AT_CellularBase
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly.

Moved property handling into AT_CellularDevice
2019-12-09 15:25:22 +02:00
Antti Kauppila aac3437a22 Cleaned up athandlertest.cpp 2019-12-09 14:09:42 +02:00
cyliangtw 54d8c40f96 Limit max of NUC472 EMAC recv frame len as 1518 2019-12-09 19:15:23 +08:00
Antti Kauppila d6706d1a5f Unittest configuration mechanism improved
Earlier all unittests ended up having all flags in common from all unittest targets.
This is now improved by using googletest provided mechanism to set build time compile options
All cmake files have been modified to reflect changes (when needed)

Could not figure out a syntax for {0x00, 0x00, ..., 0x00} intitializer list yet,
so those needs to be setup by updating C/CXX flags.
2019-12-09 13:11:56 +02:00
YARB(Cypress) a79b1b3369 Fix for ARM issue 11859.
1. Clear UART events before enabling
2. Reset device before return from test case
2019-12-09 12:58:47 +02:00