Commit Graph

7440 Commits (a05e253df7953d7a35c9af625389fee47879b3ec)

Author SHA1 Message Date
Christopher Haster 2f279dcf39 Removed unnecessary dns_query functions 2016-08-31 08:37:16 +03:00
Christopher Haster 3b1e1368f3 Added IPv6 support to DNS query
To avoid complications with unexpected IP versions, the wanted
IP version was added as an extra argument to DNS query functions
(defaults to NSAPI_IPv4).

Internal API changes:
m nsapi_dns_query
m nsapi_dns_query_multiple

Interestingly, though multiple questions can be encoded in a single
DNS packet, few, if any, nameservers respect any but the first
question. This makes support for coelescing DNS queries useless.
2016-08-31 08:37:13 +03:00
Christopher Haster ab9ea1fad0 Added support for multiple results in a dns-query
Internal API changes:
+ nsapi_dns_query_multiple

Note, dns_query_multiple takes a buffer of nsapi_addr_t to fill. This is
less dynamic than the linked-list method used in linux's gethostbyname,
but is easier to manage and more constrained.
2016-08-31 08:37:09 +03:00
Christopher Haster cc99870f27 Refactored dns-query to match style of the rest of the nsapi
Internal API changes:
dnsQuery -> nsapi_dns_query

Additionally restructured query code to emit/parse network structures
in stream form to hopefully document the underlying structure more
explicitly.
2016-08-31 08:37:06 +03:00
Alessandro Angelino 776e81b81a K64F: Revert to hardcoded stack pointer in RTX 2016-08-31 08:37:02 +03:00
Milosch Meriac bd770b569d Update uVisor page allocator 2016-08-31 08:36:58 +03:00
Niklas Hauser b363c14fe3 Move page heap after uVisor private data. 2016-08-31 08:36:55 +03:00
svastm c11c817dc1 Add tests for asynchronous serial 2016-08-31 08:36:51 +03:00
svastm 1f80a127e3 Enable asynchronous serial 2016-08-31 08:36:48 +03:00
svastm 214cbaa0f9 Add asynchronous serial 2016-08-31 08:36:44 +03:00
Radhika 8310d415af Formatting code according to ARM guidelines. Ran pylint and astyle. Rebased latest ARMmbed-os code. 2016-08-31 08:36:41 +03:00
Radhika 5e81f0fd73 rebasing with mbed-os latest 2016-08-31 08:36:37 +03:00
Yoshihiro TSUBOI 2339beb4d2 a patch for TY51822r3 to use a change of PR #2535 2016-08-31 08:36:34 +03:00
jeromecoutant bf66d1b2e3 Rebase to replace "default_build" into "default_lib" 2016-08-31 08:36:31 +03:00
jeromecoutant 57eda101d1 Use GCC small build for 64K flash STM32 2016-08-31 08:36:27 +03:00
Radhika e417e20436 heap and stack test 2016-08-31 08:36:24 +03:00
Radhika 10704ccf46 Adding NCS36510 support in mbed-os5.1 2016-08-31 08:36:20 +03:00
Radhika a5cdb1da8a heap and stack test 2016-08-31 08:36:17 +03:00
Radhika ada4eb122b Adding NCS36510 support in mbed-os5.1 2016-08-31 08:36:13 +03:00
Jeremy Brodt 786f343275 Added support to RTX files. 2016-08-31 08:36:10 +03:00
Jeremy Brodt 3c02e975db Replaced tab with spaces. 2016-08-31 08:36:06 +03:00
Tony Wu 73f8cbc0a6 Fix implicit declaration of function 'atexit'
Silence the following compiler warning:
[Warning] RTX_CM_lib.h@807,5: implicit declaration of function 'atexit' [-Wimplicit-function-declaration]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2016-08-31 08:36:03 +03:00
cyliangtw c65465fbfe Fix NUC472 Ethernet wrong INT status in RX_Action 2016-08-31 08:36:00 +03:00
Jeremy Brodt 68334bcf18 Added Deep Sleep support with USB. 2016-08-31 08:35:56 +03:00
Jeremy Brodt 6b838d770a Removed constant structure element. 2016-08-31 08:35:53 +03:00
Jeremy Brodt aaa0811cb2 Cleaned up analogin. 2016-08-31 08:35:50 +03:00
Jeremy Brodt ac18ffe015 Initial release. 2016-08-31 08:35:46 +03:00
Yogesh Pande 5b0f1cab1a Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/75
The original fix was done in https://github.com/ARMmbed/mbed-os-example-client/issues/75
This PR is to merge the fix into mbed-os release candidate.
2016-08-31 08:35:42 +03:00
Brian Daniels 2870ee4bfc Copying JSON files to pick up config for built libraries
This came up when building tests, but affects any library that's built
that uses config and included as "source" with the mbed tools.
JSON files are not copied by default when building a library, so when this
is built it loses the config data associated with the library. This commit
copies all JSON files into the build directory when building libraries.

