Commit Graph

29239 Commits (a15f6a43ad22c6c79fc4fb32173f9cd06f33841c)

Author SHA1 Message Date
Vincent Coubard cb340f8f55
BLE: Fix documentation of set_random_static_address
Co-Authored-By: Lingkai Dong <lingkai.dong@arm.com>
2020-01-29 09:53:12 +00:00
Arun S 18285e1fc1 Pairing fails when IPv6 enabled in SoftAP intf
Issue: udp_sendto() Fails for multicast IPV6 packet when interface is switched from SoftAP to STA mode.
When SoftAP start is called,  add_ethernet_interface() will be called internally to add interface details into  netif_list.
When switching from SoftAP to STA mode,  add_ethernet_interface() will be called again to append the interace details into netif_list.
When udp_sendto() is called, ip6_route() will return interface as NULL since it consider device as single interface.
Fix: SoftAP mode Stop, call remove_ethernet_interface() to remove the interface from the netif_list.
2020-01-29 15:07:52 +05:30
Przemyslaw Stekiel d298f963cf Add mapping between SPI defined behavior and test cases 2020-01-29 08:23:58 +01:00
Przemyslaw Stekiel 4b6c844be9 Extend FPGA-Test-Shield SPI master test
Increase coverage of the SPI master FPGA test:
 - check supported frequencies (based on the device capabilities),
 - add support for manual CS handling and test cases,
 - add test cases for rx/tx buffers with different length (based on the device capabilities),
 - add test case for one symbol transmission,
 - add test cases for different symbol sizes (based on the device capabilities).
2020-01-29 08:23:49 +01:00
Rajkumar Kanagaraj 16fcdaa56f minimal-printf: README correction
- Updated the README with "target.printf_lib"
2020-01-28 06:56:12 -08:00
Vincent Coubard 1970761880 BLE : Replace calls to Gap::setAddress with HCIDriver::set_random_static_address 2020-01-28 13:35:19 +00:00
Vincent Coubard c66dd7fd1f BLE: Add an HCI driver API to set the random static address. 2020-01-28 13:29:11 +00:00
jeromecoutant a1fb286c06 AT_CellularStack: crash during TCP test
function tries to access _socket[1] whch is not opened
2020-01-28 13:10:41 +01:00
pea-pod f7c4693747 Add new target: NUCLEO_L452RE-P 2020-01-27 18:41:18 -06:00
Rajkumar Kanagaraj b2890822d9 Incorporated the review comment 2020-01-27 09:21:12 -08:00
Ladislas de Toldi 1507b1c3e1
Add check for __APPLE__ & __MACH__ to fix unit tests on macOS 2020-01-27 16:09:54 +01:00
Rajkumar Kanagaraj 46a1f01b6d Fix general filesystem greentea test
ARM microlib is not supported below features
- fflush(NULL) return `-1` instead `0`
- fread with size parameter "Zero".
- if file opened in append mode, file postion starts from the beginning.
2020-01-27 06:51:52 -08:00
Anna Bridge f469f710bc
Merge pull request #12307 from rajkan01/fix_crash_report
Fix the missing retrieve error context function call.
2020-01-25 11:55:14 +00:00
Anna Bridge ceaf562a11
Merge pull request #12283 from jeromecoutant/PR_STM32WB
STM32WB - Update CubeDriver from v1.0.0 to v1.4.0
2020-01-25 11:54:29 +00:00
Anna Bridge f45a5a78b5
Merge pull request #12231 from devran01/upd_musca_a
Import latest python scripts and MCUBoot image
2020-01-25 11:53:34 +00:00
Dustin Crossman b204dfd943 Fix inconsistency between mbed crc and psoc6 crc implementations. 2020-01-24 18:23:25 +00:00
Anna Bridge 7101e92d12
Merge pull request #12303 from rajkan01/fix_micro_lib_warning
Fix ARM compiler warning for microlib
2020-01-24 14:58:18 +00:00
Mahesh Mahadevan 72bd899e02 MIMXRT1050: Add Watchdog support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-01-24 07:24:46 -06:00
Tymoteusz Bloch 17c5f3ecd7 Greentea DNS tests workaround due to NSAPI DNS bug/deadlock with Nanostack.
Tests sequence swaped:
ASYNCHRONOUS_DNS_TIMEOUTS
ASYNCHRONOUS_DNS_INVALID_HOST
This is temporary solution to prevent Jenkins fail until root cause will be fixed.
2020-01-24 13:26:29 +01:00
Veijo Pesonen 2d9cde9493 SFDP: fix mbed-os-example-blinky-baremetal build
Including mbed_trace.h file only doesn't work - the path is also
required.
2020-01-24 13:39:23 +02:00
Anna Bridge 8b25c51746
Merge pull request #12226 from JanneKiiskila/target_test_sector_missing
target_test - assert if sectors keyword missing
2020-01-24 11:23:51 +00:00
Anna Bridge 6e762a2850
Merge pull request #12210 from mprse/disable_lp_ticker_stm_no_lse
Fix for issue #10725: disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker
2020-01-24 11:22:57 +00:00
Anna Bridge 0d48a26f82
Merge pull request #12154 from hugueskamba/hk-baremetal-nrf51822-fix
NRF51822: Fix baremetal linker error
2020-01-24 11:21:25 +00:00
Michal Paszta 39fd30e46f Tests: add missing mbed_trace.h multihoming header 2020-01-24 09:21:07 +02:00
jeromecoutant e4d0629d18 STM32L5 : Introduce NUCLEO_L552ZE_Q board 2020-01-23 17:55:07 +01:00
jeromecoutant c1386cf52d STM32L5 : update generic STM files for L5 2020-01-23 17:54:55 +01:00
jeromecoutant bee5d44a1f STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
jeromecoutant 5d59c99b99 STM32L5: TOOLCHAIN automatic updates 2020-01-23 17:54:41 +01:00
Rajkumar Kanagaraj f1e1375685 Fix for the missing retrieve error context function call.
- Add the function to retrieve error context after a fatal error is called at
   system initialisation for the bare metal profile.
