Martin Kojtal
b2b1ac1977
Merge pull request #11212 from chrissnow/uVison_opt_level
...
Change default optimisation level to O1 when exporting to uVision
2019-08-20 09:54:21 +02:00
Martin Kojtal
73d6aa59af
Merge pull request #11211 from kjbracey-arm/mstd
...
Review follow-up mstd fixes
2019-08-20 09:53:23 +02:00
Martin Kojtal
b849bc1e3d
Merge pull request #11201 from mirelachirica/bug_virtual_in_constructor
...
Cellular: Fixed improper AT handler setup through virtual calls in co…
2019-08-20 09:52:28 +02:00
Martin Kojtal
e2fef54898
Merge pull request #11188 from NXPmicro/MXRT_TRNG
...
MIMXRT1050_EVK: Add TRNG support
2019-08-20 09:50:43 +02:00
Martin Kojtal
5904614696
Merge pull request #11183 from OpenNuvoton/nuvoton_m252kg_test
...
M252KG: Fix kvstore-static_tests failing with OOM
2019-08-20 09:49:58 +02:00
Martin Kojtal
3b631fd752
Merge pull request #11172 from Tharazi97/Watchdog_fail
...
make watchdog kick reset test pass CI (LSI problem)
2019-08-20 09:42:24 +02:00
Martin Kojtal
64fb49e4ec
Merge pull request #11169 from dmaziec1/TLSSocketWrapper_recvfrom_modified
...
TLSSocketWrapper::recvfrom sets SocketAddress output variable
2019-08-20 09:41:39 +02:00
Martin Kojtal
a5a2036c65
Merge pull request #11224 from AnttiKauppila/Coverity_fixes
...
Coverity issues fixed
2019-08-20 09:40:20 +02:00
Martin Kojtal
e3bfcbc2ff
Merge pull request #11142 from hugueskamba/hk-usb-targets-relocation
...
Relocate USB target specific code to root `targets` directory
2019-08-20 09:39:30 +02:00
Martin Kojtal
e56f3199eb
Merge pull request #11127 from NXPmicro/Fix_LPC55S69_AnalogIn
...
Fix ANALOGIN support for LPC55S69
2019-08-20 09:33:40 +02:00
Martin Kojtal
b16aaca568
Merge pull request #11118 from ganesh-ramachandran/m46b_newfeatures
...
Add new features to Toshiba's TMPM46B
2019-08-20 09:27:28 +02:00
Mahesh Mahadevan
99b1114e63
MCUXpresso: Add TICKLESS support for LPC platforms
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-19 13:15:39 -05:00
Ryan Vasquez
7267299bd9
corrected the Callback function call in attach, minor type in the USBserial library
2019-08-19 12:23:50 -05:00
Hugues Kamba
3373d78ec8
Rename hal/rtc test callback to avoid overloading
2019-08-19 16:13:14 +01:00
Hugues Kamba
7ec84a89d1
Include `mstd_utility` to get in front of the ARMC5's built-in `utility`
2019-08-19 16:13:14 +01:00
Hugues Kamba
9cc816d6a0
Un-templatise interval and forward the reference
...
Also fix code style to please style checker
2019-08-19 16:13:14 +01:00
Hugues Kamba
e06c91c7ae
Use Perfect forwading to pass arguments from `attach()` to `attach_us()`
...
This prevents a possible heavy callback copy.
2019-08-19 16:13:14 +01:00
Hugues Kamba
5635e94af5
Force inline Timer::attach() to get rid of floating-point instruction
...
Calls to Timer::attach() are inlined in order not to use floating-point
library functions calls given Timer::attach_us() expects an integer
for the callback interval.
2019-08-19 16:13:14 +01:00
Hugues Kamba
b0d4b69123
Ensure the new method is called by the deprecated one
2019-08-19 16:13:14 +01:00
Hugues Kamba
59a6b55c64
Fix code indentation to satisfy code style checker
2019-08-19 16:13:14 +01:00
Hugues Kamba
d6429ef45f
Fix lp_ticker and ticker unit test case wait times
2019-08-19 16:13:14 +01:00
Hugues Kamba
80cdc3e625
Ensure tests use the new method.
2019-08-19 16:13:14 +01:00
Hugues Kamba
61b1482b12
Add new API method `attach_s` instead of overloading the deprecated `attach`
2019-08-19 16:13:14 +01:00
Hugues Kamba
ce5dbda1ba
Move time macro conversions to `Ticker.h`
2019-08-19 16:13:14 +01:00
Hugues Kamba
4b1cee3cf3
Deprecate previous Ticker::attach() API
...
* Restore previous implementation as deprecated
* Ensure method call is unambiguous
2019-08-19 16:13:14 +01:00
Hugues Kamba
e1714ec53a
Require integer to specify callback interval with Ticker API
...
* Create new `s_timestamp_t` type to specify timestamp is seconds
* Alter `attach()` API to expect `s_timestamp_t` for interval value
* Create helper macro to convert seconds to milliseconds and help code
readability
* Modify Greentea tests accordingly
2019-08-19 16:13:14 +01:00
Chris Snow
82f4be0b4d
SPDX identifier and license amended
2019-08-19 11:58:02 +01:00
Martin Kojtal
101ae73b87
Merge pull request #11063 from linlingao/f_cc3220sf_launchxl
...
Add CC3220SF_Launchxl to Mbed OS
2019-08-19 12:08:11 +02:00
Martin Kojtal
2e09a27e05
Merge pull request #11165 from VeijoPesonen/fix_internal_kvstore_config
...
Allows placing KVStore and update images on separate storage devices - to internal and external flash
2019-08-19 11:46:39 +02:00
Hugues Kamba
fdc4702b70
Remove USB mbed_lib.json to remove mbed-os/usb as it is now empty.
2019-08-19 10:41:57 +01:00
Vairamuthu Ramasamy
e7f190f2d7
Updated nvram image for target CY8CMOD-062S2-43012
2019-08-19 14:07:33 +05:30
Martin Kojtal
cc7e2f8279
Merge pull request #11222 from paul-szczepanek-arm/fix-recursive
...
BLE: fix recursive call
2019-08-19 10:24:26 +02:00
Olli-Pekka Puolitaival
1471d2248d
Merge pull request #11243 from OPpuolitaival/py3
...
Python3 fixes
2019-08-19 10:47:31 +03:00
Hugues Kamba
3d6fb15b48
Use consistant naming for Cypress USB target files.
2019-08-16 15:42:43 +01:00
Hugues Kamba
de231b8664
Move USB Templates to `mbed-os/hal/usb`
2019-08-16 15:42:43 +01:00
Hugues Kamba
f3df1c1d1e
Relocate TARGET_MCU_NRF52840 to TARGET_NRF5x/TARGET_NRF52
2019-08-16 15:42:43 +01:00
Hugues Kamba
41346bad13
Rename template dir so future templates can be added to the same dir.
2019-08-16 15:42:43 +01:00
Hugues Kamba
5cbc3e0497
Relocate USB target specific code to root `targets` directory
...
All target specific source and header files should be in the `targets`
directory located at the root of the Mbed OS repository.
2019-08-16 15:42:43 +01:00
int_szyk
3c2ed16fce
Fix TT_M3HQ build problem with SPI
2019-08-16 14:55:49 +02:00
int_szyk
ce58505fa4
fix TT_M3HQ build problem with i2c
2019-08-16 14:55:49 +02:00
int_szyk
aa56f86cec
Remove SERIAL_FC from target.json on TT_M3HQ
...
Development board TT_M3HQ doesn't have CTS/RTS on its pinout.
If that is not the case PinMap_UART_RTS should be created.
2019-08-16 14:44:31 +02:00
Marcin Radomski
ce0bb7f568
Update test_AT_CellularSMS_get_sms
...
0 is now a valid value
2019-08-16 14:25:29 +02:00
Marcin Radomski
17f6f1c0e3
Make AT_CellularSMS support index 0 in SMS inbox
...
When AT+CGML is used to retrieve list of SMS stored in modem inbox,
every message has an associated index. ETSI TS 127 005 v7.0.0 does not
specify what is the allowed range of such indices - all it says is
"integer type; value in the range of location numbers supported by the
associated memory".
Usually, AT modems use positive indexes (starting at 1). Quectel BG96
modem takes a different approach, indexing messages starting at 0.
Current implementation of `AT_CellularSMS::list_messages()` considers
index 0 invalid and ignores such message, effectively making it
impossible to access using mbed-os API.
This commit changes the behavior so that value of 0 is handled as any
other positive message index.
2019-08-16 14:19:29 +02:00
Marcin Radomski
2bfa4e9b8d
AT_CellularSMS: set "international" flag in PDU when applicable
...
Currently, create_pdu receives a destination address without '+' prefix,
and always sets the "type of address" to "unknown". That means, the
number needs to contain appropriate international number prefix (00/011)
if necessary - which is not the case if the leading + is simply
stripped.
This changes send_sms behavior so that when a SMS is sent to an
international number (indicated by leading +):
- AT+CMGS command receives the number with + prefix,
- created PDU has the "international" flag set.
2019-08-16 13:30:59 +02:00
Ari Parkkila
2934a692c9
Netsocket: Change DNS retry and total attempt counts
2019-08-16 03:51:43 -07:00
Olli-Pekka Puolitaival
ba26bd9cde
Python3 fixes
2019-08-16 13:51:21 +03:00
Teijo Kinnunen
10c0f20317
LoRaWAN: Terminate RX when receiving uplink messages
...
This prevents RX2 window to be enabled at the same time when repeating
transmission, when QoS repeated TX is in effect. Failure to do so
seems to place the LoRaWAN stack in a state where send() always fails
with WOULD_BLOCK error.
2019-08-16 12:56:58 +03:00
Jaeden Amero
b6c24e2e09
crypto: Copy legacy crypto from Mbed Crypto
...
Mbed TLS no longer provides legacy crypto C or H files. Obtain the files
from Mbed Crypto instead.
2019-08-16 09:20:03 +01:00
Jaeden Amero
82927057b9
lwip: Use correct include path for mbedtls
...
The portable and correct way to include Mbed TLS header files is
"mbedtls/someheader.h". It's Mbed OS specific, unecessary, and incorrect
to use "mbedtls/inc/mbedtls/someheader.h".
2019-08-16 09:20:03 +01:00
Mirela Chirica
75c823c1a3
Cellular: Fixed improper AT handler setup through virtual calls in constructor
...
Added AT handler setup method to be used for initialisation routines
that are virtual and therefore cannot be called from constructor.
2019-08-16 10:57:37 +03:00