Commit Graph

26729 Commits (bfcfb6cf4a0b912bcbf8831155f0331581703870)

Author SHA1 Message Date
Martin Kojtal 1afece7f1b
Merge pull request #11488 from kivaisan/fix_cellular_get_interface_name
Cellular: Fix get_interface_name to not include leading zero
2019-09-19 12:43:45 +02:00
Hugues Kamba 5bfb5bf269 Remove `statement is unreachable` warning in MbedCRC.h
The code removed appears unnecessary given that the switch case below
also handles the case where the polynomial is `POLY_32BIT_REV_ANSI`
2019-09-19 10:56:07 +01:00
Volodymyr Medvid 2af2105aeb PSOC6: update to PDL 1.3.1.1474 2019-09-19 10:40:44 +01:00
Martin Kojtal 4f7339af78
Merge pull request #11456 from ARMmbed/349-spaces_in_path
IOTBTOOL-349: Correct handling of spaces in project name.
2019-09-19 10:37:31 +02:00
Martin Kojtal c1a1c22fe9
Merge pull request #11469 from AriParkkila/cell-clear-ndef
Cellular: Disable cellular.clear-on-connect by default
2019-09-19 10:37:10 +02:00
Martin Kojtal 6fcd29769c
Merge pull request #11470 from hugueskamba/hk-fix-warnings
Prevent unreachable statements and correct variable sizes.
2019-09-19 10:36:39 +02:00
Martin Kojtal e134b22dab
Merge pull request #11473 from michalpasztamobica/gcc_warnings_fixes
Fix compilation warnings from GCC in netsocket/network tests
2019-09-19 10:36:16 +02:00
Martin Kojtal 185e380233
Merge pull request #11490 from AriParkkila/cell-bg96-ifc
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-19 10:25:47 +02:00
Martin Kojtal 15d200f3d3
Merge pull request #11499 from kivaisan/fix_quectel_m26_send
Cellular: Fix stop tag for Quectel M26 send command
2019-09-19 10:22:18 +02:00
Laurent Meunier cd3105bb83 SysTimer should let deep sleep happen
When next SysTimer wake-up is scheduler far enough, always consider
that deep sleep may be entered and program an early wake-up.

So that even if deep sleep is only allowed some time later, it can be
entered. If not doing this, then the deep sleep would be prevented by
SysTimer itself and may not be entered at all.

