Commit Graph

17291 Commits (mbed-os-5.9)

Author SHA1 Message Date
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
Amanda Butler 872810eb68 Copy edit LoRaWANBase.h
Copy edit file for minor grammar nits.
2018-08-23 16:58:10 -05:00
Kimmo Vaisanen 62bf677af4 Lora: Reformate LoRaWANBase documentation
- Modified "user" to "you"
- Modified line length to ~100 characters.
2018-08-23 16:58:10 -05:00
Amanda Butler 7ff245019e Copy edit LoraWANBase.h
Copy edit file, mostly for consistent U.S. spelling and precise language.
2018-08-23 16:58:10 -05:00
Kimmo Vaisanen a152a8536c Lora: Document all possible error codes for LoRaWANBase methods
Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.
2018-08-23 16:58:10 -05:00
jeromecoutant 9c0cdf7c36 STM32 : Sunday value is different for STM32F1 2018-08-23 16:58:10 -05:00
MateuszM e2bc97cedd fix formatting 2018-08-23 16:58:08 -05:00
MateuszM 7399b38675 Fix issue #5119, changed pwmout_api.
The period of pwm we could get was limited to 69.9 ms, because prescaler value was set once only during initialization. base->mod is a 16 bit register, to get longer period we have to slow down the clk.
2018-08-23 16:58:08 -05:00
Bence Kaposzta d8f3e5c3e3 Fix for CM3DS GPIO api 2018-08-23 16:58:08 -05:00
Naveen Kaje 3d5aed282e nrf_drv_twi: remove redundant nrf_drv_disable call in nrf_drv_twi_uninit
i2c_api implementation for NRF52 does a disable() followed by uninit().
The uniinit() implementation in NRF drivers layer makes another call to
disable. This throws off the state of the I2C instance leading to an
assert. Since the disable is only invoked from the I2C API layer for
Nordic, remove this redundant call.

Signed-off-by: Naveen Kaje <Naveen.Kaje@arm.com>
2018-08-23 16:58:05 -05:00
Kari Haapalehto 41574601c9 Update mesh_system_heap_error_handler to use new error codes and mbed_error call 2018-08-23 16:58:05 -05:00
Maciej Bocianski 972f450013 tests-mbed_drivers-timer: change delay method 2018-08-23 16:58:02 -05:00
Teppo Järvelin d7be0fa3ac Cellular: Fixed sms greentea by removing uncommon character set setting 2018-08-23 16:58:01 -05:00
Teppo Järvelin 1de940d1bc Cellular: Fixed sms greentea tests init
Fixed sms greentea tests by making sure that device is ready to accept
AT commands before sending them.
2018-08-23 16:58:01 -05:00
jeromecoutant 21f88d56b0 Timeout tests : unstable result
RTX waits, such as sem.wait(N), delays for between N-1 and N cycles.
As lp_ticker is not so accurate as us_ticker,
sometines, wait is expiring just before the lp_timeout.
2018-08-23 16:57:56 -05:00
Kari Haapalehto 55bc56dcae mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530 led configuration have been updated. Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now defined but not connected. 2018-08-23 16:57:51 -05:00
Cruz Monrreal f8b140f8d7
Merge pull request #7753 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.5
2018-08-13 18:28:27 -05:00
Jimmy Brisson 5dd290412c Stabilize macro ordering in mbed_config.h 2018-08-13 14:48:10 +01:00
adbridge 038365f048 Update Mbed version block 2018-08-13 14:44:33 +01:00