Commit Graph

27684 Commits (92a60c3d80d8061438f9463b7ea47c919c2acb02)

Author SHA1 Message Date
yarb 088da17146 Cypress: Minor fix for mbed astyle 2019-11-26 13:20:35 +02:00
Martin Kojtal e4b3603fe4
Merge pull request #11936 from kivaisan/cancel_timedout_async_dns_query
DNS tests: Cancel asynchronous dns query if it times out
2019-11-26 11:47:33 +01:00
Martin Kojtal 2b2ec252c1
Merge pull request #11886 from kyle-cypress/pr/proto-062s3-4343w
Add target for CY8CPROTO-062S3-4343W
2019-11-26 11:17:05 +01:00
Kevin Bracey 5342f0fa00 Tools: check for GCC 9, rather than 6
Planning to update to supporting GCC 9 as found in GNU Tools for Arm
Embedded Processors 9-2019q4-major.

Newer GCC in particular supports ARMv8-M security extensions, and
link-time optimisation - two areas of interest.

Should be no code changes required, but need to change the warning in
the toolchain script.
2019-11-26 11:52:47 +02:00
MarceloSalazar a542e02085 Split integration tests in fs/net 2019-11-26 09:51:39 +00:00
Ari Parkkila adba109de6 Cellular: Replace CellularSocket.rx_avail with pending_bytes
CellularSocket::rx_avail can be refactored away as
it is a duplicate to CellularSocket::pending_bytes.
2019-11-25 21:49:17 -08:00
Kyle Kearney c736afa3b0 Fix missing #include in wiced_resource.h
The `CY_PRAGMA` macro is used in certain build scenarios with IAR,
but it is not defined without including "cy_syslib.h"
2019-11-25 12:09:36 -08:00
Kyle Kearney ac8a8a6079 Add target for CY8CPROTO-062S3-4343W 2019-11-25 11:41:39 -08:00
Martin Kojtal a169edfdec
Merge pull request #11887 from kyle-cypress/pr/target-p62s1-43438
Add target for CYW9P62S1_43438EVB_01
2019-11-25 18:32:48 +01:00
Martin Kojtal 860f18b59b
Merge pull request #11819 from tymoteuszblochmobica/timeouts
Add code to verify if external Wifi module is still responsible
2019-11-25 15:57:53 +01:00
Laurent Meunier f20529f9e6 STM32: Update and align serial_clear implementations
Clear RXNE flag by reading the RX register and align this implementation
on all families.
2019-11-25 14:55:32 +01:00
Graham Hammond c223ac99b3 Remove unnecessary change found during over shoulder review 2019-11-25 13:43:58 +00:00
Martin Kojtal 7fbe0c6b41
Merge pull request #11928 from SeppoTakalo/assert_throw
Allow MBED_ASSERT to throw errors in unittests, so we can verify it.
2019-11-25 13:11:41 +01:00
Martin Kojtal b110a149db
Merge pull request #11926 from rajkan01/feature-bare-metal-filehandle
Fixed greentea FileHandle test for microlib
2019-11-25 13:00:35 +01:00
Martin Kojtal 59bc33cf3d
Merge pull request #11901 from morser499/pr/cyw9p62s1_43012evb_01
Update MPN for CYW9P62S1_43012EVB_01 board
2019-11-25 12:51:23 +01:00
Antti Kauppila 353782bf63 Disable SMS by default from Cellular stack
Put SMS behind configuration flag to save some memory (4,5kB) for Cellular users not needing SMS features.
UBlox N2XX target is also updated
2019-11-25 11:38:06 +02:00
Kimmo Vaisanen 896bc4432b DNS tests: Cancel asynchronous dns query if it times out
In this test case if asynchronous DNS request results does not happen
in requested time, the request must be cancelled to ensure it does not
happen later on when test has exited already.

