Commit Graph

16921 Commits (4dfc20ccd80fdab01bd5d8947e7e52152613bc86)

Author SHA1 Message Date
Teppo Järvelin a771f0458a Cellular: fixed unit tests to compile after rebasing to latest. 2018-06-15 13:30:56 +01:00
Teppo Järvelin 64e8363d69 Cellular: added more unit tests for CellularDevice. 2018-06-15 13:30:56 +01:00
Teppo Järvelin d5a6baf5cd Cellular: added greentea test for cellular device. 2018-06-15 13:30:56 +01:00
paul-szczepanek-arm bf6407e3b7 check that flags have the IRK stored before retrieving it 2018-06-15 13:30:56 +01:00
ccli8 62604bb35c Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6 2018-06-15 13:30:56 +01:00
Toyomasa Watarai ea81d4bcd8 Add volatile modifier for CP15 accessors
Add volatile modifier to prevent ARM compiler to remove inline function calls for __set_CP and __get_CP.
2018-06-15 13:30:56 +01:00
klaas019 f56dc0ac19 Add files via upload 2018-06-15 13:30:56 +01:00
klaas019 4020708351 Delete bootloader.bin 2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel b49aa213d2 K64F CRC driver: Fix coding style 2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 904e3f05a7 K64F CRC driver: Fix handling of CRC final XOR value
According to the test results final XOR was incorrectly handled by the CRC driver.
This patch fixes this issue.
2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel fcaf166bf4 K64F CRC driver: hal_crc_is_supported() - fix condition which validates CRC width
It looks like the intention was to return false when CRC width is different than: {16, 32} bits.
2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 07773fe312 STM CRC driver: hal_crc_compute_partial() - validate input paramaters. 2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 592ec6fdd0 HAL CRC test: Fix out of memory issue on NULCLEO_F070RB, NULCLEO_F072RB/IAR
Allocate test case array on stack since memory limits on some boards.
2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 648710ba5a Add HAL CRC test and test header file. 2018-06-15 13:30:56 +01:00
Przemyslaw Stekiel 975644740e Add testing requirements to HAL CRC header file. 2018-06-15 13:30:56 +01:00
Maciej Bocianski 8990f23e43 ticker test improvement
Make multiticker test more reliable when scheduling very early interrupts.
When very early interrupt is scheduled (e.g now + 2[ticks]) then it's likely
that it won't be fired in some circumstances and as a result there is overdue
event in queue. That overdue event can be mistakenly scheduled again by
`Ticker::detach` (detach calls schedule if head was removed). That's why we
should check interrupts counter immediately after wait period and before detach loop
2018-06-15 13:30:56 +01:00
paul-szczepanek-arm d07d966d0f missing return
function would potentially send a reject and accept at the same time
2018-06-15 13:30:56 +01:00
Michael Coulter 8fbdaa9bd2 Fixes for RZ_A1H issue 6543 Removed debugging code, fixed errors indicated in the comments. 2018-06-15 13:30:56 +01:00
Kevin Bracey 172c69ec0d Correct PPPCellularInterface::get_gateway()
Two cascading copy-paste errors stopped this working:

  * PPPCellularInterface::get_gateway() called
    nsapi_ppp_get_ip_address();
  * nsapi_ppp_get_gateway() called the interface's get_netmask().

First bug has always been there - second one was introduced in 5.9.

AT_CellularNetwork currently lacks calls to get both netmask and gateway
- this patch would be needed for that when added.
2018-06-15 13:30:56 +01:00
Ari Parkkila 09e14567fe Cellular: Disable Greentea tracing to consume less memory 2018-06-15 13:30:56 +01:00
Kari Haapalehto 9f8321fb16 Fix data aligment problem at STM32F4 hash write 2018-06-15 13:30:56 +01:00
Kevin Bracey 0e676883c8 NSAPI: Use IPv6 conversion routines from frameworks
Share IPv6 conversion code with mbed_trace, Nanostack and
mbed client.

