Commit Graph

18820 Commits (42e309e2c980e77334f7cc29a91e73b93a563ee2)

Author SHA1 Message Date
Mahesh Mahadevan 42e309e2c9 LPC1768: Enable RTC
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Przemyslaw Stekiel f9c91c1fd5 Fix for issue #8155 (NRF52832: time stops after 35 minutes)
Low power Timer is used as RTC for platforms that don't have HW RTC capabilities (like NRF52832).
`_rtc_lpticker_read(void)` function currently uses `Timer::read()` function to trace elapsed time.
`Timer::read()` returns seconds represented as `float` value, but this value is calculated from `int` since `Timer::read_us()` returns `int`.
This limits time tracing to ~35 min.
To fix this problem we will use `timer::read_high_resolution_us()` (which returns unsigned 64 bit value) instead of `Timer::read()`.
2018-10-08 15:18:50 +01:00
Steven e02872f4ea Apply @kjbracey-arm's comments 2018-10-08 15:18:50 +01:00
Steven cdadf637dc Word-sized input to GPCRC is only valid for 32-bit polynomial 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm 38b0df0f79 fix whitelist generation (set correct address type) 2018-10-08 15:18:50 +01:00
ccli8 ad248ca8ac Fix STDIO_UART error 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala f681e54690 update UNITTESTS/README.md 2018-10-08 15:18:50 +01:00
David Saada 8f806f834e Handle NVStore tests in a low memory environment 2018-10-08 15:18:50 +01:00
Amanda Butler 665c98f522 Add GH link to README.md
Add link for contributing to docs, as well.
2018-10-08 15:18:50 +01:00
Amanda Butler 9919ca6e24 Add link to README.md
Add link to published documentation.
2018-10-08 15:18:50 +01:00
Tero Jääskö 353c4fd9b3 platform: error: fix bogus usage of memset()
Code had mixed up order of 'c' and 'n' arguments to memset().
Fix this.

Spotted-by: kjbracey-arm & a GCC profile without "-fno-builtin"

Related GCC warnings:
---8<---8<----
[Warning] mbed_error.c@123,5: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
[Warning] mbed_error.c@282,5: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 119246d132 add UNITTESTS folder to exclude patterns in doxygen_options.json 2018-10-08 15:18:50 +01:00
Russ Butler ddceb6597a Replace macros with config options
Add a config option for the following values:
MBED_SYS_STATS_ENABLED
MBED_STACK_STATS_ENABLED
MBED_CPU_STATS_ENABLED
MBED_HEAP_STATS_ENABLED
MBED_THREAD_STATS_ENABLED
MBED_CONF_APP_MAIN_STACK_SIZE
MBED_CONF_APP_TIMER_THREAD_STACK_SIZE
MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
MBED_CONF_APP_THREAD_STACK_SIZE

To maintain backwards compatibility inside the RTOS both
APP and RTOS config values can be used.
2018-10-08 15:18:50 +01:00
Jarno Lamsa 38550771ef Add documentation about icetea testcases 2018-10-08 15:18:50 +01:00
Ari Parkkila 85a6a075eb Cellular: Disable AT+CGAUTH on HE910 and BC95 2018-10-08 15:18:50 +01:00
Ari Parkkila fe385baa88 Cellular: Implement APN authentication for BG96 2018-10-08 15:18:50 +01:00
Ari Parkkila a060089a7a Cellular: Fix APN authentication before context activation 2018-10-08 15:18:50 +01:00
ccli8 8e37c213e4 Create MCU_M480 for inheritance by M487 targets
In targets.json, create MCU_M480 for inheritance by NUMAKER_PFM_M487/NUMAKER_IOT_M487.
2018-10-08 15:18:50 +01:00
ccli8 c59d20f12f Add missing mbedtls_device.h for NUMAKER_IOT_M487 2018-10-08 15:18:50 +01:00
ccli8 38c7abfe7f Support Nuvoton's NuMaker-IoT-M487 board 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 2bd1f64531 replace missing types 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 814ff08789 fix athandler unit tests and declaration conflict 2018-10-08 15:18:50 +01:00
Kevin Bracey 62a55a6423 Remove IAR assembler macros containing quotes
IAR assembler 7.80 has some problems handling difficult macros, leading
to immediate exit with return value -11.

In particular, a URL string has been causing problems, presumably due to
the "//" resembling a comment.

A previous escaping workaround in 0d97803 seemed to work, but the crash
has still been seen with a particular target.

Previous creation of the extended command line file for the IAR
assembler was stripping quotes from macros. This rendered the resulting
definitions for string-containing macros incorrect, which means that we
can assume no assembler code is currently relying on them.