We've seen couple of crashes in CI tests which indicate this kind of behaviour
but this is very difficult to reproduce.
2019-11-25 10:07:46 +02:00
Martin Kojtal 1a2ecebc62
Merge pull request #11881 from hugueskamba/hk-UBLOX_EVK_ODIN_W2-enable-baremetal
UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
2019-11-25 08:40:33 +01:00
Martin Kojtal e03180d13d
Merge pull request #11865 from maciejbocianski/iar_lto
IAR: Enable linker optimizations for develop/release profile
2019-11-23 18:47:59 +01:00
Martin Kojtal 6b7720d971
Merge pull request #11884 from morser499/pr/target-update
Update Cypress targets
2019-11-23 18:46:07 +01:00
Martin Kojtal 83fc580f79
Merge pull request #11773 from fkjagodzinski/fix-watchdog_reset_test
Fix watchdog reset test
2019-11-22 22:26:44 +01:00
Martin Kojtal 9ca69cfced
Merge pull request #11925 from rajkan01/feature-gt-bare-metal-minimal-printf
Fixed greentea minimal-printf test for microlib
2019-11-22 22:23:55 +01:00
Martin Kojtal 959f410246
Merge pull request #11930 from JanneKiiskila/L4R5ZI-flashiap
Add FlashIAP to NUCLEO_L4R5ZI
2019-11-22 22:23:42 +01:00
Ryan Morse 1ac71356c5 Fixed Arduino form factor support on 2 Cypress boards 2019-11-22 08:41:53 -08:00
Kyle Kearney 1a0925e5dc Add missing arduino form factor to CYW9P62S1-43438EVB-01 2019-11-22 08:30:40 -08:00
RAJKUMAR KANAGARAJ 93f3db2c3d Incorporated review comment 2019-11-22 07:38:44 -08:00
RAJKUMAR KANAGARAJ ada250c7d6 Fixed greentea FileHandle test for microlib.
As per "Difference between microlib and the default c library" from "http://arminfo.emea.arm.com/help/index.jsp?topic=/com.arm.doc.100073_0612_00_en/chr1358938938431.html" Microlib is not supported feof() and ferror() functions so modified all the test cases to pass without using feof() and ferror().
2019-11-22 07:38:44 -08:00
Janne Kiiskila cfbbc6944a Add FlashIAP to NUCLEO_L4R5ZI
It is supported and we need it.
2019-11-22 15:48:30 +02:00
Martin Kojtal eb60e67d92
Merge pull request #11913 from VeijoPesonen/tdbstore_min_size
LPC55S69_NS default TDBStore size increased to 32kB
2019-11-22 14:47:56 +01:00
Martin Kojtal b6edc5b0cc
Merge pull request #11923 from AriParkkila/cell-ppp-wait-connect
Cellular: Fix PPP to wait until connected event from (LWIP) PPP
2019-11-22 14:12:03 +01:00
Martin Kojtal cc120f3cd0
Merge pull request #11870 from jeromecoutant/PR_F7_LINKER
STM32F7: linker scripts updates
2019-11-22 13:50:16 +01:00
Martin Kojtal 04ed9c5c8c
Merge pull request #11851 from amq/patch-2
Enable FAT ChaN lib configuration with mbed_lib.json
2019-11-22 13:38:56 +01:00
RAJKUMAR KANAGARAJ 2fa57d6ba0 Incorporated review comment 2019-11-22 03:42:43 -08:00
Martin Kojtal bd0cbdbad2
Merge pull request #11890 from JarkkoPaso/nanostack_driver_update_for_mbed_os_5.15
S2-LP: sync with development repository
2019-11-22 12:41:27 +01:00
Seppo Takalo 7c579f2da2 Speed up unittests by not limitting Make to spawn more processes 2019-11-22 13:14:15 +02:00
Seppo Takalo c54d76eddf Allow MBED_ASSERT to throw errors in unittests, so we can verify it.
GoogleTest allows you to check whether certain function throws errors.
For example:
ASSERT_ANY_THROW(mbed::HeapBlockDevice one(3050, 100));
or
ASSERT_NO_THROW(bd.init());

As MBED_ERROR is now only function that can throw errors, there is
no need to check the type of thrown object.
2019-11-22 13:10:46 +02:00
Martin Kojtal 38a8c0e28f
Merge pull request #11914 from michalpasztamobica/refactor_string_based_apis
Deprecate string-based APIs in IPCore
2019-11-22 12:00:56 +01:00
RAJKUMAR KANAGARAJ c5b9e867ef Baremetal: Fix ARM-microlib Greentea test compilation minimal-printf test case run for NUCLEO_F411RE 2019-11-22 02:59:20 -08:00
Hugues Kamba 157d126769 UBLOX_EVK_ODIN_W2: Fix baremetal build and greentea tests
Remove lwIP reliant networking and BLE tests for baremetal

Mbed OS 5 ported lwIP in its OS mode and uses threads. Networking
that rely on lwIP needs to be removed so it can be compiled with the
baremetal profile.

The BLE cordio Greentea tests are also disabled given that the feature
is not supported without an RTOS.
2019-11-22 10:55:39 +00:00
Martin Kojtal 55bfb00dcf
Merge pull request #11919 from yarbcy/pr/spi-async-improvement2
Cypress: FPGA: Improve SPI async calls
2019-11-22 10:33:25 +01:00
Michal Paszta fd5b4b9119 Deprecate string-based APIs in IPCore
MBED_DEPRECATE macros is added to string-based APIs.
New, non-string-based APIs are added in their place.
Wiced binaries rebuilt
Any existing stubs or mocks are adjusted to compile and run with the newly added non-string based functions.
2019-11-22 11:31:12 +02:00
Martin Kojtal 4b41a6f164
Merge pull request #11915 from AriParkkila/tests-sendtimeout
TESTS: Fix TCP/TLS send_timeout test to non-blocking
2019-11-22 09:16:11 +01:00
Martin Kojtal 869df2d280
Merge pull request #11889 from JarkkoPaso/nanostack_release_for_mbedos_5_15
Nanostack release for mbedos 5 15
2019-11-22 09:05:45 +01:00
Ari Parkkila 90d7748514 Cellular: Fix PPP to wait until connected event from (LWIP) PPP 2019-11-21 23:14:18 -08:00
Graham Hammond 32a9a8b9f6 Minor fixes 2019-11-21 16:27:19 +00:00
Graham Hammond d2b968142d Updates to *.py in 'tools/' for Python 3 2019-11-21 16:06:59 +00:00
yarb b204acbe3a Cypress: FPGA: Improve SPI async calls
1. Fix for FPGA async test case.
2. Enabled events in proper place
3. Added check in async operation is in progress
2019-11-21 17:22:02 +02:00
Graham Hammond e723571474 Updates to `/tools` for Python 3 compatibility 2019-11-21 15:02:37 +00:00
Martin Kojtal 2bde6581a6
Merge pull request #11720 from mtomczykmobica/ONME-4405
ATCmdParser: merge scanf and recv functions
2019-11-21 15:29:29 +01:00
Martin Kojtal 784b03b8b4
Merge pull request #11877 from cy-arsm/cy-arsm/topic/dualstack-ipv6-linklocal-fix
Fix for sending IPv6 UDP packet over link local interface
2019-11-21 14:27:43 +01:00