Mika Leppänen
3b20d9ea42
Increased PPP stack size based on testing
...
Increased stack size from 768 to 816.
2019-08-20 13:37:12 +03:00
Mika Leppänen
3951422824
lwIP adds now PPP DNS servers to default interface
...
If PPP interface is the lwIP default interface, adds the PPP DNS
servers to default DNS server storage. If PPP is not default
interface, then adds DNS servers to interface specific storage.
2019-08-20 13:37:12 +03:00
Mika Leppänen
e3f247793a
Added PPP directory to astyle ignore and added some spellchecker ignore words
2019-08-20 13:37:12 +03:00
Mika Leppänen
3102bb1340
Removed pbuf operations that were commented out
2019-08-20 13:37:12 +03:00
Mika Leppänen
a2df462f65
Nanostack changes for PPP service
...
Created PPP interface for PPP service. Re-used the ethernet tasklet
and PHY driver structure for PPP.
2019-08-20 13:37:12 +03:00
Mika Leppänen
3864e12172
lwIP changes for PPP service
...
Created (a new) PPP interface for PPP service. Removed lwip
dependencies to PPP (memory allocations etc.). Moved PPP
configuration options away from lwIP mbed_lib.json to new
PPP service. For backwards compatibility, using the old
options is also currently supported.
2019-08-20 13:37:12 +03:00
Mika Leppänen
c9cb8f8296
Created netsocket classes for PPP service and PPP interface
...
PPP service encapsulates the PPP protocol. PPP interface can be used as
helper class to bind PPP protocol with network stack (similar to
EMAC and L3IP interface). Added PPP interface to onboard network
stack class.
2019-08-20 13:27:54 +03:00
Mika Leppänen
a1e3a5d901
Created PPP service class
...
Created PPP service class that encapsulates the PPP protocol.
Class is similar to EMAC and L3IP classes with additional methods
to read IP and DNS server addresses negotiation using PPP and
to set PPP specific parameters (file handle for modem access etc.).
PPP service can use on its own thread or in run in mbed os event
Queue thread.
Added ppp_nsapi.cpp module that implements the nsapi_ppp.h
services.
Added ppp_nsapi.cpp module that implements the nsapi_ppp.h
services.
2019-08-20 13:27:54 +03:00
Kari Haapalehto
c518319fa3
Moved PPP from lwip directory to under netsocket
...
Moved PPP and renamed files and constants.
2019-08-20 13:27:54 +03:00
Martin Kojtal
398515a367
Merge pull request #11236 from hugueskamba/hk-iotcore-1315-remove-floating-point-ticker
...
Force inline Timer::attach() to get rid of floating-point instructions
2019-08-20 11:47:54 +02:00
Martin Kojtal
181f4f7e93
Merge pull request #11067 from Tharazi97/equeue_tests
...
Add Unittest equeue tests
2019-08-20 10:28:23 +02:00
Martin Kojtal
0b49952b9e
Merge pull request #11249 from dextero/get-sms-zero
...
Make AT_CellularSMS::list_messages support index 0 in SMS inbox
2019-08-20 10:27:57 +02:00
Martin Kojtal
c37b5628ec
Merge pull request #11255 from cy-vaira/nvram-cy8cmod-062s2-43012
...
Update NVRAM image for target CY8CMOD-062S2-43012
2019-08-20 10:27:30 +02:00
Martin Kojtal
9ccfe49d12
Merge pull request #11247 from dextero/international-numbers
...
AT_CellularSMS: set "international" flag in PDU when applicable
2019-08-20 10:27:13 +02:00
Martin Kojtal
63084ad874
Merge pull request #11241 from teijokinnunen/lorawan-uplink-rx-fix
...
LoRaWAN: Terminate RX when receiving uplink messages
2019-08-20 10:24:51 +02:00
Martin Kojtal
083824807c
Merge pull request #11239 from Patater/import-mbedtls-crypto-from-mbedcrypto
...
crypto: Copy legacy crypto from Mbed Crypto
2019-08-20 10:24:41 +02:00
Martin Kojtal
169ada9209
Merge pull request #11237 from Tharazi97/TT_M3HQ-build-problem
...
Fix TT_M3HQ build problem
2019-08-20 10:23:28 +02:00
Martin Kojtal
191f029f73
Merge pull request #11226 from chrissnow/LPC1768_WDT
...
LPC1768 Watchdog & Reset Reason
2019-08-20 10:22:42 +02:00
Martin Kojtal
7ee382bdc0
Merge pull request #11216 from paul-szczepanek-arm/fix-ad-parser
...
BLE: make advertising data parser handle early termination
2019-08-20 09:59:18 +02:00
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
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