This has been proved to happen in a simple blinly example.
2019-09-19 10:16:23 +02:00
Syed Fahimuddin Alavi 828fffbc4e Bux fix: Context can be cleared using CGDCONT after sim ready state 2019-09-19 13:01:45 +05:00
Martin Kojtal 030e3e1f72
Merge pull request #11498 from 0xc0170/fix_iar
iar export: fix invalid optmization flag - remove from misc
2019-09-19 09:33:29 +02:00
Kyle Kearney 8aa449c662 Improve psoc6csp doxygen comments 2019-09-18 12:13:34 -07:00
Kyle Kearney a0b657295f Reorganize resource and rtos abstraction files
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-09-18 12:10:07 -07:00
Kyle Kearney e8dc5f111c 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-09-18 12:07:08 -07:00
Kyle Kearney 1713e79ccf 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-09-18 12:06:33 -07:00
Martin Kojtal 83fca603f0
Merge pull request #11454 from Tharazi97/LSI_VALUE_STM
ST: Change the LSI_VALUE according to documentation
2019-09-18 13:49:38 +02:00
Martin Kojtal eed80f99ee
Merge pull request #11452 from Tharazi97/Coverity_USBMSD
Coverity changes in USBMSD.cpp
2019-09-18 13:34:05 +02:00
Martin Kojtal 926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
Vincent Veron 82e89add61 STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain) 2019-09-18 10:57:21 +02:00
Vincent Veron ac30a70092 STM32H7 : use RAM instead of DTCMRAM (ARM toolchain) 2019-09-18 10:57:20 +02:00
Vincent Veron d241eef5d4 STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
Keep vector table and crash data ram in 0x20000000 for
tests-mbed_platform-crash_reporting test.
Move the rest in RAM (0x24000000). This is needed for ethernet and allows
user to use more RAM (512k).

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-09-18 10:57:19 +02:00
Martin Kojtal 6a535d10db
Merge pull request #11493 from Patater/update-to-tls-2.19.1d0
Update to Mbed TLS 2.19.1
2019-09-17 21:49:04 +02:00
Jaeden Amero eb00fbadb4 tls: Update to Mbed TLS 2.19.1
Update Mbed TLS to Mbed TLS 2.19.1.
2019-09-17 15:24:09 +01:00
George Psimenos 43e5532c50 Remove trailing whitespace 2019-09-17 14:49:38 +01:00
George Psimenos 9673a45c93 Enable tickless in MAX32630FTHR 2019-09-17 14:49:38 +01:00
Kimmo Vaisanen ba4308344b 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-09-17 15:52:14 +03:00
Olli-Pekka Puolitaival ff2778f5f6 Fix documentation 2019-09-17 15:26:06 +03:00
Martin Kojtal 2f1f219d73 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-09-17 13:21:27 +01:00
Jaeden Amero 60f383e01f tls: Update export keys callback to use const
Mbed TLS's export keys callback requires the hello.random (for both
server and client) to be const. Make the callbacks in Mbed OS that use
the key export feature use const to match.
2019-09-17 12:57:05 +01:00
Martin Kojtal ffbd92c5a9
Merge pull request #11288 from OpenNuvoton/nuvoton_m2351_comb-sec-nonsec
M2351: Enhance secure/non-secure image build flow for non-PSA target
2019-09-17 12:18:16 +02:00
int_szyk 48040cf687 Change the LSI_VALUE according to documentation 2019-09-17 12:01:32 +02:00
Kimmo Vaisanen da77cdc52e UT for CellularDevice get/set timeouts methods 2019-09-17 12:56:47 +03:00
Kimmo Vaisanen ce3d41433e Fix CellularDevice::shutdown UT
As shutdown was overridden in test class, original shutdown() method
was not called at all.
2019-09-17 12:56:47 +03:00
Kimmo Vaisanen b6ecce0bfb Add UT for AT_CellularNetwork::is_active_context 2019-09-17 12:56:47 +03:00
Kimmo Vaisanen 02de20acb6 Add UT for CEREG URC handler 2019-09-17 12:56:47 +03:00
Kimmo Vaisanen 5778bc7326 Add possibility to test URC handlers 2019-09-17 12:56:43 +03:00
Kimmo Vaisanen d83f52a2a1 Improve UT for cellular properties 2019-09-17 12:15:18 +03:00
Kimmo Vaisanen e824714cd8 Add UT for CellularUtil::hex_to_char and ::hex_str_to_char_str
Also added checks for pointer validity.
2019-09-17 12:15:03 +03:00
Hugues Kamba 8ea9acad8e Fix Coverity issue: Initialize FlashIAP non-static member in constructor 2019-09-17 09:55:37 +01:00
Martin Kojtal 50b75295c0
Merge pull request #11487 from OpenNuvoton/nuvoton_conv_tz_test_spec2
Convert TZ target name 'NPSA' to test spec platform name
2019-09-17 09:51:15 +02:00
Kimmo Vaisanen 0b9e80f76e Unittests for CellularList 2019-09-17 10:45:01 +03:00
Martin Kojtal 3c47010fd3
Merge pull request #11462 from hugueskamba/hk-minimal-printf-update-readme
Minimal-printf: Remove file printing in README and update tables
2019-09-17 09:12:05 +02:00
Mariwan 5b951d4ef4
Update AnalogOut.h 2019-09-16 22:06:04 +02:00
Mariwan 47c3083bdd
remove extra space 2019-09-16 21:57:56 +02:00
Mariwan 358df27c30
Remove Note as requested 2019-09-16 21:46:12 +02:00
ccli8 82f60d913e
Remove 'PSA' check from test spec conversion
This is unnecessary because all TZ targets must follow the naming rule: PLATFORM_[NPSA_]S/NS
2019-09-16 23:25:44 +08:00
mahanthgouda 1780a08d54 Add OKDO platform (#11407)
Add OKDO platform
2019-09-16 16:58:54 +02:00
Martin Kojtal 243e6a5eef
Merge pull request #11460 from dmaziec1/esp8266_new_trace_debug_logs
ESP8266 Unified Mbed trace prints.
2019-09-16 16:58:24 +02:00
Martin Kojtal 171fe5a619
Merge pull request #11479 from maciejbocianski/nrf51_systick_handler_fix
no-systick targets: fix systick irq handler setup
2019-09-16 15:35:22 +02:00