Commit Graph

20428 Commits (a7bf31210677d72cfbd0cc94fe12227149b3c680)

Author SHA1 Message Date
Deepika ad736e9894 Add RAM/ROM memory statistics to system stats structure
Internal RAM / ROM memory size and start address of target can be
fetched using `mbed_stats_sys_get()` API.
2018-11-14 09:51:33 -06:00
Seppo Takalo 7ac326ab1d Add design document for network statistics. 2018-11-14 17:14:23 +02:00
Mahesh Mahadevan fffb37534e LPC546XX: Update the SPIFI SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-14 09:00:34 -06:00
Anna Bridge 4d07bcbd6e
Merge pull request #8579 from jarvte/cellular_context
Major refactoring: changing Network inheritance from CellularNetwork to new class CellularContext
2018-11-14 14:37:19 +00:00
Mahesh Mahadevan d5cf53aba1 MIMXRT1050_EVK: Update the SDK clock driver
This fixes build failures seen with GCC_ARM

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-14 07:13:07 -06:00
Mahesh Mahadevan 12c6b1bd88 MIMXRT1050EVK: Add ENET support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-14 07:13:07 -06:00
Conrad Braam ef81f4b5a3
Merge pull request #2 from ARMmbed/master
catch up from armmbed
2018-11-14 12:25:12 +00:00
Bence Kaposzta ee7cefc868 Add RTC and Sleep to CM3DS
This commit represents the second stage of the low power implementations
that are required from Mbed 5.10 onwards. Besides the default hal
implementations (rtc_api.c and sleep.c), the PL031 RTC's native driver
needed to be added. Due to HW limitations in SSE-050 and the CM3DS,
Deep Sleep couldn't be implemented, therefore it is functionally
identical to Sleep (WFI).

Change-Id: Ibed2bdb452f48c98024dc7ef07fb51a4425e0a80
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2018-11-14 11:10:26 +01:00
Bence Kaposzta 1b792317e4 Implement LP and us tickers to CM3DS
This commit represents the first stage of the low power implementations
that are required from Mbed 5.10 onwards. The LP ticker has been
implemented using a CMSDK Dual Timer's both timers (HW prescaler needed
to operate in the specified frequency domain), whereas the us ticker
uses one CMSDK Timer. Besides the default hal implementations (lp_ticker.c
and us_ticker.c), the CMSDK Dual Timer's native driver needed to be added.

Change-Id: I0b16b93dfac7753bebf430a2ce77761cb9c43ee5
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2018-11-14 11:10:09 +01:00
Juhani Puurula 93e90f70aa Icetea test documentation: added spaces 2018-11-14 11:49:24 +02:00
Oren Cohen 4091a4c8c7 Add PSA build components to build configuration for non-PSA targets
* Added PSA components to base Target in targets.json
* Fix all targets declaring components
2018-11-14 10:40:37 +02:00
Martin Kojtal 82f195c021
Merge pull request #8696 from theotherjimmy/handle-parent-renames
Resources: Avoid assuming that deps have a sane name
2018-11-14 08:26:11 +00:00
Martin Kojtal e237194c0f
Merge pull request #8733 from cmonr/rollup
Rollup PR: Resume testing on PRs with false failures
2018-11-14 08:17:27 +00:00
Antti Kauppila cf53494f2e Compliance test errors fixed 2018-11-14 09:46:38 +02:00
kegilbert 44d3e62835 Patch whitespace inconsistencies in platform lib file 2018-11-13 19:08:44 -06:00
Cruz Monrreal II 4a5ba7f156 Merge branch 'getpeername' of ssh://github.com/SeppoTakalo/mbed-os into rollup 2018-11-13 17:26:49 -06:00
Cruz Monrreal II 798ffd0d5a Merge branch 'fm_flash' of ssh://github.com/jamesbeyond/mbed-os into rollup 2018-11-13 17:26:48 -06:00
Cruz Monrreal II 0499ee2783 Merge branch 'erase_flash_fix' of ssh://github.com/deepikabhavnani/mbed-os into rollup 2018-11-13 17:26:47 -06:00
Cruz Monrreal II cf7c767f32 Merge branch 'refactor-targets-formatting' of ssh://github.com/scartmell-arm/mbed-os into rollup 2018-11-13 17:26:46 -06:00
Cruz Monrreal aab3ade2b7
Merge pull request #8687 from kjbracey-arm/tls_errorlog
TLSSocketWrapper: decouple error requirements
2018-11-13 16:48:15 -06:00
kegilbert 7a436660e9 Handle None and hex values in string format 2018-11-13 16:12:35 -06:00
Michael Ray b7559e315c Feature: Added non-blocking serial break/unbreak functions
Current serial implementation has a send_break() command which
sends a break command on the UART for a fixed amount of time.