Therefore, as a precautionary measure to avoid the crash, simply remove
all macros containing strings when creating them for IAR. This
apparently clears the crashes seen during testing of
https://github.com/ARMmbed/mbed-os/pull/8023
2018-10-08 15:18:50 +01:00
Steven a518ff9e8e Supply default test config for TB_SENSE_1 as well 2018-10-08 15:18:50 +01:00
Steven 92cb4fe6b7 Hotfix for PR #7778
TB_SENSE_12 would have been left behind by the changes in #7778. This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-10-08 15:18:50 +01:00
ccli8 203e87ba61 Fix Greentea test common_tickers failed
1. Disable ticker interrupt which would interfere with fire_interrupt speed test
2. Enlarge test period to avoid timeout error
2018-10-08 15:18:50 +01:00
ccli8 78cbc0db97 Synchronize us_ticker to lp_ticker
This is to make implementations of us_ticker/lp_ticker consistent.
2018-10-08 15:18:50 +01:00
ccli8 e884ce9032 Fix lp_ticker_free cannot pass speed test 2018-10-08 15:18:50 +01:00
ccli8 a0c2518761 Fix spurious us_ticker/lp_ticker interrupts
If us_ticker/lp_ticker is scheduled and then the interrupt is disabled, the originally scheduled
interrupt may still become pending. If this occurs, then an interrupt will fire twice on the next
call to us_ticker_set_interrupt/lp_ticker_set_interrupt - once immediately and then a second time
at the appropriate time.

This patch prevents the first interrupt by clearing interrupts in
us_ticker_set_interrupt/lp_ticker_set_interrupt before calling NVIC_EnableIRQ.
2018-10-08 15:18:50 +01:00
bcostm 413ee535da STM32: fix wrong LSE config in serial_baud function 2018-10-08 15:18:50 +01:00
studavekar e1b57ef24e specify mbed-cli version requirement 2018-10-08 15:18:50 +01:00
Kimmo Vaisanen e7d7b0ded6 Lora: Fix sticky MAC command retransmission
This commit fixes the bug where sticky MAC commands were duplicated in
send buffer everytime send() was called.
2018-10-08 15:18:50 +01:00
Seppo Takalo b6a7cf5730 Clarify test configuration in Socket/Networking test document 2018-10-08 15:18:50 +01:00
Maciej Bocianski f3fee59972 qspi_hal_test - adjust used memory sector count
set flash sector count to 1024 for EFM32GG11_STK3701(MX25R3235F)
set flash sector count to 2048 for NRF52840_DK(MX25R6435F)
2018-10-08 15:18:50 +01:00
Maciej Bocianski 51cac63eeb fix qspi address sending for nrf52
fix address sending in qspi_command_transfer
now address is send MSB first
2018-10-08 15:18:50 +01:00
Maciej Bocianski 05062bef52 qspi_hal_test - remove unused variables 2018-10-08 15:18:50 +01:00
Maciej Bocianski 325ad8179d qspi_hal_test - randomize flash RW addres
randomize flash address during test to extend flash life
2018-10-08 15:18:50 +01:00
Maciej Bocianski 71f473a45b qspi_hal_test add DPI and QPI support 2018-10-08 15:18:50 +01:00
Maciej Bocianski 0c15c30194 qspi_hal_test refactoring
- code refactoring and preparation for enabling DPI/QPI tests
- reduced multiple test count to 4
- use common flash config header for all MX25RXX35F chips
- fix sector erase max time on N25Q128A
2018-10-08 15:18:50 +01:00
Olli-Pekka Puolitaival 31193dbd92 Move exception earlier 2018-10-08 15:18:50 +01:00
Olli-Pekka Puolitaival b57c9d3aff Check that TEST_APPS folder exists 2018-10-08 15:18:50 +01:00
Olli-Pekka Puolitaival 557f38e708 Move exception in two lines that traceback looks better 2018-10-08 15:18:50 +01:00
Olli-Pekka Puolitaival 1fb99b7a53 Py3 support back. Reverted accidentially in icetea changes rebase 2018-10-08 15:18:50 +01:00
Seppo Takalo 66bf5c43f2 Remove the unstable SYNCHRONOUS_DNS_CACHE testcase
Will be reverted once the test case is fixed
2018-10-08 15:18:50 +01:00
Michael Kaplan 765cee5a88 Fix EFM32 pwmout hal function pwmout_period
In pwmout_period() is a check for changed values, which is not working because of a wrongly used bitmask. This is fixed now.
2018-10-08 15:18:50 +01:00
ccli8 668a10e8f2 Update to NuMaker-PFM-M2351 V1.3 board
1. Update UNO pin A4/A5
2. Update UNO pin D2/D3
2018-10-08 15:18:50 +01:00
Kimmo Vaisanen ffa46b15f3 LoRa: Stop processing MAC commands if command id is unknown
The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.

This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.
2018-10-08 15:18:50 +01:00
Cruz Monrreal 063118ca9d Update mbed-cloud-sdk in requirements.txt 2018-10-08 15:18:50 +01:00
justinkim 8a8f6734c0 Stack size change to 1K in IAR Linker Script. 2018-10-08 15:18:50 +01:00
justinkim b66a4f61d6 Fix Bug : IAR heap memory problem 2018-10-08 15:18:50 +01:00