Filip Jagodzinski
e0c87fccbe
Tests: USB: Update error formatting in basic test
2019-09-30 11:56:51 +02:00
Filip Jagodzinski
3c37831521
Tests: USB: Extract common code in basic test
2019-09-30 11:56:50 +02:00
Filip Jagodzinski
d4ef5f72e7
Tests: USB: Distinguish failure/error in basic test
2019-09-30 11:56:34 +02:00
Filip Jagodzinski
bfcfb6cf4a
Tests: USB: Clean up test failure output
...
Catch all pyusb errors and report failures to the device. Printing full
tracebacks was more confusing than useful.
2019-09-30 11:51:07 +02:00
Kimmo Vaisanen
4da74b6619
LoRa: Fix build warning about _ongoing_tx_msg
...
_ongoing_tx_msg was incorrectly initialized before _mlme_confirmation.
Fixes following build warning:
[Warning] LoRaMac.h@691,26: 'LoRaMac::_ongoing_tx_msg' will be initialized after [-Wreorder]
[Warning] LoRaMac.h@689,28: 'loramac_mlme_confirm_t LoRaMac::_mlme_confirmation' [-Wreorder]
[Warning] LoRaMac.cpp@68,1: when initialized here [-Wreorder]
2019-09-30 12:36:55 +03:00
Martin Kojtal
1319843042
Merge pull request #11590 from morser499/pr/udb-sdio-init
...
Moved Cypress TriggerMux initialization out of the HAL and into the BSP
2019-09-30 11:23:10 +02:00
Marc Emmers
a02c50d768
Add newline at end of file
2019-09-30 11:20:56 +02:00
Martin Kojtal
cead258064
Merge pull request #11483 from Tharazi97/k64f_reset_reason
...
Change reset_reason test timeout.
2019-09-30 10:41:37 +02:00
Filip Jagodzinski
2b4b64fafd
Tests: USB: Fix Python 3 compatibility
...
Use integer division explicitly in basic test.
Convert bytes to str for Python 3 in serial test.
2019-09-30 10:21:16 +02:00
Filip Jagodzinski
c323af8417
Bump the six (Python module) version to 1.12.0
...
This version provides a few handy functions: six.ensure_binary,
six.ensure_text, and six.ensure_str.
2019-09-30 10:20:45 +02:00
Ladislas de Toldi
fa217c5bec
Update README with Google Test version 1.8.1
2019-09-30 09:47:44 +02:00
Martin Kojtal
a1961de8a2
Merge pull request #11458 from fkjagodzinski/test_update-usb_device-fix_pyusb_backend
...
Tests: USB: Use libusb0 backend on Windows
2019-09-30 08:45:56 +02:00
int_szyk
b54222adf1
Change assumptions of watchdog_api.
2019-09-30 08:10:25 +02:00
int_szyk
d68a802f07
Add watchdog clock accuracy to Nuvoton targets.
2019-09-30 08:10:25 +02:00
int_szyk
e2955eb968
Add watchdog clock accuracy to SiliconLabs targets
2019-09-30 08:10:25 +02:00
int_szyk
f892ae7f1e
Add watchdog clock accuracy to STM targets.
2019-09-30 08:10:24 +02:00
int_szyk
82e5952693
Add watchdog clock accuracy to Freescale targets.
2019-09-30 08:10:24 +02:00
int_szyk
c7dfa87bbf
Add watchdog clock accuracy to ONSEMI targets.
2019-09-30 08:10:24 +02:00
int_szyk
632098de94
Add watchdog clock accuracy to NXP targets.
2019-09-30 08:10:24 +02:00
int_szyk
cb5311654c
Add watchdog clock accuracy to Cypress targets.
2019-09-30 08:10:24 +02:00
int_szyk
36d010d796
Add watchdog lower limit timeout test
2019-09-30 08:10:14 +02:00
Ryan Morse
54d962a240
Moved TriggerMux initialization out of the HAL and into the BSP since that is what dictates what trigger muxes actually need to be used
2019-09-27 13:01:38 -07:00
Anna Bridge
372a3f19c9
Merge pull request #11514 from dmaziec1/UART_deep_sleep_enable
...
ESP8266 unlocks deep sleep when disconnected
2019-09-27 16:50:22 +01:00
Anna Bridge
e39ba114e1
Merge pull request #11491 from Tharazi97/equeue_chain_problem
...
Equeue chain, add documentation of using equeue_destroy
2019-09-27 16:29:01 +01:00
Qinghao Shi
a3f82738dd
FASTMODEL: enable PSA tests for fastmodel
2019-09-27 15:59:42 +01:00
Qinghao Shi
4bbbad3d79
FASTMODEL: add simulated TRNG implementation to fastmodel
2019-09-27 15:58:28 +01:00
int_szyk
69ba9ec916
Add clock_typical_frequency and clock_max_frequency to watchdog api
2019-09-27 16:51:42 +02:00
Dominika Maziec
948bad1ed9
ATCmdParser doxygen header's documentation scanf
2019-09-27 16:02:24 +02:00
Dominika Maziec
e84e098bcb
esp8266 in _oob_* : recv() brought back where it was needed
2019-09-27 15:54:43 +02:00
Antti Kauppila
d34a40a745
Cleaned up Mbed LWIP configurations
2019-09-27 15:52:40 +03:00
Marc Emmers
4c1067b8b8
Fixed missing #if in port_api.c
2019-09-27 14:44:20 +02:00
Anna Bridge
60a8a9dafb
Merge pull request #11568 from JuhPuur/unittest_speedup
...
Speed up unit test build with parallel jobs
2019-09-27 13:29:18 +01:00
Anna Bridge
727b089291
Merge pull request #11517 from balajicyp/tcp_pktloss
...
TCP Packet loss happens due to running of out of Mailbox size.
2019-09-27 13:27:27 +01:00
Anna Bridge
07b3fb9db9
Merge pull request #11560 from kyle-cypress/pr/psoc6-tdb-internal-flash
...
Explicitly set tdb internal flash size for PSoC6 Targets
2019-09-27 13:23:48 +01:00
Chun-Chieh Li
f45ca72f11
[M252KG] Remove TRNG support
...
Reasons to remove TRNG support:
1. M252 just has 32KiB SRAM and cannot afford mbedtls application.
2. Implementing TRNG HAL with PRNG H/W has security concern.
2019-09-27 17:50:48 +08:00
Chun-Chieh Li
b478a19895
[M252KG] Add missing 'sectors' into arm_pack_manager/index.json
2019-09-27 17:45:57 +08:00
Chun-Chieh Li
0168304e5b
[M252KG] Add BSD-3-Clause license for BSP files
2019-09-27 17:45:57 +08:00
Chun-Chieh Li
967effe59f
[M252KG] Free up peripheral pins in peripheral free-up HAL API
...
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-09-27 17:45:56 +08:00
Chun-Chieh Li
38aaee0c1a
[M252KG] Support GPIO input pull-high/pull-low
...
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-09-27 17:45:56 +08:00
Chun-Chieh Li
1447d9049f
[M252KG] Fix redundant call to UART IRQ handler
...
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
d9217ed77a
[M252KG] Fix redundant SPI clock generation
...
Fix SPI clocks are generated redundantly at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
c68af32a4c
[M252KG] Fix I2C NACK error
...
Fix logic error on replying NACK at the end of transfer.
This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-09-27 17:45:55 +08:00
Chun-Chieh Li
0917a0d5a6
[M252KG] Fix IP initialization sequence
...
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)
NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
situation.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
4bb7fde6b5
[M252KG] Exclude USB UART from testing
...
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
cd73422345
[M252KG] Force enum PinName to 32-bit
...
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-09-27 17:45:54 +08:00
Chun-Chieh Li
a8f0817cdb
[M252KG] Enlarge LPTICKER_DELAY_TICKS for safe
...
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
a5afcd6115
[M252KG] Enlarge required deep sleep latency
...
This configuration is to pass wake-up from deep-sleep test such as mbedmicro-rtos-mbed-systimer.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
538f55f9ff
[M252KG] Add 'sectors' target configuration parameter
2019-09-27 17:45:53 +08:00
Chun-Chieh Li
d0ffd9510f
[M252KG] Override mpu-rom-end to 0x1fffffff
...
Without this override, mpu hal will require 5 mpu regions which exceed 4 mpu
regions supported by M252 (see hal/mpu/mbed_mpu_v8m.c). In this scenario,
we will hit assert error but we actually meet stack overrun first due to just
0x400 bytes for emitting error message. The issue doesn’t occur on other
targets such as M487 because it has 8 mpu regions.
2019-09-27 17:45:52 +08:00
Chun-Chieh Li
36278618ad
Support Nuvoton's NUMAKER_M252KG target
2019-09-27 17:45:52 +08:00