Stephan Brunner
c6e8ae56db
Use correct return value.
2020-03-23 09:26:30 +01:00
Stephan Brunner
f01bc974ef
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 06:57:50 +01:00
Anna Bridge
ab483c2ead
Merge pull request #12654 from kbarm/feature-remove-cc-arm-macro
...
Removed all references to __CC_ARM
2020-03-20 15:22:03 +00:00
Anna Bridge
1b83d31e07
Merge pull request #12648 from artokin/nanostack_wisun_device_type_config
...
Nanostack: Add config for Wi-SUN device type
2020-03-20 15:20:17 +00:00
Anna Bridge
d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
...
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Krzysztof Borowczyk
a624acd45c
Adjusted SecurityManager Doxygen ASCII art to make it display correctly on mbed.com
2020-03-20 10:20:58 +01:00
Veijo Pesonen
244c2fba5f
tests-filesystem: enable all for QSPIF- OSPIF(future)-devices
...
littlefs is the preferred filesystem for general filesystem tests.
2020-03-19 19:26:16 +02:00
Krzysztof Borowczyk
4465295332
Remove ARMC5 reference from Mbed OS platform (removed all references to __CC_ARM)
2020-03-19 16:00:45 +01:00
Kimmo Vaisanen
4f7d7750e4
Cellular: Make Quectel EC2x modem start up timeout configurable
...
Default timeout also increase from 5sec to 15sec.
2020-03-19 12:31:46 +02:00
Arto Kinnunen
1b171791c3
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-03-19 08:44:37 +02:00
Marcin Tomczyk
6a21dfa080
[Storage] Use internal flash for KVStore always if default configuration. TDB_INTERNAL is always for first choose.
2020-03-18 06:05:52 -07:00
Martin Kojtal
dc21432cc1
Merge pull request #12633 from kivaisan/bg96_use_offload_tlssocket_flags
...
Cellular: Add offload TLSSocket implementation inside feature flag
2020-03-17 12:17:12 +01:00
Vishal Bhargava
4ea64cb6c6
Update hci_tr.c
...
Indent formating
2020-03-17 12:13:07 +05:30
Kimmo Vaisanen
51175eed1f
Cellular: Add offload TLSSocket implementation inside feature flag
...
Reduce binary size (~500 bytes with GCC_ARM and developer profile) when offloaded TLSSocket is not in use.
2020-03-17 08:42:59 +02:00
Vishal Bhargava
5b65d3b119
Update hci_tr.c
...
Handled fragmented packet case also.
2020-03-17 11:57:14 +05:30
Dustin Crossman
89c70fbd9a
Fix licenses in COMPONENT_SCL.
2020-03-16 09:40:34 -07:00
Rajkumar Kanagaraj
a6b78c6429
Remove Semaphore deprecated APIs
2020-03-16 09:37:45 -07:00
Martin Kojtal
2a4e48179d
Merge pull request #12624 from OpenNuvoton/nuvoton_ec2x
...
Cellular: Support EC2x power control pin support no connect
2020-03-16 14:34:58 +00:00
jeromecoutant
488c9db81e
STM32 EMAC : remove TIMEOUT issue when cablke is not plugged yet
2020-03-13 16:58:47 +01:00
Anna Bridge
532654ebb3
Merge pull request #12597 from kivaisan/alt1250_ppp_cellular
...
Cellular: Add ALT1250 PPP cellular target
2020-03-13 11:08:13 +00:00
Chih-Chiang Chang
73b96c1cbc
Support EC2x PWRKEY set as no connect
2020-03-13 13:46:24 +08:00
Kevin Bracey
bb733f1ee8
Callback updates
...
* Optimise clearing by adding `nullptr` overload. This overload means
`Callback(NULL)` or `Callback(0)` will no longer work; users must
use `Callback(nullptr)` or `Callback()`.
* Optimise clearing by not clearing storage - increases code size of
comparison, but that is extremely rare.
* Reduce ROM used by trivial functors - share copy/destroy code.
* Config option to force trivial functors - major ROM saving by
eliminating the "operations" table.
* Config option to eliminate comparison altogether - minor ROM saving by
eliminating zero padding.
* Conform more to `std::function` API.
2020-03-11 15:46:03 +02:00
Anna Bridge
da9f85b6af
Merge pull request #12580 from cy-arsm/cy-arsm/pr/PR_SoftAP_STA_Fix_revert
...
Reverting #12312 as it breaking current WiFI connect()->Disconnect() sequence
2020-03-10 12:50:27 +00:00
Anna Bridge
e307695e82
Merge pull request #12599 from tymoteuszblochmobica/rotfix
...
Greentea kvstorage tests Cypress targets fix.
2020-03-10 12:08:48 +00:00
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
e754510cce
Add COMPONENT_SCL.
2020-03-09 10:07:11 -07: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
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
c17f32f04e
Merge pull request #12507 from variablo87/cellular-context-semaphore-release
...
Cellular: release _semaphore only once
2020-03-09 07:14:47 +00: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
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
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
Kevin Bracey
4759e9d667
Remove unnecessary friends of NetworkInterface
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
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
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
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
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
6137c98d6a
Merge pull request #12543 from kivaisan/remove_deprecated_connect
...
TLSSocket: Remove deprecated connect
2020-03-04 08:20:23 +00:00
jeromecoutant
3a02671028
STM32 EMAC : increase thread size when mbed-trace is enabled
2020-03-04 09:14:41 +01:00
Martin Kojtal
498e2d2bc8
Merge pull request #12499 from u-blox/ubx_cellular
...
Cellular: For ublox modem, read '@' char first then send data.
2020-03-04 07:58:51 +00:00
Martin Kojtal
804d1e613e
Merge pull request #12489 from kjbracey-arm/override_lwip
...
C++11-ify virtualisation in lwIP classes
2020-03-04 07:58:30 +00:00
Martin Kojtal
6677249a08
Merge pull request #12506 from kivaisan/fix_socketaddress_regression
...
Fix 2 string based IP address removal regressions
2020-03-04 07:52:31 +00:00
Martin Kojtal
b3583f04cf
Merge pull request #12464 from jeromecoutant/PR_ETHERNET
...
STM32 EMAC : add configuration choice and connection check
2020-03-03 16:04:18 +00:00
Martin Kojtal
6e6603f97d
Merge pull request #12534 from rajkan01/callchain_remove_deprecated
...
Remove the deprecated CallChain class and its APIs
2020-03-03 14:57:59 +00:00
Martin Kojtal
eaac84be72
Merge pull request #12467 from kjbracey-arm/nsapics
...
Inline nsapi_create_stack(NetworkStack)
2020-03-03 14:13:28 +00:00
Rajkumar Kanagaraj
df32091c7b
Remove the deprecated RawSerial, UARTSerial, Serial class and SerialBase attach API
2020-03-03 05:19:42 -08:00
Jaeden Amero
9ae0868410
crypto: Update to Mbed Crypto 3.0.1
2020-03-03 12:56:07 +00:00
Jarno Lamsa
b34dd0ce89
Remove _variant_bd_erase_unit_size
...
In some cases, it is possible that every erase unit in area 0
has the same size, but they are still different than in area 1.
Remove the flag for varying erase sizes and instead check from
flash, what is the erase size of the current unit.
2020-03-03 13:05:27 +02:00
Kimmo Vaisanen
86dba54202
Fix L3IPInterface to use SocketAddress class for addresses
...
String based ip addresses has been deprecated and SocketAddress must be
used instead.
2020-03-03 12:13:51 +02:00
Kimmo Vaisanen
6e1f7bf1f9
Cellular: Fix trace to use new SocketAddress based get_ip_address
...
String based get_ip_address has been removed and SocketAddress based must be
used.
2020-03-03 12:12:16 +02:00
Kimmo Vaisanen
2987bedb68
TLSSocket: Remove deprecated connect
...
String based connect has been removed but was still defined in TLSSocket header for offloaded variant.
This is a regression fix for 458957d399
2020-03-03 12:08:32 +02:00
Martin Kojtal
f4df4e75ea
Merge pull request #12487 from kjbracey-arm/override_nsapi
...
C++11-ify virtualisation in netsocket
2020-03-03 09:57:57 +00:00
Rajkumar Kanagaraj
35f1b4ab53
Remove mbed power management deprecated API
2020-03-02 15:06:26 -08:00
jeromecoutant
b15dffaef2
STM32 EMAC : add PHY ID information
2020-03-02 16:21:35 +01:00
jeromecoutant
01a186a952
STM32 EMAC : thread size is configurable
2020-03-02 16:21:23 +01:00
jeromecoutant
c3c0928786
STM32 EMAC : enable mbed_trace
2020-03-02 16:21:11 +01:00
jeromecoutant
89a537b9a8
STM32 EMAC : check PHY_BSR value before connect status
2020-03-02 16:20:06 +01:00
jeromecoutant
c3653c6813
STM32 EMAC : check driver function status before returning success
2020-03-02 16:19:58 +01:00
jeromecoutant
1b40076376
STM32 EMAC : more configurable
...
- PHY default configuration can be changed
- AutoNegotiation
- Speed
- DuplexMode
- PHY register offset can be updated depending on chosen PHY
All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
Martin Kojtal
c2c6d251fd
Merge pull request #12521 from kivaisan/remove_include_mbedtls_config
...
Remove explicit include of mbedtls/config.h
2020-03-02 09:34:42 +00:00
David Lin
d5f4b8effb
Fix function spelling mistake in Thread
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:05:18 +08:00
David Lin
922452d8d0
Fix function spelling mistake in border_router.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:00:39 +08:00
David Lin
d76df4c3d0
Fix function spelling mistake in iphc_decompress.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:56:43 +08:00
David Lin
c2e649a4c3
Fix function spelling mistake in lowpan_context.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:53:32 +08:00
David Lin
5a883a2fe2
Fix function spelling mistake in lowpan_context.h
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:50:39 +08:00
David Lin
949bcaa155
Fixed typo 'thead' in thread_neighbor_class.h
...
Note that the word 'thead' is wrong,
so that 'thead' should been replaced with thread'.
2020-02-29 08:44:22 +08:00
Rajkumar Kanagaraj
6e969ec5ab
Remove the deprecated CallChain class and its APIs.
2020-02-28 07:41:44 -08:00
Norbert Hesse
327445a00b
release _semaphore only once
...
see issues #12325
2020-02-28 15:06:55 +01:00
Kevin Bracey
d8d35eda9f
C++11-ify virtualisation in netsocket
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
Reduces code size.
2020-02-28 13:34:18 +02:00
Kevin Bracey
695e872202
Correct NetworkStackWrapper::get_ip_address
...
Previous change that removed string-based APIs missed
`NetworkStackWrapper::get_ip_address`. Remove string-based method (which
is not overriding anything in `NetworkStack`) and add missing binary
form to implement `NetworkStack::get_ip_address`.
2020-02-28 13:29:16 +02:00
Martin Kojtal
0286e3c325
Merge pull request #12525 from rajkan01/ticker_remove_deprecated
...
Remove the deprecated Ticker APIs
2020-02-28 09:52:22 +00:00
Martin Kojtal
9ad292a2a3
Merge pull request #12466 from jeromecoutant/PR_METRIC
...
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-28 08:45:44 +00:00
Martin Kojtal
1bf93039fb
Merge pull request #12457 from artokin/update_stm32_emac_ethernet_driver
...
Update STM32 EMAC driver - limit RX frame length
2020-02-28 08:45:24 +00:00
Martin Kojtal
fc5f3259de
Merge pull request #12458 from GaborAbonyi/add_musca_b1_platform
...
Add Musca B1 target
2020-02-27 13:53:58 +00:00
Rajkumar Kanagaraj
db0bf08e4d
Remove the deprecated Ticker APIs
2020-02-27 03:26:12 -08:00
Martin Kojtal
3739ccda0f
Merge pull request #12488 from kjbracey-arm/override_ns
...
C++11-ify virtualisation in Nanostack classes
2020-02-27 08:52:08 +00:00
Kimmo Vaisanen
29affbccab
Remove explicit include of mbedtls/config.h
...
Including mbedtls/config.h should not be done explicitely. This prevents using MBEDTLS_CONFIG_FILE macro.
Correct config file is automatically included by other mbedtls header files.
2020-02-27 09:45:22 +02:00
mudassar-ublox
2fc95a5421
Read '@' char first then send data
2020-02-27 11:07:56 +05:00
Martin Kojtal
67e950296d
Merge pull request #12385 from tymoteuszblochmobica/rot
...
DeviceKey Root of Trust generation refactored.
2020-02-26 16:59:24 +00:00
Praveen babu chandran
8b97e4c3ef
Add WPA3 support for green tea tests
2020-02-25 10:14:30 -08:00
Martin Kojtal
732692cd77
Merge pull request #12475 from VeijoPesonen/purge_rspif
...
Proposal to remove SPIFReducedBlockDevice
2020-02-25 15:23:23 +00:00
Martin Kojtal
18ad99a883
Merge pull request #12481 from artokin/nanostack_release_for_mbed_os_6
...
Nanostack release for Mbed OS 6
2020-02-25 10:08:59 +00:00
Kevin Bracey
aa9058a293
C++11-ify virtualisation in lwIP classes
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
2020-02-25 10:09:10 +02:00
Kevin Bracey
b4c1f7f3da
Correct LWIP::get_ip_address
...
Previous change that removed string-based APIs missed
`LWIP::get_ip_address`. Remove string-based method (which is not
overriding anything in `NetworkInterface`) and add missing binary form
to implement `NetworkInterface::get_ip_address`.
2020-02-25 09:57:56 +02:00
Martin Kojtal
9205bdf890
Merge pull request #12490 from DavidLin1577/patch-3
...
Fixed error of structure mlme_key_descriptor_t
2020-02-24 15:45:35 +00:00
Veijo Pesonen
b575df072f
Removes RSPIF block device driver
...
The driver is not needed by the bootloader anymore.
2020-02-24 16:01:14 +02:00
Martin Kojtal
3f4e2a6746
Merge pull request #12491 from DavidLin1577/patch-6
...
Fixed error of function 'mac_fcf_lenght'
2020-02-24 12:44:04 +00:00
David Lin
d2d4a87c3d
Fixed error of function 'mac_fcf_lenght'
...
Note that the function 'mac_fcf_lenght' is wrong,
so that 'mac_fcf_lenght' should been replaced with 'mac_fcf_length'.
2020-02-21 23:19:56 +08:00
David Lin
20f6a83f67
Fixed error of structure
...
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:21:00 +08:00
David Lin
cd2d3ce422
Fixed spelling mistake of structure
...
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:15:48 +08:00
Martin Kojtal
17394b98be
Merge pull request #12484 from mtomczykmobica/IOTSTOR-1009
...
TDBStore magic number if endian sensitive fix comment
2020-02-21 13:47:18 +00:00
Tamas Kaman
551c3c553c
Add ARM_MUSCA_B1 as a new target platform
...
Musca-B1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_B1 is the non-secure target running mbed-os.
- ARM_MUSCA_B1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_B1 is submitted by a
pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
Change-Id: I4b36290941b5f0bb7aa7c12dda2f38b5c1e39ae2
Signed-off-by: Tamas Kaman <tamas.kaman@arm.com>
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-21 14:34:39 +01:00
Kevin Bracey
04580b73d8
C++11-ify virtualisation in Nanostack classes
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
Eliminate two unused header files (with no corresponding source files).
Reduces code size.
2020-02-21 15:20:57 +02:00
Kevin Bracey
f40c5616e1
Inline nsapi_create_stack(NetworkStack)
...
The rather fiddly `nsapi_create_stack` template + overloads used during
socket formation don't inline their core, which is the identity operation
for `NetworkStack *` itself. Make code generation easier by having that
core be inline.
2020-02-21 15:13:14 +02:00
Martin Kojtal
8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
...
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Martin Kojtal
72b2fcf29a
Merge pull request #12384 from jeromecoutant/PR_WBDEBUG
...
STM32WB : update BLE part with better support
2020-02-21 12:12:42 +00:00
Marcin Tomczyk
b5d0b7b6f1
IOTSTOR-1009 - TDBStore magic number if endian sensitive - remove incorrect comment
2020-02-21 00:57:50 -08:00
Arto Kinnunen
da04cc3fcf
Update STM32 EMAC driver based on review
...
-Fix len type
-Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
2020-02-21 10:26:57 +02:00
Arto Kinnunen
6a410f89eb
Update STM32 EMAC driver - limit RX frame length
...
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.
As a work-around accept only 1-1500 bytes long ethernet packets.
2020-02-21 10:26:40 +02:00
Arto Kinnunen
85e85ee93a
Merge commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d'
...
* commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-20 16:29:05 +02:00
Seppo Takalo
94bb831753
Extend storage tests with de-init test case
2020-02-20 12:22:16 +02:00
jeromecoutant
f0370222d8
STM32WB BLE : add FW version when trace is enabled
2020-02-20 09:20:43 +01:00
jeromecoutant
55b42a683e
STM32WB HCIDriver trace update
2020-02-20 09:20:36 +01:00
Martin Kojtal
69a0542ade
Merge pull request #12453 from jeromecoutant/PR_TRACEGROUP
...
STM32 TRACE_GROUP update
2020-02-19 14:33:17 +00:00
Martin Kojtal
1b8370d495
Merge pull request #12444 from DavidLin1577/patch-5
...
Fixed typo: 'lenght' in ns_crc.h
2020-02-19 14:32:26 +00:00
Martin Kojtal
b1c1857ae5
Merge pull request #12445 from DavidLin1577/patch-6
...
Fixed typo: 'lenght' in ip6string.h
2020-02-19 14:32:10 +00:00
Martin Kojtal
d4cff726ee
Merge pull request #12443 from DavidLin1577/patch-4
...
Fixed typo: 'lenght' in coap_service_api.h
2020-02-19 14:31:16 +00:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
jeromecoutant
2df428b36d
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-18 18:00:40 +01:00
Tymoteusz Bloch
0e7a53cdb1
DeviceKey Root of Trust generation refactored.
...
It's no longer automatically and silently created.
2020-02-18 16:32:20 +01:00
jeromecoutant
f000b87911
STM32 TRACE_GROUP update
...
Only 4 characters is allowed
2020-02-17 16:38:42 +01:00
David Lin
49b0f43cff
Fixed typo: 'lenght' in ip6string.h
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:38:19 +08:00
David Lin
1df601dea0
Fixed typo: 'lenght' in ns_crc.h
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:31:22 +08:00
David Lin
e8f632a3d1
Fixed typo: 'lenght' in coap_service_api.h
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:26:14 +08:00
Martin Kojtal
3d038e55ee
Merge pull request #12396 from felser/mtqn-IPV4V6
...
PDP Type needs to be IPV4V6
2020-02-14 14:56:48 +00:00
Martin Kojtal
bac5ffec85
Merge pull request #12398 from michalpasztamobica/block_device_unittests
...
Add BlockDevice unittests and fix issues they revealed
2020-02-14 08:23:06 +00:00
Martin Kojtal
a8188bfd4d
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
...
NRF52840_DK: Fix baremetal linker error
2020-02-14 08:21:27 +00:00
Michal Paszta
a3ba7d964d
FlashSimBlockDevice: initialize blanks buffer
2020-02-13 15:19:11 +02:00
Martin Kojtal
d7f3341974
Merge pull request #12339 from jeromecoutant/PR_MODEMVERSION
...
Cellular : add modem version in mbed trace
2020-02-13 13:04:30 +00:00
Martin Kojtal
667f8bbcd3
Merge pull request #12405 from zhiyong80/Customize-Etherhet-Phy-Addr-of-STM32-Boards
...
EthernetInterface fix detecting change of connection status on ARCH_MAX
2020-02-13 09:44:53 +00:00
Martin Kojtal
69a2803319
Merge pull request #12401 from hugueskamba/hk-remove-float-in-ticker
...
Remove float symbols from apps that use the NFCController class
2020-02-12 13:12:46 +00:00
jeromecoutant
0c8add6e28
DISCO_H747I_CM4 compilation issue
...
SCB_DisableDCache() function is only available for M7 core.
2020-02-12 09:14:58 +01:00
Zhiyonh Li
128d5b5170
Update mbed_lib.json
2020-02-10 23:26:28 -08:00
Zhiyonh Li
884f9c99e3
Fixed bug that EthernetInterface doesn't detect change of connection status on ARCH_MAX board.
...
ARCH_MAX board uses 0x01 as PHY address, different from other NUCLEO STM32 boards. To faciliate change of PHY address of customized boards, a configuration entry eth-phyaddr was added and can be overriden as needed in mbed_app.json by adding "stm32-emac.eth-phyaddr": X. Macro ETH_ARCH_PHY_ADDRESS was also renamed to ETH_PHY_ADDRESS, because it is not only used by ARCH_MAX board but also other boards.
2020-02-10 17:56:09 -08:00
Hugues Kamba
65fbee1d33
NRF52840_DK: Fix baremetal linker error
...
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Hugues Kamba
ec2c341767
Remove float symbols from apps that use the NFCController class
...
Use the `Ticker` API that does not use floating point types and literal.
Also pass timeout in seconds instead of incorrectly passing milliseconds.
2020-02-10 15:00:09 +00:00
Martin Kojtal
563c1169b8
Merge pull request #12349 from artokin/wisun_configuration_update
...
Nanostack: Update Wi-SUN configuration
2020-02-10 14:25:08 +00:00
Martin Kojtal
94e191f57a
Merge pull request #12399 from kivaisan/delete_context_if_activation_fails
...
Cellular: Delete created context if activation fails
2020-02-10 14:21:30 +00:00
Martin Kojtal
88438dfd6c
Merge pull request #12394 from miteshdedhia7/pr/bug-fix-misc
...
Fix SDIO communication issue on Cypress 1M boards and other minor fixes
2020-02-10 14:05:11 +00:00
Martin Kojtal
deb4995dae
Merge pull request #12150 from Patater/update-tls-crypto-20191220
...
Update Mbed TLS and Mbed Crypto to latest as of 2019-12-20
2020-02-10 13:04:12 +00:00
Kimmo Vaisanen
2b19fd8661
Cellular: Delete created context if activation fails
...
If new context is created but the activation fails to any error, it will
be automatically deleted.
Fixes issue #12381
2020-02-10 13:14:21 +02:00
Michal Paszta
10481f2f7e
BlockDevice: multiple fixes to BlockDevice classes
...
Incorrect addresses only cause error return values instead of assertion.
ExhaustibleBlockDevice has working get/set_erase_cycle functions and an
array preventing programming without erase.
Fixed MBRBlockDevice partitioning function.
2020-02-10 09:53:49 +02:00
Leon Lindenfelser
77218f04e0
PDP Type needs to be IPV4V6
...
1.Testing with Verizon and AT&T SIMs, PDP type is automatically set to IPV4V6.
2. Testing with AT&T IoT SIM, PDP type automatically sets to IP. It will connect
but not communicate. Setting a subsequent APN to IPV4V6 with the same APN communicates.
2020-02-07 15:31:40 -06:00
midd
5f496a694c
Add missing error checks for emac power up.
2020-02-07 10:25:15 -08:00
Martin Kojtal
d847f9f164
Merge pull request #12305 from kivaisan/remove_multi_athandler_support_v2
...
Cellular: Remove support for multiple ATHandlers
2020-02-07 11:00:41 +00:00
jeromecoutant
5f1ea7d57b
Cellular : add modem version in mbed trace
2020-02-06 14:40:23 +01:00
Michal Paszta
f21b8c7fc1
Remove remaining string-based API functions
...
This removes any compiler warnings.
2020-02-06 11:27:50 +02:00
Michal Paszta
458957d399
IPCore deprecated string-based API removal
...
String-based functions should be replaced with an explicit DNS hostname resolution and a SocketAddress-based API.
2020-02-06 11:27:49 +02:00
Martin Kojtal
8dc15ee6e1
Merge pull request #12293 from mirelachirica/remove_empty_api
...
Cellular: Remove API's empty default implemetations
2020-02-06 09:05:40 +00:00
Martin Kojtal
96861107f5
Merge pull request #12251 from kivaisan/remove_friends_from_statemachine
...
Cellular: Remove friend definitions from cellular state machine
2020-02-05 14:51:29 +00:00
Arto Kinnunen
5836b7e580
Update Wi-SUN configuration
...
-Improve help texts of Wi-SUN configuration values
-Add min/max value checks to Wi-SUN configuration values
-Define default values for some parameters, instead of referring to
Nanostack internal default values.
2020-02-05 15:01:04 +02:00
Martin Kojtal
e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
...
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal
c63daa5fb8
Merge pull request #12355 from panmasuo/hani_iot_new_target
...
HANI_IOT: add new target board support
2020-02-04 08:37:12 +00:00
Martin Kojtal
586341541c
Merge pull request #12329 from jeromecoutant/PR_ATCELL
...
AT_CellularStack: crash during TCP test
2020-02-03 17:00:00 +00:00
Martin Kojtal
62cc4ece8d
Merge pull request #12345 from VeijoPesonen/fix_compiler_warnings
...
USBMSD; NFCEEPROM; mbed_compat: Fix compiler warnings
2020-02-03 16:59:35 +00:00