Commit Graph

26716 Commits (b9d824d67cb15cf43a205aa5c78336aaa2aaeecf)

Author SHA1 Message Date
Kimmo Vaisanen 5ae3b078d4 Add UT for AT_CellularNetwork::is_active_context 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen 89ca070e82 Add UT for CEREG URC handler 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen b41c638ac5 Add possibility to test URC handlers 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen 3c5958035a Improve UT for cellular properties 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen a6eed00d5b Add UT for CellularUtil::hex_to_char and ::hex_str_to_char_str
Also added checks for pointer validity.
2019-10-16 11:53:52 +01:00
Kimmo Vaisanen 6eb8fc5942 Unittests for CellularList 2019-10-16 11:53:52 +01:00
Hugues Kamba b8d30a426e Fix Coverity issue: Initialize FlashIAP non-static member in constructor 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen 76171e54e7 Cellular: Handle SEND FAIL and ERROR response
QISEND command can respond either SEND OK, SEND FAIL or ERROR.
If response is not SEND OK, sent bytes should not be checked but
error should be reported.
2019-10-16 11:53:52 +01:00
Leszek Rusinowicz f5f6caa3b0 FUTURE_SEQUANA: InterruptIn implementation bug fix
Fixed HAL API implementation for InterruptIn:
 - Interrupt was not enabled by default after configuration as it should be.
 - Interrupt-to-object linking was not handled properly.
2019-10-16 11:53:52 +01:00
Mirela Chirica 2d967dacbf Cellular: Enable IPV6 for WISE_1570 2019-10-16 11:53:52 +01:00
jeromecoutant b3a14b5ead STM32WB : LSI clock selection when LSE is not available 2019-10-16 11:53:52 +01:00
jeromecoutant 7272fe0613 STM32H7: LSI clock selection when LSE is not available 2019-10-16 11:53:52 +01:00
Hugues Kamba 1c1dfe1dd8 Correct force inline syntax for IAR compiler
Unlinke other compilers supported, the IAR compiler requires the
pre-processor extension to force inline a method to be placed before
the keyword `template` if the method is declared with one.
2019-10-16 11:53:52 +01:00
Kyle Kearney 2b277e8827 Improve psoc6csp doxygen comments 2019-10-16 11:53:52 +01:00
Kyle Kearney 3acb1e49f8 Reorganize resource and rtos abstraction files
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-10-16 11:53:52 +01:00
Kyle Kearney 0a54b6900e Update to latest HAL
- Add const and static qualifiers in places where they are
  applicable but missing
- Remove headers for drivers that aren't implemented yet
- Misc minor bugfixes
2019-10-16 11:53:52 +01:00
Kyle Kearney 02da070162 Fix incorrect integer division in analogout_read
Replace with multiplication by the floating point reciprocal, to
 produce a floating point result while being more efficient than
 floating point division.
Addresses the issue raised by kjbracey-arm in
https://github.com/ARMmbed/mbed-os/pull/11324#pullrequestreview-282433989
2019-10-16 11:53:52 +01:00
Olli-Pekka Puolitaival f95187599f Fix documentation 2019-10-16 11:53:52 +01:00
Olli-Pekka Puolitaival 95f04e104a Make able to define build jobs amount when building examples 2019-10-16 11:53:52 +01:00
James Wang 318f686ffc remove NRF52840, NRF52832 static_memory_defines set
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52840 to use softdevice, it need MBED_RAM_START to set the true application ram start

default static_memory_defines is true, so just remove NRF52840 and NRF52832's set
2019-10-16 11:53:52 +01:00
James Wang 1bed555921 set NRF52832 static_memory_defines true
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52832 to use softdevice, it need MBED_RAM_START to set the true application ram start
2019-10-16 11:53:52 +01:00
Hugues Kamba 3bf1979d74 minimal-printf: Add capability to run floating point tests manually 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen 2bf62bf4c5 Cellular: Fix get_interface_name to not include leading zero
Multihoming documentation about interface name:
"Two character name string is concatenated with 8 bit value containing index which is incremented on each netif addition"