This leads to two mbed_config.h files existing if the build directories
are different between the library and application build. This is the case
when building tests, so an option build_library was added to remove the
mbed_config.h file when compilation is done. This disabled by default when
building libraries, but it is enabled when building tests.
2016-08-31 08:35:39 +03:00
Yogesh Pande 1311c9c672 Fix for IOTCLT-961 for next mbed-os release candidate
This PR is for fixing error found in integration testing for Bootstrap and Connector functionality.
The corresponding fixes done here
6925e89487
fbfb300d62
2016-08-31 08:35:36 +03:00
svastm 70a7cb2972 Add tests for asynchronous serial 2016-08-31 08:35:32 +03:00
svastm c9292d6e35 Enable asynchronous serial 2016-08-31 08:35:29 +03:00
svastm 58ed74bd82 Add asynchronous serial 2016-08-31 08:35:26 +03:00
Anna Bridge da9d6189fc Fixes issue #2508. The default compiler(ARMCC) copy constructor for failure_t doesn't behave as expected and has unexpected side effects. This fix adds a custom copy constructor to fix this. 2016-08-31 08:35:21 +03:00
Toyomasa Watarai 59dc5400a7 Fix link error
xxx_s.a libraries are no longer supported in GCC_CR toolchain
2016-08-31 08:35:17 +03:00
Toyomasa Watarai e9a1501dd8 Add TOOLCHAIN_GCC_CR support 2016-08-31 08:35:13 +03:00
Toyomasa Watarai 0e23649414 Fix multiple definition errors in GCC_CR build 2016-08-31 08:35:09 +03:00
Sarah Marsh 000f185eae Allow users to set armcc and iccarm in path.
Raise exceptin instead of exit.
Corrected error for arm-none-eabi-gcc/g++ set in path.
2016-08-31 08:35:04 +03:00
Brian Daniels 749d4be99c Sharing greentea-client's RawSerial with utest and UNITY.
This commit allows the linker to remove the reference to the RawSerial object
if it not used in the application. This way it only is brought in for
tests.
2016-08-31 08:35:00 +03:00
Sarah Marsh 351ff7543e Exit non-zero for invalid toolchain path 2016-08-31 08:34:56 +03:00
Sarah Marsh e78e023526 Readable error when toolchain paths not set.
Fixes #2360.

New error:
[Error] Toolchain path does not exist for IAR.
Current value: /default/path/that/doesnt/exist
(System exit before any build system calls)
2016-08-31 08:34:51 +03:00
Laurent MEUNIER 568384a8a5 pwmout: remove printf
This remains from a debug session but is not needed and creates a warning,
so better remove it.
2016-08-31 08:34:47 +03:00
Bartek Szatkowski 050162a384 Ticker: Move ticker initialisation to object creation time
Having it in the attach call introduces extra latency and can break
short delays, for the first usage.
2016-08-31 08:34:43 +03:00
Bartek Szatkowski da5a269ab8 Add tests for LowPowerTimeout and lp_ticker 2016-08-31 08:34:40 +03:00
Bartek Szatkowski 5adb51fb8e K64F/K22F: Implement HAL lp_timer API
API implemented using hybrid approach with RTC for longer periods and
LPTMR for subsecond ones.
2016-08-31 08:34:36 +03:00
Andrzej Puzdrowski 36c9092fbf Introduce uart hardware flow control configuration using mbed configuraton system for nrf5x base-targets 2016-08-31 08:34:32 +03:00
Michel Jaouen 2457bb1f9e STM32F3 : Fix RTOS GCC_ARM test failed. remove target with RAM too small for RTOS GCC_ARM. since newlib is used for RTOS re-entrance suport instead of nano-newlib : Heap size is reduced because sdata and bss have increased. 2016-08-31 08:34:29 +03:00
Michel Jaouen 77b4eaf317 STM32F3 : fix RTOS IAR test not compiling. Thread_stack_main is by default too large for this target. 2016-08-31 08:34:25 +03:00
Alessandro Angelino c9fe22fabf uVisor: Minor fix in the README 2016-08-31 08:34:22 +03:00
Alessandro Angelino 64e58b9676 uVisor: Update to v0.20.1-alpha 2016-08-31 08:34:18 +03:00