There was the wrong #ifdef which prevented setting BYTE_ORDER.
It was working for LITTLE_ENDIAN platforms as defaulting to it.
Change-Id: Ia8028c654f04f92e43b8e0ad24e1a18177a975e7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
Statically define PACKAGE_NAME and PACKAGE_VERSION in contiki platform header.
This will require maintaining them in addition to values in configure.ac.
Change-Id: I08948dfdb4ddeafeed273a917367ee5ad237df8f
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
config-sky only defines ssize_t which is unused.
There is no more platform-specific headers, so remove the comment.
Change-Id: I6aea9f21fe1cb4109cfa7d2f6d8b42dcbc3b85b7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
Also mimic UIP values for LITTLE_ENDIAN and BIG_ENDIAN.
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
Change-Id: Ideec80ea365e046eeca5235707653ece6e4775fd
When building with contiki, 'CONTIKI' is defined and is used to detect contiki.
Configure options can be configured with:
DTLS_CONF_ECC, DTLS_CONF_PSK, DTLS_CONF_NDEBUG
All files now include 'tinydtls.h' instead of 'dtls_config.h'.
Change-Id: I9a558a7d6bd777656d7b29028852bfc08911b8b7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>