Commit Graph

30311 Commits (dd209da675d446c0971fe921c6da707535e237cc)

Author SHA1 Message Date
Dustin Crossman 05776d6f88 Update COMPONENT_SCL. 2020-03-09 10:07:12 -07:00
Dustin Crossman 6b6db89434 Improve documentation. 2020-03-09 10:07:12 -07:00
Dustin Crossman 0fe5efc4a4 Added checks for configuration parameters 2020-03-09 10:07:12 -07:00
Dustin Crossman 63e546f2c0 Remove MBED_TICKLESS from CYSBSYSKIT_01. 2020-03-09 10:07:12 -07:00
Dustin Crossman 25a4caf3ed Formatted json for cysbsyskit_01. 2020-03-09 10:07:12 -07:00
Dustin Crossman 3f1afb8d91 Add CYSBSYSKIT_01 to qspi test flash configs. 2020-03-09 10:07:12 -07:00
Dustin Crossman 792dfb51d5 Add forced reset timeout to CYSBSYSKIT_01 target. 2020-03-09 10:07:12 -07:00
Dustin Crossman 60169e92f4 Defined default config options. 2020-03-09 10:07:12 -07:00
Dustin Crossman e754510cce Add COMPONENT_SCL. 2020-03-09 10:07:11 -07:00
Dustin Crossman 89549e7bc9 Add CYSBSYSKIT_01 target. 2020-03-09 10:07:11 -07:00
Dustin Crossman 684d6dab4c Add CYSBSYSKIT_01 bsp. 2020-03-09 10:07:11 -07:00
Rajkumar Kanagaraj 8ae2ab404a Remove RtosTimer deprecated class and its APIs 2020-03-09 09:52:29 -07:00
Martin Kojtal fe85cbd903
Merge pull request #12595 from DavidLin1577/patch-9
Fixed typo 'timout'
2020-03-09 16:42:58 +00:00
Martin Kojtal 0692fc65bc
Merge pull request #12567 from jeromecoutant/PR_EMAC_TRACE
STM32 EMAC : increase thread size when mbed-trace is enabled
2020-03-09 15:01:20 +00:00
Martin Kojtal 749ce588cb
Merge pull request #12596 from rajkan01/mutex_remove_deprecated
Remove Mutex deprecated API
2020-03-09 14:54:25 +00:00
Tymoteusz Bloch 7b9170541a KV storage. Root of trust fix to pass Greentea tests for CY8CPROTO_062_4343W. 2020-03-09 13:53:28 +01:00
Kimmo Vaisanen 164a2cab4d Cellular: Add ALT1250 PPP cellular target
Co-authored-by: Mirela Chirica <mirela.chirica@arm.com>
Co-authored-by: Antti Kauppila <antti.kauppila@arm.com>
2020-03-09 14:47:52 +02:00
Martin Kojtal e71ab0d0f0
Merge pull request #12590 from devran01/importer-remove-license-file
Importer script: remove apache-2.0.txt
2020-03-09 09:01:04 +00:00
Martin Kojtal 3710584bff
Merge pull request #12540 from JojoS62/fix-lto-unknown-messages
fix for suppress 'unknown object name' messages from memap.py
2020-03-09 08:28:44 +00:00
Martin Kojtal 9d3b768635
Merge pull request #12583 from jeromecoutant/PR_BAREMETAL
STM32F7: baremetal profile support
2020-03-09 08:22:54 +00:00
Martin Kojtal c17f32f04e
Merge pull request #12507 from variablo87/cellular-context-semaphore-release
Cellular: release _semaphore only once
2020-03-09 07:14:47 +00:00
Rajkumar Kanagaraj 3674bd1842 Remove Mutex deprecated API 2020-03-06 09:39:30 -08:00
Simon Butcher 19b208f211 Update the contribution guidelines for Mbed TLS
This commit changes the contribution guidelines to refer the user to the
contribution guidelines in the Mbed TLS repo. It also removes the outdated references to the
CLA, and CLA not being required for trivial changes.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
2020-03-06 17:32:17 +00:00
Evelyne Donnaes 74884bb7a7 Fixed more greentea tests 2020-03-06 15:02:26 +00:00
David Lin 4a4c50fa4f
Fixed typo 'timout'
timout -> timeout
2020-03-06 22:04:12 +08:00
Anna Bridge 1f2e66dd49
Merge pull request #12560 from Patater/import-mbedcrypto-3.0.1
crypto: Update to Mbed Crypto 3.0.1
2020-03-06 13:57:57 +00:00
Anna Bridge 5aab4c4f11
Merge pull request #12524 from VeijoPesonen/sfdp_split_4
Bugfix: Concurrent SFDP header address init fixed
2020-03-06 13:57:07 +00:00
Devaraj Ranganna 4773a219b8 tls: Remove apache-2.0.txt from importer script
Both Mbed TLS and Mbed Crypto libraries doesn't contain
`apache-2.0.txt` anymore. Do not access those files in the importer
script.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-03-06 11:26:45 +00:00
Martin Kojtal ea3761f38d
Merge pull request #12531 from dustin-crossman/pr/flashiap_fix
Add check so that FlashIAP does not allocate memory on flash_init failure
2020-03-05 15:36:57 +00:00
jeromecoutant 1fa78eb5a8 STM32F7: add ARM_LIB_HEAP definition in ARM linker scripts 2020-03-05 16:35:40 +01:00
jeromecoutant 0871db277b STM32F7: allow multiple SetSysClock call 2020-03-05 16:34:56 +01:00
Kevin Bracey 4759e9d667 Remove unnecessary friends of NetworkInterface 2020-03-05 16:45:36 +02:00
Kevin Bracey 0cf1fd7811 Remove unnecessary NetworkStack casts 2020-03-05 16:45:36 +02:00
Kevin Bracey 70a6701006 Improve nsapi_create_stack
Use tag dispatch to better handle both NetworkInterface and NetworkStack
pointers.

