Commit Graph

20392 Commits (56146a44fbcacc10cd3f4b54edfa6e0f0f715ed1)

Author SHA1 Message Date
Martin Kojtal 29a1149bd6 nanostakc cmsis rtos: fix coding style 2018-11-15 07:20:12 +00:00
Martin Kojtal 3aab38140a nanostack mesh: fix coding style 2018-11-15 07:20:12 +00:00
Martin Kojtal e1e20a64f9 rtos: fix coding style 2018-11-15 07:20:12 +00:00
Martin Kojtal ef728d01dc tests: fix doxygen style 2018-11-15 07:20:12 +00:00
Martin Kojtal 53c427735c filehandle test: fix coding style 2018-11-15 07:20:12 +00:00
Martin Kojtal edef49b5fd travis: astyle error leads to the pull request error
As our codebase is 0 styling errors, we should start treating astyle errors as
pull request blockers. Time to follow our coding style.
2018-11-15 07:20:11 +00:00
Martin Kojtal 3d859575d2 platform: fix coding style 2018-11-15 07:20:11 +00:00
Martin Kojtal fbdbffffb9 drivers: fix coding style for doxygen 2018-11-15 07:20:11 +00:00
Martin Kojtal 830f7464cc rtx idle: fix coding style 2018-11-15 07:20:10 +00:00
Martin Kojtal 9a0651c7fb astyleignore: add nanostack targets folder
Targets will be styled separately
2018-11-15 07:20:10 +00:00
Martin Kojtal 501bc29426 rtc time test: fix coding style 2018-11-15 07:20:09 +00:00
Martin Kojtal 7d7bfd7bf2 blockdevice: fix components coding style 2018-11-15 07:20:09 +00:00
Martin Kojtal a4500e86f5 blockdevice test: fix coding style 2018-11-15 07:20:09 +00:00
Martin Kojtal 43615baf0e CThunkbase: fix coding style 2018-11-15 07:20:09 +00:00
kegilbert 9d9cd84942 Refactor logic to improve readability
Move JSON accepted value ranges back to JSON array
2018-11-14 18:31:59 -06:00
Deepika e3c4dae875 Add tests to verify RAM/ROM sizes 2018-11-14 09:51:53 -06:00
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
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