Martin Kojtal
5d07fa8ada
Merge pull request #12705 from hugueskamba/hk_remove_armc5_support_mbed-client
...
mbed-client-cli: Remove support for ARM Compiler 5
2020-03-31 08:34:33 +02:00
Martin Kojtal
fea7c1abef
Merge pull request #12472 from praveenCY/pr/wpa3_support_merge
...
Add WPA3 support in mbed-os for green tea tests
2020-03-31 08:32:27 +02:00
Martin Kojtal
4c6e59d714
Merge pull request #11629 from kyle-cypress/pr/tdb-bounds-refactor
...
Refactor TDB internal bounds computation
2020-03-30 09:39:15 +02:00
Anna Bridge
009ff7adf3
Merge pull request #12036 from kjbracey-arm/callback_fiddle
...
Callback extension and optimisation
2020-03-27 14:07:20 +00:00
Anna Bridge
2736896fb9
Merge pull request #12706 from hugueskamba/hk_remove_armc5_support_tests
...
Tests: Remove support for ARM Compiler 5
2020-03-27 14:05:26 +00:00
Anna Bridge
abaf612ccd
Merge pull request #12704 from michalpasztamobica/lwip_apimsg_err
...
LWIP: propagate the apimsg->err out of netconn_apimsg()
2020-03-27 14:04:27 +00:00
Anna Bridge
1bbcaec04a
Merge pull request #12683 from kivaisan/socketaddress_refactor
...
SocketAddress rework
2020-03-27 11:30:12 +00:00
Hugues Kamba
a79ae95703
mbed-client-cli: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-26 13:45:46 +00:00
Michal Paszta
dc142979d8
LWIP: propagate the apimsg->err out of netconn_apimsg()
2020-03-26 13:45:50 +02:00
Hugues Kamba
4318a0747f
Tests: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-25 18:22:00 +00:00
Martin Kojtal
b62fdaed1f
Merge pull request #12685 from kivaisan/remove_deprecated_netsocket_methods
...
Remove deprecated netsocket methods
2020-03-25 10:12:55 +01:00
Martin Kojtal
fff23428de
Merge pull request #12686 from jeromecoutant/PR_REVERT_ETHERNET
...
STM32 EMAC : remove TIMEOUT issue when cable is not plugged yet
2020-03-25 08:59:55 +01:00
Kyle Kearney
ab8ac8871c
Remove stray include of TDBStore.h
2020-03-24 12:27:21 -07:00
Kyle Kearney
ae7c6203cc
kv_config: Remove hard fail on too few pages
...
STORE_SECTORS is a hard requirement. If there are fewer than 2 pages
then the kvstore will not work, because the garbage collection process
relies on having at least two sectors to work with.
STORE_PAGES is a heuristic. It is a reasonable default to use if the
application does not specify the amount of flash to use for TDBStore.
But if an application knows that a smaller number of pages will suffice
for its specific needs, then that is valid and should be permitted.
2020-03-24 12:27:21 -07:00
Kyle Kearney
7f18a6ce49
Move flash bounds helpers from TDBStore to kv_config
2020-03-24 12:27:21 -07:00
Kyle Kearney
926423c109
Reuse TDBStore default size computation in devicekey test
...
Replace custom caluation that always assumed two sectors with the standard
calculation exposed on TDBStore.
2020-03-24 12:27:21 -07:00
Kyle Kearney
622a50ff6a
KV_CONFIG: Change errors to use tr_error not tr_warning
2020-03-24 12:27:21 -07:00
Kyle Kearney
e1b857078a
Remove unnecessary reference-typed arguments
...
No callers make use of the modified argument values, so change
them to a more straightforward pass by value.
2020-03-24 12:27:21 -07:00
Kyle Kearney
3ef04db1a3
TDBStore: Increase min pages to 14
...
Increase minimum page count from 10 to 14 based on further experiments
with features-storage-tests-kvstore-static_tests.
2020-03-24 12:27:21 -07:00
Kyle Kearney
0002830c03
TDBStore: remove get_flash_bounds input constraint
...
Handle the case where the entirety of flash (size = 0) is required
for a flash memory starting at address 0, instead of erroring out.
2020-03-24 12:27:20 -07:00
Kyle Kearney
9d414316da
TDBStore: Fix potential alignment issue in default addresses
...
When 10 pages is larger than 2 sectors, align the selected size
down to be an even multiple of the sector size, to ensure that
the allocated space divides cleanly in half for garbage collection.
2020-03-24 12:27:20 -07:00
Kyle Kearney
7cd4d11a8a
Expand error checks in _calculate_blocksize_match_tdbstore
...
The minimum size required by tdbstore is either 2 sectors or 10 pages,
whichever is larger. Correspondingly, adjust the error checks in
_calculate_blocksize_match_tdbstore to match this requirement.
2020-03-24 12:27:20 -07:00
Kyle Kearney
cda0af66eb
Move TDB bounds computation for better reuse
...
Migrate into TDBStore so that DirectAccessDeviceKey can use it as well.
2020-03-24 12:27:20 -07:00
Kyle Kearney
afa88b76d4
Refactor internal flash TDB bounds determination
...
Default the size to the larger of two sectors or 10 pages, so that the
computation works better on devices with a low sector to page size ratio.
Reduce code duplication.
2020-03-24 12:27:20 -07:00
Kimmo Vaisanen
619a5a7bcc
Netsocket: Remove deprecated constructor with open
...
Default constructor with separate open call should be used instead.
2020-03-24 12:46:30 +02:00
Kimmo Vaisanen
4918bc6aad
TCPSocket: Remove deprecated contructor with open
...
Default constructor and separate open call should be used instead.
2020-03-24 12:46:30 +02:00
Kimmo Vaisanen
2cfee7be71
Netsocket: Remove deprecated InternetSocket::attach methods
...
InternetSocket::sigio should be used instead.
2020-03-24 12:46:30 +02:00
Kevin Bracey
4eda58893e
SocketAddress rework
...
* Add optimised constexpr default constructor. Default construction
was previously by a heavyweight defaulted `nsapi_addr_t` parameter.
* Remove deprecated resolving constructor.
* Take `nsapi_addr_t` inputs by constant reference rather than value.
* Inline the trivial getters and setters.
* Use `unique_ptr` to manage the text buffer.
* Make `operator bool` explicit.
* Optimise some methods.
* Update to C++11 style (default initialisers, nullptr etc)
2020-03-24 11:05:33 +02:00
Martin Kojtal
5d64e55880
Merge pull request #12651 from kivaisan/add_ec2x_start_timout_configuration
...
Cellular: Make Quectel EC2x modem start up timeout configurable
2020-03-24 08:53:59 +01:00
Martin Kojtal
ae0ec86d59
Merge pull request #12667 from boomer41/fix-devicekey
...
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 19:59:10 +01:00
Martin Kojtal
4f4c8c48e1
Merge pull request #12637 from armPelionEdge/#12625-BLE-Cardio-Patch
...
Cordio: fix for issue #12625
2020-03-23 14:47:52 +01:00
Martin Kojtal
ef2c1c89e6
Merge pull request #12658 from VeijoPesonen/fix_tests-integration-fs
...
tests-integration;tests-filesystem: fix code causing compiler warnings and enable more tests
2020-03-23 12:31:13 +01:00
Martin Kojtal
cc799a83fc
Merge pull request #12661 from kbarm/feature-fix-documentation-ascii-art
...
Adjusted SecurityManager Doxygen ASCII art
2020-03-23 10:18:54 +01:00
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
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