Commit Graph

27783 Commits (f6a7f6587abf15890029e10ccb51e0213ef35403)

Author SHA1 Message Date
Rajkumar Kanagaraj f6a7f6587a Fixing the Mbed OS crash reporting and enable green tea test for bare metal.
Added missing mbed_error_initialize function call in bare metal boot code which is used
to retrieve the crash report from RAM in case of any previous abnormal re-boot but this function call is present in RTOS boot code.
2019-12-11 04:28:42 -08:00
Martin Kojtal f2a1804d51
Merge pull request #12058 from mprse/static_pinmap_for_cloud_client
Add static pin-map support: SDBlockDevice, kvstore, system storage (reduce ROM used by Mbed Cloud Client example)
2019-12-10 14:19:18 +01:00
Martin Kojtal 94ac6b9fbb
Merge pull request #12033 from mprse/static_pinmap_serial_fix
static pin-map: patch for SerialBase class
2019-12-10 14:18:57 +01:00
Przemyslaw Stekiel ee5953ad74 Add static pinmap support: SDBlockDevice, kvstore, system storage
This is done in order to enable static pin-map for Mbed Cloud Client Example. This should give extra ROM savings, ~1KB.
2019-12-10 12:26:23 +01:00
Martin Kojtal b7c3b35d65
Merge pull request #12043 from petroborys/master
Modify itm_api.c for EFM32 targets
2019-12-10 09:48:46 +01:00
Martin Kojtal 09a2db0184
Merge pull request #12044 from shuopeng-deng/pr/cypress-fs-integration-test
increamed qspi size for cypress integration fs tests
2019-12-10 09:48:26 +01:00
Martin Kojtal 77b1ee51ef
Merge pull request #12050 from SeppoTakalo/IOTSTOR-992
Fix TDBStore sizes for SecureStore tests
2019-12-10 09:47:12 +01:00
Martin Kojtal 9151ac9d80
Merge pull request #12013 from kivaisan/udp_echotest_connect_send_recv
Add UDP ECHOTEST with connect/send/recv calls
2019-12-10 09:45:42 +01:00
Martin Kojtal 6409efd882
Merge pull request #12051 from AnttiKauppila/unittest_config_improvement
Unittest configuration mechanism improved
2019-12-10 09:45:27 +01:00
Martin Kojtal 66eb594f17
Merge pull request #12047 from OpenNuvoton/nuvoton_nano130_fix_iar
NANO130: Fix OOM with packing algorithm at IAR linking
2019-12-09 17:11:33 +01:00
Kimmo Vaisanen c2d72b5e73 Update netsocket test README for connect-send-recv UDP tests 2019-12-09 16:23:07 +02:00
Antti Kauppila aac3437a22 Cleaned up athandlertest.cpp 2019-12-09 14:09:42 +02:00
Antti Kauppila d6706d1a5f Unittest configuration mechanism improved
Earlier all unittests ended up having all flags in common from all unittest targets.
This is now improved by using googletest provided mechanism to set build time compile options
All cmake files have been modified to reflect changes (when needed)

Could not figure out a syntax for {0x00, 0x00, ..., 0x00} intitializer list yet,
so those needs to be setup by updating C/CXX flags.
2019-12-09 13:11:56 +02:00
Chun-Chieh Li 3e4e0629dc NANO130: Decrease heap to 2.75KiB to spare SRAM for static allocation
This adjustment is to pass compile on IAR on which heap configuration is hard-coded and cannot be adjusted according to staic SRAM usage.
2019-12-09 18:56:42 +08:00
Seppo Takalo 1f99703806 Fix TDBStore sizes for tests
Tests must require at least 2 erase sectors per TDBStore,
so that the garbage collection may work.
2019-12-09 11:18:29 +02:00
Przemyslaw Stekiel b6c25b1421 Remove serial flow control functions from image if flow control is not used 2019-12-09 08:28:14 +01:00
Przemyslaw Stekiel 160342b2d0 static pin-map - patch for SerialBase class
Related PR:

https://github.com/ARMmbed/mbed-os/pull/10924

The above PR adds functions to disable/enable serial input/output. If both serial input and serial output are disabled, the peripheral is freed. If either serial input or serial output is re-enabled, the peripheral is reinitialized.

I missed this change while working on the static pinmap and unfortunately it has an impact on it. The reinitialization is a problem for static pinmap. Now the HAL init()/init_direct() function is called not only in the constructor (but also when re-enabling the peripheral). In the current version, even if static pinmap constructor was used to create an object (and init_direct() HAL API), when reinitialization is done it uses init() HAL API. This must be split.

If static pinmap constructor is used, then the peripheral must be always initialized using HAL init_direct() function. If regular the constructor is used, then the peripheral must be initialized using HAL init() function. The same split also must be done while setting flow control during reinitialization.
2019-12-09 08:28:13 +01:00
Chun-Chieh Li 6df5eea841 NANO130: Fix OOM with packing algorithm at IAR linking
At IAR linking, the default method of 'initialize by copy' is 'auto', which will estimate
different packing algorithms, including complex 'lz77', for smallest memory footprint. But
the algorithm itself can consume some SRAM and cause OOM at linking time for NANO130, which
just has 16KiB SRAM. To avoid this error, always choose 'none' packing algorithm.
2019-12-09 13:48:31 +08:00
petroborys 8bee5f300d Add ITM to targets.json for EFM32GG11_STK3701 2019-12-07 03:04:39 +02:00
petroborys 2525100cc7 modified itm_api.c for STK3701 and add SWO location 0 to EFM32GG11_STK3701, EFM32GG_STK3700, EFM32LG_STK3600, EFM32PG_STK3401, EFM32PG12_STK3402 and EFM32WG_STK3800 2019-12-07 03:00:01 +02:00
Martin Kojtal 8d246d8ac1
Merge pull request #12026 from deepak-shreshti/master
Update HAL file to Toshiba's TMPM4G9
2019-12-06 15:48:55 +01:00
Martin Kojtal 0175a9f845
Merge pull request #12039 from evedon/ed-baremetal-nrf52840
Fix build errors for bare metal greentea tests on NRF52840_DK
2019-12-06 15:48:32 +01:00
Martin Kojtal 0e66678bf8
Merge pull request #12030 from miteshdedhia7/pr/whd_update_1.70
Updates the Cypress WiFi Host Driver to 1.7.0
2019-12-06 13:44:42 +01:00
Martin Kojtal 2536e9291d
Merge pull request #12034 from kjbracey-arm/systimer_warning
SysTimer: Suppress implicit virtual warning
2019-12-06 13:35:08 +01:00
Martin Kojtal 0a332d9d19
Merge pull request #12041 from trowbridgec/ep_agora-add-qspi-support
Add QSPI and relevant test support for target EP_AGORA
2019-12-06 13:33:14 +01:00
Martin Kojtal 30a54cc18c
Merge pull request #12038 from yarbcy/pr/qspi-fix
Cypress: Remove qspi_frequency() call.
2019-12-06 13:13:11 +01:00
Deepak V. Shreshti b2616ca1fe Resolved linker issue 2019-12-06 15:22:55 +05:30
Deepak V. Shreshti 0ad1133ea5 Added SPDX identifier License 2019-12-06 15:15:05 +05:30
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
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