Chris Snow
82f4be0b4d
SPDX identifier and license amended
2019-08-19 11:58:02 +01:00
Jarkko Paso
2aacb1c527
hal fhss timer: all static functions inside anonymous namespace
2019-08-19 13:20:46 +03: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
726eace763
Do not fail on trailing data in read_int
...
Some tests depend on that behavior.
2019-08-16 14:14:58 +02:00
Marcin Radomski
c0032c9055
ATHandler::read_int: allow returning 0 successfully
2019-08-16 14:14:58 +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
Marcin Radomski
f3e9501ac6
Increase PDU buffer size to fit 8-bit-encoded hex string
2019-08-16 13:20:37 +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
Marcin Radomski
cd7e6c9708
Adjust AT_CellularSMS_stub API
2019-08-16 12:33:48 +02:00
Marcin Radomski
14f8d15242
Add option to set up SMS encoding
2019-08-16 12:24:54 +02: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
Jarkko Paso
3e9d7b3598
hal fhss timer: removed unnecessary and potentially unsafe memset
2019-08-16 11:46:10 +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
Ganesh Ramachandran
edf36fb2ae
Added new features to TMPM46B
2019-08-16 10:43:52 +05:30
Mahesh Mahadevan
43b4c0ab82
MIMXRT1050_EVK: Add TRNG support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-15 16:51:18 -05:00
Teppo Järvelin
65bf17eff5
Fix netsocket tests for IAR
...
Test case printed IP address. If ip address is null, IAR compiled binary fails.
Added check for printing null. If IP address is null, then it prints string 'null'.
2019-08-15 15:26:36 +03:00
Anna Bridge
033fffea84
Merge pull request #11208 from kjbracey-arm/atomic_thumb1
...
Atomics: GCC fix for M23 (again)
2019-08-15 13:01:02 +01:00
Anna Bridge
f9eb870a47
Merge pull request #11198 from RonEld/remove_redundant_file
...
Remove redundant file accidentally added
2019-08-15 12:59:57 +01:00
Anna Bridge
2af2b1b18b
Merge pull request #11190 from jarvte/fix_wise1570_netsocket_tests
...
Cellular: failure when deleting created context is not considered error
2019-08-15 12:58:32 +01:00
Anna Bridge
575cffbc13
Merge pull request #11185 from gpsimenos/move-target-cortexm
...
Move rtos & platform TARGET directories to source
2019-08-15 12:56:36 +01:00
Anna Bridge
42a2c79a68
Merge pull request #11180 from Tharazi97/atomic_test
...
tweak atomic_test timeout
2019-08-15 12:54:48 +01:00
Anna Bridge
3ede2a9a60
Merge pull request #11126 from teetak01/optimize-debug-profile
...
Optimize debug profile flags for size
2019-08-15 12:53:32 +01:00
Anna Bridge
797e58a2b3
Merge pull request #11148 from AriParkkila/cell-sim-pin
...
Cellular: Fix SIM pin enter command
2019-08-15 12:49:24 +01:00
Anna Bridge
08ecbfcd46
Merge pull request #11021 from OpenNuvoton/nuvoton_lpticker_delay_ticks
...
Nuvoton: Enlarge LPTICKER_DELAY_TICKS for safe
2019-08-15 12:47:55 +01:00
Anna Bridge
0056d8ea50
Merge pull request #11231 from OPpuolitaival/py3_fixes
...
Python3 fixes
2019-08-15 12:17:35 +01:00
Chun-Chieh Li
500221c6a0
Fix kvstore-static_tests failing with OOM
...
Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required.
2019-08-15 17:53:31 +08:00
Olli-Pekka Puolitaival
aa1d16e871
Python3 fixes
2019-08-15 10:06:41 +03:00
Veijo Pesonen
722628be02
[TDBStore] changes the default TDBStore location
...
Thus far the default position has been after the application plus two
spare sectors. For simplicity and to have a predictable location for the
TDBStore with the default configuration the location is now switched to
the end of the flash. Two last sectors to be exact.
2019-08-15 09:26:57 +03:00
Chris Snow
edc992b297
Enable WATCHDOG and RESET_REASON for other LPC1768 targets
2019-08-14 17:15:18 +01:00
Paul Szczepanek
71f59eaf6c
add comments
2019-08-14 17:11:52 +01:00
Lin Gao
cae7427717
Cosmetic changes to incorporate review feedback
2019-08-14 11:09:11 -05:00
Chris Snow
7e2c2a98dd
LPC1768 Reset Reason implementation
2019-08-14 15:50:11 +01:00