The previous design was intended to avoid ambiguities when presented
with a scenario like

    class MyDevice : public NetworkInterface, public NetworkStack {
    };

    TCPSocket(&MyDevice);
    // Need NetworkStack *: use NetworkInterface::get_stack or
    // cast to NetworkStack?

But the previous solution didn't actually work as intended. The overload
pair

    nsapi_create_stack(NetworkStack *);
    // versus
    template <class IF>
    nsapi_create_stack(IF *);

would only select the first form if passed an exact match -
`NetworkStack *`. If passed a derived class pointer, like `MyDevice *`,
it would select the template.

This meant that an ambiguity for MyDevice was at least avoided, but
in the wrong direction, potentially increasing code size.

But in other cases, the system just didn't work at all - you couldn't
pass a `MyStack *` pointer, unless you cast it to `NetworkStack *`.
Quite a few bits of test code do this.

Add a small bit of tag dispatch to prioritise the cast whenever the
supplied pointer is convertible to `NetworkStack *`.
2020-03-05 16:45:36 +02:00
Kevin Bracey 489525c191 C++11-ify NonCopyable
Define copy operators public and deleted rather declaring them private
and undefined. Will give immediate compilation errors rather than
delayed linking errors.
2020-03-05 15:45:39 +02:00
Arun S 19cbfd7c15 Reverting #12312 as it breaking current WiFI
connect()->Disconnect() sequence

This reverts commit 18285e1fc1
2020-03-05 16:44:59 +05:30
Philipp Steiner 3dcd279fa1 correct comment 2020-03-05 09:13:55 +01:00
Philipp Steiner e3917e495a set mbed_set_error_hook() to deprecated 2020-03-05 08:49:17 +01:00
Martin Kojtal aa6fd58804
Merge pull request #12558 from jarlamsa/differing_eusize
Fix issue when TDBStore has varying erase sizes between areas.
2020-03-04 13:25:51 +00:00
Martin Kojtal 22f3bc4ae7
Merge pull request #12436 from mprse/fpga_remove_gpio_pinmaps
Remove GPIO pin-maps used for FPGA testing
2020-03-04 13:24:05 +00:00
Martin Kojtal 9ec6f5d8fa
Merge pull request #12536 from DavidLin1577/patch-7
Fixed typo 'thead' in thread_neighbor_class.h
2020-03-04 13:23:26 +00:00
Martin Kojtal 0542b40f36
Merge pull request #12537 from DavidLin1577/patch-8
Minor optimization to improve readability of code
2020-03-04 13:23:08 +00:00
Kevin Bracey 6f45e969b0 SocketStats: tighten up
* Avoid undefined behaviour when copying/clearing `mbed_stats_socket_t`.
  As it contains a `SocketAddress`, memset and memcpy should not be used.
* Avoid array overrun when `mbed_stats_socket_get_each` is passed a
  count greater than `nsapi.socket-stats-max-count`.
* Remove `const` from internal `stats_new_socket_entry` method to avoid
  const-losing cast.
2020-03-04 14:54:17 +02:00
Kevin Bracey eb10cc18c5 Optimise SocketStats
* Remove unnecessary virtual destructor.
* Use inline empty functions when disabled.
* Remove pointless `const`s from declarations.
2020-03-04 14:54:17 +02:00
Philipp Steiner 17e8b9c756 Remove mbed_set_error_hook and replace with weak mbed_error_hook implementation 2020-03-04 12:21:22 +01:00
Martin Kojtal ba9496451a
Merge pull request #12554 from rajkan01/fliesys_remove_deprecated
Remove FileSystemLike deprecated APIs
2020-03-04 08:23:02 +00:00
Martin Kojtal b4034dc547
Merge pull request #12551 from rajkan01/mpm_remove_deprecated
Remove mbed power management deprecated API
2020-03-04 08:22:52 +00:00
Martin Kojtal b611de8b6b
Merge pull request #12550 from rajkan01/mbedint_remove_deprecated
Remove mbed interface deprecated API
2020-03-04 08:22:27 +00:00
Martin Kojtal 40fb45e4da
Merge pull request #12549 from rajkan01/fh_remove_deprecated
Remove FileHandle deprecated APIs
2020-03-04 08:21:52 +00:00
Martin Kojtal 6137c98d6a
Merge pull request #12543 from kivaisan/remove_deprecated_connect
TLSSocket: Remove deprecated connect
2020-03-04 08:20:23 +00:00