Commit Graph

28557 Commits (0c8add6e28d03ed56eecbd20cd563faf94bfb1da)

Author SHA1 Message Date
Ari Parkkila 4da93bf979 Add UBLOX_C030_R412M in CellularInterface.json 2020-01-30 04:30:54 -08:00
Rajkumar Kanagaraj 56819fbc53 Remove CPU usage example from CI build 2020-01-30 03:59:36 -08:00
Kevin Bracey c8d7778235
Merge pull request #12324 from dustin-crossman/pr/fix-cypress-crc-reversal
Fix inconsistency between mbed crc and psoc6 crc implementations.
2020-01-30 13:40:25 +02:00
Kevin Bracey e8eed6ecd5
Merge pull request #12304 from michalpasztamobica/qpi
QSPIF: Enable QPI mode as a second option, if available
2020-01-30 10:21:29 +02:00
Kevin Bracey c1ce5cb20c
Merge pull request #12315 from ladislas/fix/equeue-unit-tests-on-macOS
Add check for __APPLE__ & __MACH__ to fix unit tests on macOS
2020-01-30 10:21:08 +02:00
Chun-Chieh Li 94762d02a1 M2351: Support IAR
1.  Enable IAR on non-secure targets
2.  Disable IAR on secure targets because:
    (1) IAR toolchain bug: As of IAR 8.32, cmse_nonsecure_caller() is not always inlined.
    (2) TFM hasn't supported IAR yet.
2020-01-30 13:12:31 +08:00
Chun-Chieh Li 152f6f1975 M2351: Refine MBED_TZ_DEFAULT_ACCESS placement
1.  On M2351, SYS/CLK registers are hard-wired to secure. Define MBED_TZ_DEFAULT_ACCESS to 1 so that all non-secure user threads have access to call secure functions to control these registers.
2.  MBED_TZ_DEFAULT_ACCESS is only meaningful for non-secure target. Define it only for non-secure target in targets.json.
3.  On TFM target, MBED_TZ_DEFAULT_ACCESS has defined in mbed_lib.json. Avoid duplicate definition which IAR assembler doesn't allow.
2020-01-30 13:12:29 +08:00
Rajkumar Kanagaraj c61cf3dc07 Incorporated the review comment 2020-01-29 09:24:21 -08:00
jeromecoutant 84b48410f0 STM32: enable QSPI test with MX25LM51245G octo SPI 2020-01-29 16:18:38 +01:00
Rajkumar Kanagaraj 0d95f7e765 Fix sd filesystem greentea test
- Disable the ferror() API test case as its not supported by microlib
2020-01-29 07:03:59 -08:00
Kevin Bracey 91464b2729
Merge pull request #12306 from jeromecoutant/PR_STM32L5_NUCLEO
STM32L5: NUCLEO-L552ZE-Q new target
2020-01-29 16:07:44 +02:00
Kevin Bracey 617ba2771e
Merge pull request #12310 from tymoteuszblochmobica/testfix
Greentea DNS tests workaround.
2020-01-29 16:04:08 +02:00
Veijo Pesonen e9e3385f05 Doxygen: don't extract static members 2020-01-29 15:38:42 +02:00
Kevin Bracey de915a034b Correct SysTimer absolute time calculations
`SysTimer::set_wake_time` incorrectly assumed that the `SysTimer`s tick
count and the underlying HAL timer had the same zero base. This normally
holds, at least approximately, in RTOS builds where the HAL timer starts
from zero at the same time the SysTimer is initialised.

But in bare metal builds, the HAL timer could be started some time
before the SysTimer, giving a significant discrepancy.

Beyond that, there's no requirement for HAL timers to start from zero in
the spec.

Record the HAL timer start time to get the conversion right.
2020-01-29 15:28:20 +02:00
Ari Parkkila cd6d9e6e8c Enable SYNCHRONOUS_DNS_CACHE just for NSAPI_PPP_AVAILABLE 2020-01-29 03:19:21 -08:00
Ari Parkkila 72281a57b3 Fix UDPSOCKET_ECHOTEST to handle oversized packets 2020-01-29 03:06:55 -08:00
Ari Parkkila 1234b3fc28 Cellular: Fix UDP/IP on UBLOX_AT driver 2020-01-29 03:04:46 -08:00
Ari Parkkila d6f8fece69 Cellular: Enable IP over PPP on UBLOX_C030_R41XM 2020-01-29 03:03:35 -08:00
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