Commit Graph

14 Commits (453122944ce4209bbecd8901acebc2cffa34f25c)

Author SHA1 Message Date
Arto Kinnunen 51d37d5da4 Merge commit '8730005927c6e12a78957c2eda92dc5a9698cdea' into nanostack_libservice_update
* commit '8730005927c6e12a78957c2eda92dc5a9698cdea':
  Squashed 'features/frameworks/nanostack-libservice/' changes from dd98c37..9af7568
2019-07-05 10:44:37 +03:00
Kevin Bracey 5c3b15cf81 ns_list: avoid UINT_FAST8_MAX
Prevent compilation issues when someone has included <stdint.h> before
a header file that needs to include <ns_list.h>.

Some toolchains like ARM C 5 will not provide UINT_FAST8_MAX in C++
unless __STDC_LIMIT_MACROS is defined, and if this was not defined the
first time <stdint.h> was included, it's too late.

We can get the maximum value for our unsigned list offset by casting -1
to it, thanks to modulo arithmetic.
2019-06-11 17:13:27 +03:00
Arto Kinnunen 3b1ccfac0a Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed'
* commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4c358..dd98c37
2019-02-25 13:00:32 +02:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Oren Cohen 32463d64dc Add missing mbed_lib.json for frameworks and nanostack
* mbed-client-randlib
* nanostack-libservice
* coap-service
* nanostack-interface
2019-02-07 09:25:14 -06:00
Seppo Takalo 43a53df505 Fix ns_list for C++03 compilers, like IAR 7 2019-02-06 15:26:06 +02:00
Brian Daniels ee5281abef Remove unused yotta module metadata 2019-01-24 15:30:20 -06:00
Mikhail Maltsev 5c351dc6ae Fix C++11 build with Arm Compiler 6
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
  initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
  does not provide

This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-11-26 12:54:51 +00:00
Arto Kinnunen 923ce138f5 Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511
* commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d':
  Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
2018-11-10 20:14:25 +02:00
Arto Kinnunen 66620a2761 Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511
* commit '0ca91df5905111270a6ec1343be5c726c97fe571':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 5eb2f3f..bb56e37
2018-11-05 14:17:48 +02:00
Arto Kinnunen 1dac676833 Merge commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf'
* commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 2705b9b..5eb2f3f
2018-10-05 13:09:29 +03:00
Arto Kinnunen 3d5010de12 Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d'
* commit 'a184ff592b547f153aa14c99329f65fd18515b0d':
  Squashed 'features/frameworks/nanostack-libservice/' changes from ddd45db..2705b9b
2018-07-02 13:15:58 +03:00
Juhani Puurula 7c38f19745 Merge commit 'd6732a1b96814a2ea635b3d517f498127843a097'
* commit 'd6732a1b96814a2ea635b3d517f498127843a097':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 09056ed..ddd45db
2018-05-11 09:59:29 +03:00
Seppo Takalo d1c6bc0913 Get rid of FEATURE_COMMON_PAL
Nanostack related files moved under 'feature/nanostack'
Common libraries moved to 'features/frameworks'

Allow FEATURE_COMMON_PAL still to be defined in the build so
that we don't break any builds.
2018-04-27 14:38:43 +03:00