Deepak V. Shreshti
6fd5fbc7d5
Updated HAL files of TMPM4G9
2019-12-06 15:15:05 +05:30
Chris Trowbridge
6b8b324eaa
Add QSPI and relevant test support for target EP_AGORA
2019-12-05 14:58:06 -05:00
Shuopeng Deng
6cee24d078
increamed qspi size for cypress integration fs tests
...
The fs integration tests requires about 10 little fs blocks.
The qspi erase size is 256K, with the default size of 2MB, this only
allocates 8 little fs blocks. The tests need 10 little fs blocks to
work.
Also Added no-led tags to cypress board that only have 1 LED. The
fs integration tests blinks 2 LEDs.
2019-12-05 10:54:33 -08:00
midd
493d4af228
Remove extra resource file left over from the renaming from TARGET_WHD to COMPONENT_WHD
2019-12-05 10:38:16 -08:00
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
Evelyne Donnaes
c6454156da
Enable bare metal greentea tests on NRF52840_DK
2019-12-05 16:25:36 +00:00
YARB(Cypress)
91e97a17d7
Cypress: Remove qspi_frequency() call.
...
cy_qspi_frequency is not implemented.
This change is made because for compatibility
reason with upcoming cy_hal changes.
2019-12-05 16:12:14 +02:00
Kevin Bracey
a1bbbb8845
SysTimer: Suppress implicit virtual warning
2019-12-05 15:48:36 +02:00
Martin Kojtal
e9cb9cb014
Merge pull request #12018 from jeromecoutant/PR_OLIMEX_EMAC
...
STM32_EMAC cleanup
2019-12-05 14:03:46 +01:00
Kevin Bracey
d97460f8bb
Add MBED_FALLTHROUGH attribute
...
C++17 standardised `[[fallthrough]]` for `switch` statements to suppress
compiler warnings. Provide access to it, or compiler-specific
alternatives.
2019-12-05 12:08:26 +02:00
Martin Kojtal
412a9317de
Merge pull request #12017 from VeijoPesonen/remove_nvstore
...
NVStore: already deprecated implementation removed
2019-12-05 09:10:30 +01:00
Martin Kojtal
e2a11c0297
Merge pull request #11988 from ARMmbed/feature_securestore_refactoring
...
Small fixes for SecureStore
2019-12-05 08:23:35 +01:00
Martin Kojtal
58da078df9
Merge pull request #12015 from jeromecoutant/PR_ETHERNET_ARMC5
...
STM EMAC: compilation issue with ARMC5
2019-12-05 08:23:11 +01:00
Martin Kojtal
a4dbf63dc3
Merge pull request #12029 from jeromecoutant/PR_F091
...
STM32F0: create STM32F091xC target
2019-12-05 08:22:32 +01: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
Seppo Takalo
21acb66c1c
TDBStore: remove unused variables
2019-12-04 16:21:55 +02:00
Seppo Takalo
7902100238
SecureStore: Get rid of casting by using opaque pointers.
2019-12-04 16:21:55 +02:00
jeromecoutant
1a3673ee52
STM32F0: create STM32F091xC target
2019-12-04 15:03:46 +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
Seppo Takalo
23b2b8c4f3
SecureStore: Deinitialize also member TDBStorages on deinit()
2019-12-04 14:55:45 +02:00
Seppo Takalo
650b93b66c
SecureStore: Validate internal RBP data first
...
Previous logic was allowing external storage to be tampered by setting
write-protected keys, so values could not be updated, but it was still
used by get().
2019-12-04 14:55:45 +02:00
Seppo Takalo
bde9753696
SecureStore: Don't use flags of corrupted data. Allow removing.
2019-12-04 14:55:45 +02:00
Seppo Takalo
56d67360ef
SecureStore: Validate internal header size before using its values.
2019-12-04 14:55:45 +02: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
Antti Yli-Tokola
10687d6c3f
Make ESP8266 compatible with non rtos build
2019-12-04 09:23:18 +02: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
bdbec57447
STM32F407 configuration cleanup
2019-12-03 14:48:48 +01:00
jeromecoutant
093099b2e7
STM_EMAC: move TARGET_OLIMEX to the correct directory
2019-12-03 14:48:05 +01:00
Veijo Pesonen
060a1c6df7
NVStore: deprecated implementation removed
2019-12-03 15:36:31 +02:00
jeromecoutant
27f40156b5
STM EMAC: compilation issue with ARMC5
2019-12-03 14:33:24 +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