Cellular uses context id as index and to follow LWIP (LWIP::Interface::get_interface_name), index does not include leading zeros.
2019-10-16 11:53:52 +01:00
Mark Edgeworth ed5dc1cdd5 Review changes 2019-10-16 11:53:52 +01:00
Mark Edgeworth bb5857b92c Update tools/toolchains/mbed_toolchain.py
Co-Authored-By: Graham Hammond <graham.hammond@arm.com>
2019-10-16 11:53:52 +01:00
Mark Edgeworth 3d23962faf IOTBTOOL-349: Correct handling of spaces in project name.
This fixes an issue where a space in the name of a project would cause a link failure
2019-10-16 11:53:52 +01:00
Hugues Kamba 73133a19f5 Prevent unreachable statements and correct variable sizes. 2019-10-16 11:53:52 +01:00
Michal Paszta 9f947e34c0 Fix compilation warnings from GCC 2019-10-16 11:53:52 +01:00
Ari Parkkila 31528016b5 Cellular: Add flow control (IFC) in BG96 AT driver 2019-10-16 11:53:52 +01:00
Kimmo Vaisanen c5c0261737 Cellular: Fix stop tag for Quectel M26 send command
Possible responses for send command are SEND OK<cr><ln>, SEND FAIL<cr><ln> or ERROR<cr><ln>
so normal OK<cr><ln> response check does not work properly.
2019-10-16 11:53:52 +01:00
Martin Kojtal 19cb034b13 iar export: fix invalid optmization flag - remove from misc
The exported project uses project file to set optimization, we can provide this
via misc options. It was recently changed to Ol and this was not handled in our
scripts.
2019-10-16 11:53:52 +01:00
int_szyk 7411db1deb Change the LSI_VALUE according to documentation 2019-10-16 11:53:52 +01:00
int_szyk d6e2edc8d5 Coverity changes in USBMSD.cpp 2019-10-16 11:53:52 +01:00
Marcin Tomczyk 227db159fa Add missing documentation about tls testing - review comments fixes 2019-10-16 11:53:52 +01:00
Amanda Butler a26835d9ac Edit README.md
Edit document.
2019-10-16 11:53:52 +01:00
Marcin Tomczyk 82cc1801d3 Add missing documentation about tls testing 2019-10-16 11:53:52 +01:00
Hugues Kamba 0ec45a50ea Minimal-printf: Remove file printing in README and update tables 2019-10-16 11:53:52 +01:00
jeromecoutant c9f7798df5 STM32WB ADC : Consecutive VBAT values reading was not possible
Add Stop after read
2019-10-16 11:53:52 +01:00
Darryl Green c4bc75661b Remove Mbed Crypto source files before importing 2019-10-16 11:53:52 +01:00
Hugues Kamba 13b9035f76 Suppress Coverity warnings 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 7dc92567f9 Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards 2019-10-16 11:53:52 +01:00
Mirela Chirica 2cc2d690be Cellular: Enable IPv6 stack property for BG96 2019-10-16 11:53:52 +01:00
Mirela Chirica 1b43450607 Cellular: Check IP version of send to address 2019-10-16 11:53:52 +01:00
Mirela Chirica 4078b6f398 Cellular: IP stack property redefined 2019-10-16 11:53:52 +01:00
Mirela Chirica a846eb3c3c Cellular: Stack type based on assigned IP addresses versions 2019-10-16 11:53:52 +01:00
Hugues Kamba 462103feb5 Fix Coverity issues
Issues fixed are related to:
* Non-static class member initialization in constructors
* Unused function return value
* Always false statements
2019-10-16 11:53:52 +01:00
Qinghao Shi 8205a15342 TEST: update compare log file name 2019-10-16 11:53:52 +01:00
Matthew Macovsky 60a98b91d0 Add catch-all rule to makefile template 2019-10-16 11:53:52 +01:00
Tymoteusz Bloch 5cce3afc1b DNS cache synchronous fix - Non zero TTL test server change 2019-10-16 11:53:52 +01:00
Tymoteusz Bloch 85919ba596 Fixed msc9220_emac link_out memory management. 2019-10-16 11:53:52 +01:00