8 Commits

Author SHA1 Message Date
Gaëtan Harter
830ff5c2ec contiki: Fix BYTE_ORDER setting to UIP_BYTE_ORDER
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>
2017-04-05 17:07:23 +02:00
Gaëtan Harter
43c7265e0b contiki: re-add dtls_package_name and dtls_package_version
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>
2017-03-01 13:55:56 +01:00
Gaëtan Harter
f11270a00e contiki/sky: remove useless 'ssize_t' definition
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>
2017-02-27 14:36:53 -04:00
Gaëtan Harter
e79636b07c contiki: set HAVE_ASSERT_H by default
Remove empty platform configurations.

Change-Id: I66aad9d3c69d1afa854d5747b42afb21d101d6c7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
2017-02-27 18:05:10 +01:00
Gaëtan Harter
aa55f1b106 contiki: define BYTE_ORDER according to UIP_BYTE_ORDER
Also mimic UIP values for LITTLE_ENDIAN and BIG_ENDIAN.

Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
Change-Id: Ideec80ea365e046eeca5235707653ece6e4775fd
2017-02-27 18:05:10 +01:00
Gaëtan Harter
d1ea35bfb7 contiki: set SHA2_USE_INTTYPES by default
Change-Id: If218a4c434663a008721340b8a11107f2e8a8d7d
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
2017-02-27 18:05:10 +01:00
Gaëtan Harter
080013fd2d contiki: work without running configure
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>
2017-02-27 18:05:10 +01:00
Olaf Bergmann
e1388b3980 New initial commit 2016-02-02 18:39:21 +01:00