Output formatting is better, being conformant to RFC 5952.
2018-06-15 13:30:56 +01:00
Russ Butler 607f78213d Fix USB on Kinetis devices
Set correct SYSMPU register for proper USB operation.  This bug was
introduced when the SYSMPU register names and defines were updated
in the commit:
"K64F: Updated the SYSMPU SDK driver"
93f8cfed05
2018-06-15 13:30:56 +01:00
Ari Parkkila 0aff4e836b Cellular: Enable AT debug also when mbed-trace is disabled 2018-06-15 13:30:56 +01:00
jeromecoutant 01fe512daa STM32 ETH : remove TX RX locking interrupt perforation 2018-06-15 13:30:56 +01:00
jeromecoutant 7c0f54cc16 Dual Bank Flash support update 2018-06-15 13:30:56 +01:00
bcostm 9be9d97b06 Add support of Flash dual bank mode on DISCO_F769NI 2018-06-15 13:30:56 +01:00
bcostm fb639a47e2 Add support of Flash dual bank mode on NUCLEO_767ZI 2018-06-15 13:30:56 +01:00
Teemu Kultala 80464502fa more effective port randomisation 2018-06-15 13:30:56 +01:00
Teemu Kultala 394b2f157d random socket port number 2018-06-15 13:30:56 +01:00
Mika Leppänen b1faa8f31d Changed TCP socket test to use shared buffers
Changed RX and TX buffers used in TCP socket tests to global variables
to conserve memory.
2018-06-15 13:30:56 +01:00
Mika Leppänen 4d3921d498 Updated EMAC test environment for LPCxx boards
Updated EMAC memory manager to use libservice nsdynmemlib
for EMAC memory buffers. Located the nsdynmemlib buffer heap
to DMA safe memory bank on LPCxx boards. Optimized placement of
static variables on EMAC test environment for LPCxx boards to
maximize available memory.
2018-06-15 13:30:56 +01:00
bcostm 9e915556a7 Add license 2018-06-15 13:30:56 +01:00
bcostm 8b7e62bf65 Remove HAL_TICK_DELAY (no more used) 2018-06-15 13:30:56 +01:00
bcostm 075e445036 Cleanup
- Remove calls to HAL_SuspendTick and HAL_ResumeTick
- Rename stm_common.c in hal_tick_common.c
2018-06-15 13:30:56 +01:00
bcostm 869b47ddb3 Remove code related to timer channel 2 2018-06-15 13:30:56 +01:00
bcostm f3ea877f3a Replace HAL_GetTick 2018-06-15 13:30:56 +01:00
Vincent Coubard b80471a005 Nordic: Fix nrf sections on ARMCC
The nrf section features has different implementations for each compilers supported by mbed-os. The header guard was ruling out compiler other than GCC by checking if __GNUC__ is defined. This check is not applicable on mbed os as the ARM compiler compile sources with gnu compatibility.

This patch makes sure that the right implementation is selected for the right compiler . The previous patch has been reverted as it is not reliable.
2018-06-15 13:30:56 +01:00
Juha Ylinen 8dbd41c57f Add targets to Greentea EMAC tests
Update test configuration file for WicedInterface
2018-06-15 13:30:56 +01:00
Teppo Järvelin 33653e89e3 Review fix: - set ppp_active false if close fails in ppp disconnect. - unset sigio in ppp disconnect - take ownership of filehandle in CellularNetwork::disconnect even in case of failure 2018-06-15 13:30:56 +01:00
Teppo Järvelin 7a53ed276e Fixed ppp disconnect hangs when connection failure. 2018-06-15 13:30:56 +01:00
Amanda Butler 0d8b331eb0 Copy edit README.md
Tweak bullet's phrasing to clarify meaning
2018-06-15 13:30:56 +01:00
David Saada 4d7a15e0f1 Fix NVStore README file (changed APIs) 2018-06-15 13:30:56 +01:00
Kimmo Vaisanen 58230e0786 Lora: Check for valid ABP params
Check that ABP dev_addr and nwk_id is non-zero and keys are not null.
2018-06-15 13:30:56 +01:00
Hasnain Virk e6e3993d4a dr_range bitfield should be unsigned integer
If the value is an integer, the 4th bit is used for sign, so you can store
values upto 7 only whereas the datarate values could go upto 15. That's why
we need to turn this to an unsigned integer so that the last bit can also be used.
2018-06-15 13:30:56 +01:00
Hasnain Virk 1a074acbb5 Style changes only
Travis astyle check pointed out some of the style mismatches in the code.
Not all of them are worth changing as they make the code unreadable and
some of them are semantically wrong.

So in this commit, we have attempted to pick the most important style
mismatches and rectify.
2018-06-15 13:30:56 +01:00
Hasnain Virk c705f94e49 Moving missing public data structures
A few of the structures were missing from the storage space which is
visible topublic APIs. Suc structures are now being added.
2018-06-15 13:30:56 +01:00
Kimmo Vaisanen 05ee60f8cb Lora: All API methods should check if stack has been initialized 2018-06-15 13:30:56 +01:00
cyliangtw 790d24740a Support default tz_module for event loop & lwip 2018-06-15 13:30:56 +01:00
Kevin Bracey cfed8228eb Nanostack EMAC - avoid initialisation race
Hard fault was possible if packet reception occurred during
initialisation. Adjust start-up ordering and add NULL check to
avoid.
2018-06-15 13:30:56 +01:00