Commit Graph

25527 Commits (5edea42b6f05c6401e8f93d2f6450de00db2fe6c)

Author SHA1 Message Date
Dominika Maziec 5edea42b6f Greentea testing wifi connect nonblocked 2019-08-23 11:37:41 +01:00
Paul Szczepanek 4572cf1757 add comments 2019-08-23 11:37:41 +01:00
paul-szczepanek-arm 26fd68a026 add nonscannable connectable type 2019-08-23 11:37:41 +01:00
int_szyk 9cd2473caa Tweak STM watchdog implementation
Change the calculation method of rl so it is rounded up.
2019-08-23 11:37:41 +01:00
Szymon Kwiatkowski 7ea8e0e89a Add Unittest equeue tests 2019-08-23 11:37:41 +01:00
Vairamuthu Ramasamy 73d658d9a4 Updated nvram image for target CY8CMOD-062S2-43012 2019-08-23 11:37:41 +01:00
Teijo Kinnunen 01a88ac4f7 LoRaWAN: Terminate RX when receiving uplink messages
This prevents RX2 window to be enabled at the same time when repeating
transmission, when QoS repeated TX is in effect. Failure to do so
seems to place the LoRaWAN stack in a state where send() always fails
with WOULD_BLOCK error.
2019-08-23 11:37:41 +01:00
int_szyk aabd531d58 Fix TT_M3HQ build problem with SPI 2019-08-23 11:37:41 +01:00
int_szyk 08ffeba05d fix TT_M3HQ build problem with i2c 2019-08-23 11:37:41 +01:00
int_szyk a94c62267c Remove SERIAL_FC from target.json on TT_M3HQ
Development board TT_M3HQ doesn't have CTS/RTS on its pinout.
If that is not the case PinMap_UART_RTS should be created.
2019-08-23 11:37:41 +01:00
Chris Snow 4fc9190abf SPDX identifier and license amended 2019-08-23 11:37:41 +01:00
Chris Snow f077e992ab Enable WATCHDOG and RESET_REASON for other LPC1768 targets 2019-08-23 11:37:41 +01:00
Chris Snow a803a4de79 LPC1768 Reset Reason implementation 2019-08-23 11:37:41 +01:00
Chris Snow ac8e3da7bf LPC1768 WDT implementation 2019-08-23 11:37:41 +01:00
paul-szczepanek-arm 06342e496b handle early termination of ad struct 2019-08-23 11:37:41 +01:00
Mahesh Mahadevan fb109576f5 MIMXRT1050_EVK: Add TRNG support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Chun-Chieh Li 5180bfc601 Fix kvstore-static_tests failing with OOM
Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required.
2019-08-23 11:37:41 +01:00
int_szyk 6cb405d3b8 tweak watchdog kick reset test Change the value of KICK_ADVANCE_MS so targets pass the test in worst cases 2019-08-23 11:37:41 +01:00
Dominika Maziec 6875a734d7 TLSSocketWrapper::recvfrom sets SocketAddress output variable
UNITTEST added. TLSSocketWrapper unittest does not use stoip4_stub anymore.
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan ed8fc97388 Fix ANALOGIN support for LPC55S69
1. Update to handle 12-bit resolution
2. Properly handle the pin configuration
3. Update the pin setup to handle the ADC B channel

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Ganesh Ramachandran 918519fb62 Added new features to TMPM46B 2019-08-23 11:37:41 +01:00
Lin Gao acd1d51a77 Cosmetic changes to incorporate review feedback 2019-08-23 11:37:41 +01:00
Lin Gao 4b32d29015 Fix a build break with ARM compiler 2019-08-23 11:37:41 +01:00
Lin Gao a968c041e5 Implement PWMOUT 2019-08-23 11:37:41 +01:00
Lin Gao 2334d5a3f1 Added missing pinmap definitions. Fixed target JSON config to avoid treating cc3220sf a target 2019-08-23 11:37:41 +01:00
Lin Gao e628e5a5c8 Added CC3220 related changes to tools 2019-08-23 11:37:41 +01:00
Lin Gao 42c4d840c2 Add CC3220SF_Launchxl to Mbed OS 2019-08-23 11:37:41 +01:00
Veijo Pesonen 9e6e442ec6 changes the default TDBStore location
Thus far the default position has been after the application plus two
spare sectors. For simplicity and to have a predictable location for the
TDBStore with the default configuration the location is now switched to
the end of the flash. Two last sectors to be exact.
2019-08-23 11:37:41 +01:00
Veijo Pesonen 9dc59c4428 Allows having KVStore in internal and update image in external flash
Fixes a bug where it has not been possible to have KVStore in internal
flash while an update image image has been kept in external storage.
2019-08-23 11:37:41 +01:00
paul-szczepanek-arm fdbbf7bc8a fix recursive call 2019-08-23 11:37:41 +01:00
Olli-Pekka Puolitaival ff08d50916 Python3 fixes 2019-08-23 11:37:41 +01:00
int_szyk 555f86548a tweak atomic_test timeout 2019-08-23 11:37:41 +01:00
Chun-Chieh Li 027007110c 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-08-23 11:37:41 +01:00
Olli-Pekka Puolitaival c68bd37a96 Python3 fixes 2019-08-23 11:37:41 +01:00
Chun-Chieh Li 6b4745209e Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:

