midd
26cc865fed
Update WiFi Host Driver to 1.7.0
...
- Fixes issues with stopping AP in APSTA mode
2019-12-05 10:37:50 -08:00
Martin Kojtal
9248169f1f
Merge pull request #11976 from pstolarz/lwip_mbox_fix
...
LWIP system mailbox overflow fix
2019-12-04 15:54:59 +01:00
Martin Kojtal
083f6511a1
Merge pull request #12024 from mtomczykmobica/ONME-4366
...
ONME-4366 - Fix UBLOX_EVK_ODIN_W2 fails in emac tests due to heap mem…
2019-12-04 14:41:19 +01:00
Martin Kojtal
7a085b472b
Merge pull request #11987 from ARMmbed/feature_tdbstore_refactoring
...
TDBStore refactoring
2019-12-04 13:51:50 +01:00
Martin Kojtal
28caa43a91
Merge pull request #12025 from fkjagodzinski/fix-platform-unused_file
...
Platform: Delete an unused astyle output file
2019-12-04 12:37:26 +01:00
Martin Kojtal
6f18801ccc
Merge pull request #11986 from ARMmbed/feature_storage_test_improvements
...
Storage related test improvements and small fixes
2019-12-04 10:16:28 +01:00
Filip Jagodzinski
001731c5af
Platform: Delete an unused astyle output file
2019-12-04 10:16:24 +01:00
Martin Kojtal
4ae8984819
Merge pull request #11878 from michalpasztamobica/api_hardening
...
Improve API documentation and test coverage
2019-12-04 10:15:43 +01:00
Martin Kojtal
2cf56b8f6d
Merge pull request #11891 from hugueskamba/hk-enable-minimal-printf-in-tools
...
minimal-printf: Enable using a target configuration parameter
2019-12-04 10:14:54 +01:00
Martin Kojtal
34c9cf93e5
Merge pull request #11975 from michalpasztamobica/pppinterface_pointer_checks
...
PPPinterface: remove faulty address getter check for invalid pointer
2019-12-04 10:14:30 +01:00
Martin Kojtal
64d172c3bd
Merge pull request #11970 from kjbracey-arm/fault_crash
...
Avoid crashes during fault handler
2019-12-04 10:13:54 +01:00
Martin Kojtal
bbf68d7272
Merge pull request #11983 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc3
...
Ublox Odin Driver OS 5 v3.7.1 rc3: Network-WiFi Test Crash Fixes
2019-12-04 10:12:11 +01:00
Marcin Tomczyk
0693da6e2b
ONME-4366 - Fix UBLOX_EVK_ODIN_W2 fails in emac tests due to heap memory allocation failure. Increse event queue and free allocated buffer if cannot post packet to event queue.
2019-12-04 01:11:06 -08:00
Martin Kojtal
020e508e42
Merge pull request #12011 from jeromecoutant/PR_STMOD_DEBUG
...
STMOD_CELLULAR: improve debug print
2019-12-04 10:10:44 +01:00
Martin Kojtal
419e58af2c
Merge pull request #12012 from jeromecoutant/PR_USB_HIDTEST
...
USB device HID test: remove duplicated define
2019-12-04 10:09:55 +01:00
Piotr Stolarz
9a70621507
Review fixes
2019-12-03 18:04:15 +01:00
Martin Kojtal
888dfffabf
Merge pull request #11920 from ARMmbed/pr_template
...
Simplify pull request template headers and instructions
2019-12-03 15:53:21 +01:00
Martin Kojtal
e4e6ac5bd6
Merge pull request #12008 from AriParkkila/cell-at-string-fix
...
Cellular: Fix ATHandler string handling
2019-12-03 15:52:39 +01:00
jeromecoutant
00d91149cc
STMOD_CELLULAR: improve debug print
2019-12-03 14:22:47 +01:00
Seppo Takalo
ce7b196b26
TDBStore: Don't copy more data than what we can hold
2019-12-03 15:20:10 +02:00
Seppo Takalo
fe3c3550f9
TDBStore: Move Assert to init(), so Block parameter are initialised correctly
2019-12-03 15:20:10 +02:00
Seppo Takalo
adf409f7f7
Do not require Flash device for TDBStore
...
TDBStore used to rely on Flash devices erase value.
This logic has been removed, and TDBStore can do the entire erase
logic itself, in case the given BlockDevice does not offer erase().
This relies on BlockDevice to properly return -1 in BlockDevice::get_erase_value().
2019-12-03 15:20:10 +02:00
Seppo Takalo
3dc6c4879f
TDBStore: erase one program unit more, when cleaning an area
2019-12-03 15:20:10 +02:00
Seppo Takalo
93d7422f75
TDBStore: Do no garbage_collect() on init()
...
Previous logic caused garbage collection to kick in, if the init() was
called on empty storage. This has effect of erasing areas twice, if both
areas were empty.
Re-write logic so that we erase areas only on garbage_collect() or reset().
The init() logic already chooses the active area, so no need to touch,
until keys are modified.
Removed also the is_erase_unit_erased() as this is working only on
FLASH devices, and TDBStore should be refactored to work on all storages.
2019-12-03 15:20:10 +02:00
Seppo Takalo
36523282fa
TDBStore: Keep copy of reserved data on both areas.
...
Change the "reserved data" logic so that every time we erase and area,
the content of reserved data is then immediately copied to newly erased
area. This keeps two copies of the data.
When data is requested, return only if checksum is matching.
When data is written, only allow if BOTH checksums are incorrect, meaning
that areas are either corrupted or erased.
Only exception is TDBStore::reset() which erases all keys and reserved data.
Removed all logic that tried to detect, if reserved are was erased or
corrupted. Rely entirely on checksum.
Add moduletest for reserved data.
2019-12-03 15:20:10 +02:00
Seppo Takalo
0fe159f6c4
Greentea: Fix slice-calculation from kvstore test phase 2
2019-12-03 14:51:37 +02:00
Seppo Takalo
2ddd4069b6
Remove flaky error_inject_test
2019-12-03 14:38:40 +02:00
Seppo Takalo
d74fa93549
Add unittests for BufferedBlockDevice
2019-12-03 14:38:40 +02:00
Seppo Takalo
b9eaac4da0
Fix Greentea handler typecasting.
2019-12-03 14:38:40 +02:00
Seppo Takalo
3eb8d6eb1d
BufferedBlockDevice: Sync all the buffers on deinit()
...
Make sure that all data has been written on the underlying
storage when we do deinit().
2019-12-03 14:38:40 +02:00
Seppo Takalo
8ab3984d33
Don't allow over-read on BufferedBlockDevice
2019-12-03 14:38:40 +02:00
Seppo Takalo
191d3444bb
HeapBlockDevice: Don't assert on const functions
2019-12-03 14:38:40 +02:00
Seppo Takalo
6105634bb0
Remove unceressary NULL check from BufferedBlockDevice::size()
2019-12-03 14:38:40 +02:00
Seppo Takalo
bcaf37dcfa
SlicingBlockDevice should assert, if size does not look valid
2019-12-03 14:38:40 +02:00
Seppo Takalo
92a60c3d80
Extend SlicingBlockDevice test coverage
2019-12-03 14:38:40 +02:00
Seppo Takalo
12dea71f40
Greenteatests: Validate KVStore content when WRITE_ONCE flag is set.
2019-12-03 14:38:40 +02:00
Hugues Kamba
d5aef28145
minimal-printf: Enable using a target configuration parameter
2019-12-03 12:31:51 +00:00
jeromecoutant
69eb099ac0
USB device HID test: remove duplicated define
2019-12-03 13:31:03 +01:00
Martin Kojtal
ad3647c191
Merge pull request #11957 from kjbracey-arm/crc-redo
...
MbedCRC and CRC HAL revisions (6.0 redo)
2019-12-03 13:21:36 +01:00
Martin Kojtal
c098bdff18
Merge pull request #12006 from jamesbeyond/fc_fix
...
FIX: fix a bug introduced by static pinmap
2019-12-03 13:20:14 +01:00
Ari Parkkila
c22dd77f42
Cellular: Fix ATHandler string handling
2019-12-03 03:21:13 -08:00
Martin Kojtal
a8ee2d8c7d
Merge pull request #11594 from OpenNuvoton/nuvoton_m2351_partition-memory-pelion
...
M2351: Pre-build secure image/lib to favor pelion application
2019-12-03 09:05:49 +01:00
Martin Kojtal
25ca5d2a72
Merge pull request #11880 from kjbracey-arm/callback_variadic
...
Remove deprecated Callback methods
2019-12-03 09:04:55 +01:00
Martin Kojtal
40cf725c11
Merge pull request #11991 from jamesbeyond/integ_fix
...
TESTS: Fix integration tests
2019-12-03 09:04:16 +01:00
Martin Kojtal
fc488f6f36
Merge pull request #11995 from VeijoPesonen/mcu_nrf52840_fixes
...
MCU_NRF52840 target configuration fixes
2019-12-03 09:03:43 +01:00
Qinghao Shi
9545a46c23
FIX: fix a bug introduced by static pinmap
2019-12-02 19:32:32 +00:00
Michal Paszta
75472d0554
Adjust mbed_assert_stub file extension to .cpp
2019-12-02 20:48:16 +02:00
Michal Paszta
caf01479ea
Improve doxygen and unittest coverage for API
...
Mainly focusing on hardening the tests for return values.
2019-12-02 20:48:10 +02:00
Michal Paszta
546fdd2596
Move OnboardNetworkStackMock to a separate file
...
The mock was only used by EthernetInterface tests, but we can reuse it for other tests as well.
2019-12-02 20:47:43 +02:00
Michal Paszta
33096c2e54
Fix PPPInterface::disconnect to return NO_CONNECTION in case of failure
2019-12-02 20:47:43 +02:00