Added functions to allow users to send a break in a non-blocking
fashion, as well as for a user-specified amount of time.
2018-11-13 12:46:05 -06:00
Teppo Järvelin 88213d3e03 Cellular: astyle fixes after introducing CellularContext class and major refactor. 2018-11-13 18:50:35 +02:00
Teppo Järvelin 14f3740c13 Cellular: fixed cellular greentea tests after major refactoring. 2018-11-13 18:33:55 +02:00
Jimmy Brisson 3db1a8aa67 Avoid constructing a FileRef when we don't use it 2018-11-13 09:53:50 -06:00
Deepika a6ed5fcbd0 Adding arch option instead MCPU for no dsp and no fpu support
No FPU option is valid, but supported only for 8.x releases, with 7.x release
+nofp gives build errors.
2018-11-13 08:21:31 -06:00
Antti Kauppila 077777163e LoRaWANTimer UT fixed 2018-11-13 13:58:31 +02:00
Seppo Takalo 619bcb5b4e Implement Socket::getpeername() API
This is equivalent of POSIX getpeername() function. It allows to
get remote address associated with the socket.
For example:
socket *s = server.accept();
SocketAddress remote;
s->getpeername(&remote);
2018-11-13 11:02:51 +02:00
Teppo Järvelin 1b3db96634 Cellular: Added missing MDMRTS and MDMCTS for TARGET_MTB_ADV_WISE_1570. 2018-11-13 09:06:40 +02:00
Aashish chaddha 1627968bcb Missed one change to convert into right data type 2018-11-12 13:37:27 -06:00
Aashish chaddha 3956451c07 Fixing some corner cases
1. Adding SRAM in available ram
2. If the target doesn't exist in cmsis but targets.json, handle accordingly and raise apt exceptions where needed.
3. If no sram is provided, raise exception
2018-11-12 13:28:01 -06:00
Conrad Braam 6a59fa1e62 State machine step for Erase command 2018-11-12 16:13:21 +00:00
Conrad Braam 614d058bb2
Merge pull request #1 from ARMmbed/master
catch up from master
2018-11-12 15:28:57 +00:00
Yoshihiro TSUBOI cd2a5835f8 fixed year and added SPDX identifier 2018-11-13 00:03:02 +09:00
Steve Cartmell 4551d94072 Format targets.json to put the items of large lists on their own line 2018-11-12 13:57:40 +00:00
Kevin Bracey 913103c34d TLSSocketWrapper: decouple error requirements
* Don't pull in mbedtls_strerror() if trace is not enabled.
* Output error trace even if mbedtls_strerror() is not available.
2018-11-12 13:12:34 +02:00
Marcin Tomczyk 29b7c50e30 ONME-3852 Check that test cases disconnect at the end 2018-11-12 11:29:58 +01:00
Yoshihiro TSUBOI 222b21e593 [Wio BG96] Adding platform HAL 2018-11-11 23:32:22 +09:00
Teppo Järvelin 3f6e088782 Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 1a047efade Cellular: review fixes, added missing fixes from master. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 467ae09bef Cellular: Updated target SARA4_PPP to use new CellularContext class. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 9fb83024ea Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue. 2018-11-11 14:13:05 +02:00
Teppo Järvelin dbbe2ddc59 Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined. 2018-11-11 14:13:05 +02:00
Teppo Järvelin d1ff9ed68d Cellular: added to reset state machine is we get disconnected so application can try again. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 609b0f71be Cellular: minor doxygen fixes. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 8385b19e5e Cellular: Deleted unused class CellularConnectionFSM. Application should use CellularContext class instead. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 43e08a0adf Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
Teppo Järvelin ad2abbe887 Cellular: major refactoring while introducing new CellularContext class. 2018-11-11 14:12:49 +02:00
Teppo Järvelin 8880538eba Cellular: Introduced new state machine to replace old CellularConnectionFSM
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Ron Eldor 9f4e752ef3 Modify HW accelerator drivers to new error code
Have the HW accelearation drivers return the platform module
errors about feature unsupported, and hw acceleration failure,
because the moduel specific errors will be removed.
2018-11-11 09:59:18 +02:00