TARGET      EXP(us)     EXP+TOL(us) ACT(us)
NANO130     42000       43000       42939
NUC472      42000       43000       42236
M453        42000       43000       43274
M487        42000       43000       42877
M2351       42000       43000       43213

Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.

S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
2019-08-23 11:37:41 +01:00
Michal Paszta 31e2356a0b FATFileSystem::stat() enabled for all compilers
Macro which restricted compilation to GCC_ARM is removed.
Existing read_write() test is amended to call stat() and check that correct size is returned.
2019-08-23 11:37:41 +01:00
Laurent Meunier 47b63e9b72 __cplusplus guard fixed pwmout_device.h for STM32 families
This bug prevented using this header in cpp code directly.
2019-08-23 11:37:41 +01:00
int_szyk 0a50a4e0fa tweak overflow_protect() common_tickers() 2019-08-23 11:37:41 +01:00
int_szyk c82cc8f09c tweaked overflow_protect() lp_ticker() 2019-08-23 11:37:41 +01:00
Hugues Kamba 318dff4ae7 Do not ignore `features/frameworks/unity/` as it is needed by GreenTea test
The `unity` dir needs to be ignore differently.
2019-08-23 11:37:41 +01:00
Hugues Kamba 0b2b4ca042 Fix inclusion of test related directories by build tool 2019-08-23 11:37:41 +01:00
Przemyslaw Stekiel 93fe9015ca tests-mbed_hal-us_ticker: adapt to the new requirements (relax us ticker frequecy). 2019-08-23 11:37:41 +01:00
Przemyslaw Stekiel 9238e981af Relax us ticker frequency requirement.
This change is required by the Samsung S111(S5JS100). On this board timer clock used for us ticker operates at 26MHz.
According to current requirements, 8 MHz is the top limit for us ticker timer.

This change relaxes top limit to 100 MHz, but only for 32-bit timers.

Ticker common layer schedules one interrupt per timer rollover to trace elapsed time. We need to ensure that this operation is not performed too frequently. I.e. in case of 16-bit timer at 32 MHz, the timer rollover will happen after ~2 ms. This may cause that there will be no time for other tasks. That is why we increase the top limit, but only for 32-bit timers.
2019-08-23 11:37:41 +01:00
Martino Facchin be76717cf7 Add Arduino NANO33BLE 2019-08-23 11:37:41 +01:00
David Rauschenbach 378a7023c0 Define I²C related pin names for the L-Tek FF-LPC546XX target 2019-08-23 11:37:41 +01:00
cyliangtw 0eddd52999 Add Nuvoton M261 sub-family 2019-08-23 11:37:41 +01:00
Martin Kojtal 808c45062f
Merge pull request #11195 from ARMmbed/release-candidate
Release candidate for mbed-os-5.13.3
2019-08-14 11:55:15 +02:00
Martin Kojtal d587e73ab3 Cellular unittest: Fix wrong rebase - remove not valid file 2019-08-12 12:54:51 +01:00
Seppo Takalo dd1d867bac Merge pull request #11156 from artokin/nanostack_patch_for_mbed_os_5_13_x
Nanostack patch release for Mbed OS 5.13.x
2019-08-12 12:54:50 +01:00
Seth Itow ec35930848 stm32f413xh: add crash capture support for IAR 2019-08-12 12:54:49 +01:00