Commit Graph

17259 Commits (mbed-os-5.9.6)

Author SHA1 Message Date
Martin Kojtal 0fdfcf7350
Merge pull request #7874 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.6
2018-08-24 11:00:14 +02:00
Arto Kinnunen 13ac199675 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 82bbdcc..3abd82e
3abd82e Merge branch 'release_internal_v8.1.1' into release_external_v8.1.1
f2ca069 Update apache license to config-files (#1781)
b2179ee Rename cfg-files to h-files (#1780)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 3abd82e07a733fbb84e786f138541b5a0ef50c26
2018-08-23 19:55:01 -05:00
David Saada 93b3991cc0 RTOS threads test: Handle out of memory cases 2018-08-23 19:13:46 -05:00
Mahesh Mahadevan 5023f48729 MIMXRT1050: Fix I2C Byte transfer functions
1. Added a flag to issue START command
2. Do not send START command inside i2c_start function as
   the LPI2C hardware will issue a STOP on reception
   of a NACK
3. Remove the i2c_address global variable, this is not
   required

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-23 19:11:02 -05:00
kert 31309e3923 Add combined hex target to CMake 2018-08-23 19:11:02 -05:00
Kimmo Vaisanen 6ce5e1a1b6 Lora: Fix join-response failure handling
Thix commit fixes a bug where stack was resending join-accept already
after RX1 if received join-response was invalid.

Stack should wait for RX2 before resending the join-accept.
2018-08-23 19:06:58 -05:00
jeromecoutant 838a69d695 STM32 : update LPTICKER_DELAY_TICKS value
- decreased to 1 for low freq targets
- removed for high freq targets
- not changed for targets with LPTIM
2018-08-23 19:06:58 -05:00
jeromecoutant c158112225 STM32 RTC : remove compilation warning with unused variable 2018-08-23 19:06:16 -05:00
jeromecoutant 09aac9b0d5 STM32 LPTICKER : RTC wake up timer is reset before settign a new one 2018-08-23 19:06:16 -05:00
Juha Ylinen 37404941a1 Nanostack: Fix return code for unsupported socket options 2018-08-23 19:06:14 -05:00
Steven 244c10d9b3 Fix stack size for LwIP on EFM32GG11
Typo in the config file made the LwIP stack way too small on EFM32GG11 STK3701 target. Additionally, the EMAC thread stack was slightly too small when debug printing is on.
2018-08-23 19:06:12 -05:00
Mahesh Mahadevan d70f6ffb0c MIMXRT1050_EVK: Update the I2C driver
1. Remove the repeated_start flag and code as this is not needed
   for the LPI2C module
2. Enable the SION bit on the I2C pins
3. Enable 22K Pullup option of the I2C pins
4. Update the 0 byte write implementation to ensure the START
   command gets flushed out of the FIFO

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-23 19:06:11 -05:00
Hasnain Virk d5abbcbd8c unused variable warning in LoRaMac.h for release build
In release builds where MBED_ASSERT macro is syphoned off, we were hitting
an unused variable warning. To mitigate that we could direct the variable
used in MBED_ASSERT to void.
2018-08-23 19:06:09 -05:00
Simo Sillankorva f5ec83c076 Change NUCLEO_F303RE IAR Linker script heap size * Change the heap size value to be the stated 1/4 of the RAM. 2018-08-23 19:06:09 -05:00
Simo Sillankorva 2dc749f1db Add bootloader support for target NUCLEO_F303RE 2018-08-23 19:06:09 -05:00
jeromecoutant a6cf01f948 STM32L4 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant dbcaafe561 STM32L1 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant ae0872ed92 STM32L0 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant c1e7ffff60 STM32F7 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant 3476f88e96 STM32F4 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant 0b37633a1e STM32F3 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant 3884e099ad STM32F2 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant 0feb290052 STM32F1 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
jeromecoutant 0f269bf220 STM32F0 assert in SetSysClock replaced 2018-08-23 19:06:06 -05:00
Amanda Butler 7f63ec6d50 Copy edit CellularSMS.h
Copy edit file for parallelism, consistent capitalization and minor grammar nits.
2018-08-23 19:01:12 -05:00
Amanda Butler 08312f369e Copy edit CellularSIM.h
Copy edit for parallelism, and fix typo and capitalization from before these changes.
2018-08-23 19:01:11 -05:00
Amanda Butler a8116b1937 Copy edit CellularPower.h
Copy edit file for parallelism, and fix typo
2018-08-23 19:00:55 -05:00
Amanda Butler f021763217 Copy edit CellularNetwork.h
Copy edit file for parallelism and active voice.
2018-08-23 19:00:55 -05:00
Amanda Butler cc3eda9b9d Copy edit CellularInformation.h
Copy edit file for parallelism and active voice.
2018-08-23 19:00:55 -05:00
Teppo Järvelin 2b9f670488 Cellular: review fixes for doxygen changes of return values. 2018-08-23 19:00:34 -05:00
Teppo Järvelin 08d7bcf49e Cellular: Document all possible error codes for cellular API. 2018-08-23 19:00:34 -05:00
David Saada 3ba5feb252 Fix TMPM64B IAR linker file
Remove unnecessary manual inclusion of tmpm64b_fc object file in linker script
2018-08-23 17:18:18 -05:00
Oren Cohen 604d305d24 Restore lp_ticker_free to previous implementation when running with uvisor
This is a temporary patch until uvisor is removed
2018-08-23 17:18:18 -05:00
paul-szczepanek-arm 8c53238149 store secure connections ltk in both local and peer entry 2018-08-23 17:17:01 -05:00
Qinghao Shi c27895c92d Refactoring memory regions definitions for MPS2_M0 targets
* align MPS2_M0 FVP target with other MPS2 targets
* moved memory_zones.h
* chnage the flash_api.c where referencing the old memory_zones
* modify mbed_rtx.h to use the memory_zones definations as INITIAL_SP
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-23 17:17:01 -05:00
Qinghao Shi e6dd6baeea Refactoring memory regions definitions for MPS2_M0P targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-23 17:17:01 -05:00
Qinghao Shi a363eb4aeb Refactoring memory regions definitions for MPS2_M7 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-23 17:17:01 -05:00
Qinghao Shi f24f9375e7 Refactoring memory regions definitions for MPS2_M4 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-23 17:17:01 -05:00
Qinghao Shi 0592ad2058 Refactoring memory regions definitions for MPS2_M3 targets
* added memory_zones.h
* all linker scripts reference the definitions from memory_zones.h
* tool chains use predefined 1K as ISR Stack size
* ARM Complier 5 and GCC will auto calculated heap size
* IAR use predefined 2MiB as heap size
2018-08-23 17:17:01 -05:00
Mika Leppänen 4be46273b9 Moved ASYNCHRONOUS_DNS_SIMULTANEOUS_REPEAT under mbed extended tests
Test is giving problems in some networks. Could be that DNS server
is regarding repeated DNS enquiries on the test to be caused by
malfunctioning device.
2018-08-23 17:16:59 -05:00
Olli-Pekka Puolitaival f3f72c866d Fix target_name variable in some use cases 2018-08-23 17:16:59 -05:00
David Saada b53cb325d7 Check max possible keys in NVStore tests. 2018-08-23 17:16:57 -05:00
Russ Butler bcdbb2bde1 Remove unnecessary low power ticker rescheduling
Schedule the next OS tick inside of the ticker interrupt rather than
in the systick interrupt. Scheduling this while the ticker is
dispatching prevents an unnecissary rescheduling since this
rescheduling is done anyway when dispatching is finished.

This is particularly useful for the low power ticker on devices with
LPTICKER_DELAY_TICKS set to a non-zero value. This is because the low
power ticker cannot be reschduled immediately and needs to fall back
onto the microsecond ticker which temporarily locks deep sleep.

Note - the optimization in this commit is made possible by the commit:
"Don't reschedule ticker while dispatching"
2018-08-23 17:16:57 -05:00
Russ Butler cb0c189135 Don't reschedule ticker while dispatching
Wait until dispatching is finished before scheduling the next ticker
interrupt. This prevents unnecissary calls to set_interrupt from
periodic elements being added back.

This is particularly useful for the low power ticker on devices with
LPTICKER_DELAY_TICKS set to a non-zero value. This is because the low
power ticker cannot be reschduled immediately and needs to fall back
onto the microsecond ticker which temporarily locks deep sleep.
2018-08-23 17:16:57 -05:00
Christopher Haster 39d5e2d362 equeue: Fixed overflow in rtos-less timeout code
Thanks to simonnilsson
2018-08-23 17:16:51 -05:00
Olli-Pekka Puolitaival dc0a2332b8 Fix building with python 3 2018-08-23 17:16:51 -05:00
Olli-Pekka Puolitaival 9cbc91f2d7 Print stack trace in case of verbose 2018-08-23 17:14:47 -05:00
Olli-Pekka Puolitaival 3760e9f012 Fix build_data functionality with python 3 2018-08-23 17:14:47 -05:00
Mirela Chirica df61693737 Cellular: Handle AT response stop in case IP address is missing from CGPADDR response 2018-08-23 16:58:13 -05:00
Kimmo Vaisanen 6dd97768a5 Lora: send and receive methods return LORAWAN_STATUS_NOT_INITIALIZED if not initialized
In order have a consistent return value for all methods in case of system is uninitialized
now also send and receive methods can return LORAWAN_STATUS_NOT_INITIALIZED.
2018-08-23 16:58:10 -05:00