2020-01-23 07:39:29 -08:00
jeromecoutant 77e5bb45b9 STM32L5: STM32Cube_FW_L5_V1.0.0 files 2020-01-23 13:30:31 +01:00
Anna Bridge 706625a982
Merge pull request #12297 from evedon/ed-update-mprintf-doc
Corrected minimal-printf README
2020-01-23 12:12:37 +00:00
Anna Bridge d984480f08
Merge pull request #12295 from jeromecoutant/PR_PR_H7_TIM17
STM32H7 correct PWMOUT instances
2020-01-23 11:50:44 +00:00
Anna Bridge 159a57bba2
Merge pull request #12291 from DavidLin1577/patch-2
Minor optimisation to ATCmdParser unit test code
2020-01-23 11:49:48 +00:00
Anna Bridge cb53825874
Merge pull request #12282 from mprse/fix_for_issue_12268
Fix for issue #12268 (SerialBase.cpp: fix initialization list)
2020-01-23 11:48:58 +00:00
Anna Bridge 34a291be64
Merge pull request #12228 from jeromecoutant/PR_REGIONSIZE
Need RAM and ROM size for compilation
2020-01-23 11:47:58 +00:00
Anna Bridge cfa2dee248
Merge pull request #12023 from kjbracey-arm/gccnull
GCC: remove -fno-delete-null-pointer-checks
2020-01-23 11:47:13 +00:00
Anna Bridge 24ccfab6a5
Merge pull request #12106 from andrewc-arm/pr-S5JS100-05
Add Samsung Exynos i S111 target
2020-01-23 10:52:08 +00:00
Devaraj Ranganna 6d6d1e695b Bump `cryptography` python module version
The requirements.txt mandates 2.4.x version of cryptography python
module which has an issue as it checks if the payload is an instance
of bytes which is actually a bytearray. This issue is fixed in 2.5
version, hence bump up minimum version to 2.5.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-01-23 10:10:12 +00:00
jeromecoutant 25da13bc18 STM32WB remove extra file 2020-01-23 10:53:09 +01:00
Michal Paszta bf11bbd820 QSPIF: Enable QPI mode as a second option, if available 2020-01-23 09:47:53 +02:00
Kimmo Vaisanen bd0f939277 Cellular: Remove support for multiple ATHandlers
Major changes:
- Dependency to FileHandle removed from base classes
- AT_CellularDevice owns the default FileHandle and shares it with AT -classes
- Hang-up -detection moved as CellularContext::configure_hup(). Cannot be configured via CellularDevice any more.

Result on NRF52840_DK + BG96:
GCC:
Total Static RAM memory (data + bss): 29360(+296) bytes
Total Flash memory (text + data): 130660(-832) bytes

ARM:
Total Static RAM memory (data + bss): 261554(+8) bytes
Total Flash memory (text + data): 127573(-1193) bytes

IAR:
Total Static RAM memory (data + bss): 25479(+296) bytes
Total Flash memory (text + data): 102418(-527) bytes

RAM increase is because now ATHandler is no longer created with new -operator but is now member of AT_CellularDevice,
so image tool is able to count it. Actually total RAM consumption has decreased due to removed variables.
2020-01-23 09:27:44 +02:00
Rajkumar Kanagaraj fe470d9ff9 Fix build tool test case failure 2020-01-22 09:45:01 -08:00
Rajkumar Kanagaraj 6d3782accb Fix ARM compiler warning for microlib
- Remove the --library_type=micorlib from c/cxx configuration.
2020-01-22 07:17:08 -08:00
Michal Paszta 2bc3008534 Remove _LIBCPP_EXTERN_TEMPLATE flag 2020-01-22 17:04:19 +02:00
PARKJIHOON 8b0fb5f5bd comments the performance of TRNG
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 3ba075b57b Tidy up comments
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 4ef74efed0 fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON d5bb27a94c fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 4460d26eab Default use BEDTLS_SHA512_SMALLER for SW fallback
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong f9c4a51871 Adding in SPDX Apache 2.0 for the Apache 2 declared Samsung license headers. 2020-01-22 14:40:51 +09:00