1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

888 Commits

Author SHA1 Message Date
PeterKietzmann
448e282ff3 pkg/ccn-lite: bump version 2019-08-02 10:35:39 +02:00
Hauke Petersen
4016eeb1ad pkg/nimble: bump version to 997dad8 2019-08-01 13:55:47 +02:00
Francisco Molina
41e440a0ef pkg/semtech-loramac: extended return code doc and debug msg
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Francisco Molina
cdf687ceba examples/lorawan: fix semtech_loramac_send TX ret code
- with #11541 TX notification are only sent after mcps confirm event
  this will send a SEMTECH_LORAMAC_TX_DONE instead of
  SEMTECH_LORAMAC_TX_OK.
2019-07-19 12:22:53 +02:00
8150b014b1
Merge pull request #11801 from kaspar030/update_pkg_libcose
pkg/libcose: bump version
2019-07-18 09:44:32 +02:00
f8d969c3cf pkg/libcose: update to latest master 2019-07-17 10:30:15 +02:00
Francisco Molina
aff7ee3732 pkg/semtech_loramac: fix memcpy to uninitialized pointer 2019-07-16 10:47:36 +02:00
Martine S. Lenders
fd3789a735 nanocbor: fix doc grouping of nanocbor_config 2019-07-12 15:41:58 +02:00
Francisco
f33ba386ac
Merge pull request #11799 from aabadie/pr/pkg/semtech-loramac-rx-started-event
pkg/semtech-loramac: handle rx started event in mac event callback
2019-07-10 15:51:54 +02:00
Leandro Lanzieri
9aa1d76bee
Merge pull request #11817 from jia200x/pr/fix_ot_dep
pkg/openthread: remove openthread config header from contrib
2019-07-08 17:23:10 +02:00
Jose Alamos
f7afc79bab pkg/openthread: remove openthread header from contrib
The internal Openthread config file is not needed for the contrib
files, since it only includes internal OpenThread configuration
(use by the Openthread build system). Under certain cases some
macros defined in Openthread collide with RIOT internals or vendor
headers. So it's important to keep dependencies consistent.
2019-07-08 14:04:49 +02:00
01ab91dbf0
pkg/nanocbor: Version bump to latest master
Current latest master is also compatible with 8 and 16-bit platforms
2019-07-05 20:47:48 +02:00
91d982733f
Merge pull request #11600 from bergzand/pr/pkg/nanocbor
nanocbor: Initial support for the nanocbor package
2019-07-05 15:07:04 +02:00
2b2980bca1
pkg/nanocbor: Initial import 2019-07-05 14:26:17 +02:00
01195a073f
pkg/semtech-loramac: handle rx started event in mac event callback
This is only used for debugging purpose when ENABLE_DEBUG is set and avoid having a message about an unexpected event received
2019-07-04 19:34:24 +02:00
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
2260f0996b
pkg/nimble: add dependency to radio_nrfble feature 2019-06-12 17:41:31 +02:00
2703316900
pkg/semtech-loramac: update rx parameters type
System max RX error is in ms and should be uint32_t, min RX symbols is supposed to be uint8_t in loramac-node code
2019-06-05 18:46:03 +02:00
Hauke Petersen
5d96471abf pkg/nimble: cleanup doxygen groups for submodules 2019-06-04 16:14:41 +02:00
Hauke Petersen
fb3febab7f ble/nimble: add support for build-in IPSS service 2019-06-04 14:48:42 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00
Juan Carrano
56eb7d9d92 pkg/lua: detect if weak symbol has been overriden.
After removing the default definitions of lua module tables and table
lengths (see lua_builtin.h) the symbols have been left undefined, which
results in them getting an address of NULL and a crash if there are no
user symbols and the user attempts a "require".

This patch checks the address of the table length variable and fails the
module search function of the table is not set (i.e. it behaves as if the
table was empty.)
2019-05-31 17:15:41 +02:00
Juan Carrano
fe07bff90c pkg/lua: Make the module searchers conform to the API.
The module searchers in the `require` package should return a string
if the module is not found, and not raise an error.

See: https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers

Also make error strings contain newlines and tabs just like the original
ones.
2019-05-31 17:15:04 +02:00
ba8e7e5eaf
pkg/semtech-loramac: persist updated RX2 params
After a successful OTAA join procedure, the network may change the RX2 channel datarate. It's
required to also persist to be able to correctly receive downlink after a reboot
2019-05-30 13:41:54 +02:00
bcad9ee517
pkg/semtech-loramac: update documentation with persistence mecanism 2019-05-30 13:41:54 +02:00
b4d905471f
pkg/semtech-loramac: persist OTAA join information in eeprom
This allows to continue sending data even after a reboot of a device that provide non volatile storage, e.g. eeprom
2019-05-30 13:41:54 +02:00
b5c48ef04e
pkg/semtech-loramac: make RX optional 2019-05-29 16:24:52 +02:00
032f89145a
pkg-semtech-loramac: update/simplify doxygen documentation 2019-05-29 16:24:23 +02:00
b7890b3031
pkg/semtech-loramac: refactor send and recv interactions with the MAC
Now TX notification messages are only sent after mcps confirm event. RX message notification message is sent after mcps indication
2019-05-29 16:24:23 +02:00
d1798375e0
pkg/semtech-loramac: reduce MAC thread message queue 2019-05-29 16:24:22 +02:00
Kevin "Bear Puncher" Weiss
6616032150
Merge pull request #9941 from bergzand/pr/pkg/monocypher/v205
pkg/monocypher: bump version to 2.0.5
2019-05-29 09:55:08 +02:00
d87cf66473
pkg/semtech-loramac: move lora region cflags to pkg makefile 2019-05-26 11:47:16 +02:00
Martine Lenders
6273b30bcb minmea: bump version to current master
$ git log --oneline dbf51f03c5058746b4c4b3d6fdcd3d0357c5da36..HEAD
ae4dd94 Merge pull request #38 from noahp/noahp/check-url
b1371aa 🔗 update Check link
65bf740 Merge pull request #35 from gdpinchina/master
61c6ef7 fix test for gga
4514f6d fix test for gga
113221d fix test for gga
35b00bc fix test in gga
9fcd245 remove indent
59c3e0a fix gga char alignment problem in test.c
79b964a modefy initialization for dgps_age
c4a5a01 modify dgps_age type
c01cbcf modify dgps_age type
cd27e72 Merge pull request #29 from swilson/master
4d97109 Fix compiler warnings.
0456bbb Define timegm
04f1141 Add TI-RTOS compat header
8e4fc4e README.md: formatting fixes
0b02771 minmea.h: add Windows compatibility layer
ded4faf Merge pull request #25 from asund/master
f50449e Fixup whitespace
80af9b4 * Arrange year interpretation in order of likeliness * Add unit tests
ef8bca7 clarity of century use in struct tm
486da2b Small fixes to minmea_gettime * Handle four digit years provided by ZDA in minmea_gettime * Assume GPS epoch to allow dates prior 2000 to be parsed
2019-05-24 19:02:59 +02:00
José Alamos
d66ac85b8d
Merge pull request #11540 from OlegHahm/feature/pkg/openthread_update
openthread: update to release 20180926
2019-05-17 14:00:42 +02:00
Hauke Petersen
88f9cf780a ble/nimble: bump version to 9d4bda2 2019-05-17 10:34:26 +02:00
Oleg Hahm
4f83dfd975 openthread: update to release 20180926 2019-05-16 23:28:35 +02:00
Guillaume Gonnet
f5c9fef096 pkg/semtech_loramac: fix DEBUG message when payload is NULL
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the
case when scheduling an immediate TX, line 726). As DEBUG macro use printf,
a %s parameter can't be NULL so we have to handle that case.
2019-05-15 20:50:55 +02:00
Jose Alamos
86942279a2 pkg/openthread: adapt CLI guards to new format 2019-05-14 18:55:53 +02:00
Jose Alamos
c42af783c5 pkg/openthread: separate cli and thread mode variables 2019-05-14 18:55:53 +02:00
4ae1ef3f22
pkg/c25519: remove inexistent SHAFILE cleanup 2019-04-22 21:10:27 +02:00
81eed53776
pkg/semtech-loramac: cleanup in doc file
- fix badly rendered github url
- add missing newline at end of file
2019-04-10 08:21:41 +02:00
1f57c0bd2e
pkg/semtech-loramac: update send function snippet
If the send fails, just return. This avoid recv to be stuck afterward and shows a good practice
2019-04-10 08:20:40 +02:00
Juan I Carrano
9832299e62
Merge pull request #11319 from miri64/pkg/new/ubasic
pkg: Initial introduction of ubasic package
2019-04-08 17:38:03 +02:00
Martine Lenders
8543129ba9 pkg: Initial introduction of ubasic package 2019-04-08 17:09:28 +02:00
f6f988cfbf
Merge pull request #9389 from bergzand/pr/pkg/c25519/initial
c25519: Initial support for the c25519 package
2019-04-04 14:23:09 +02:00
6d8e18b57e
c25519: Initial support for c25519 package
c25519[1] is a library optimized for embedded applications handling ed25519
signing and x25519 crypto. It uses significantly less memory and flash
compared to TweetNaCl and is significantly faster when used on a
samr21-xpro

[1]: https://www.dlbeer.co.nz/oss/c25519.html
2019-04-04 14:05:57 +02:00
José Alamos
b5aaa6186f
Merge pull request #10599 from miri64/pkg/cleanup/openthread-rm-NETOPT_IPV6_IID
openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID
2019-03-29 12:33:21 +01:00
Leandro Lanzieri
ef2b33c3d5
Merge pull request #11277 from obgm/tinydtls
pkg/tinydtls: Update repository URL to new location, fix posix_sockets
2019-03-28 17:17:46 +01:00
Hauke Petersen
42c6702433 ble/nimble: add scanner submodule 2019-03-27 18:11:37 +01:00
Martine Lenders
f70bba0958
Merge pull request #11278 from haukepetersen/add_nimble_scanlist
ble/nimble: add scanlist submodule
2019-03-27 17:10:01 +01:00
Hauke Petersen
bce0381c6f ble/nimble: add scanlist submodule 2019-03-27 16:45:25 +01:00
Martine Lenders
727f387ea9 openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 16:02:01 +01:00
Martine Lenders
301b6555aa lwip: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 11:48:49 +01:00
José Alamos
61d7b205b8
Merge pull request #11241 from aabadie/pr/pkg/loramac_duty_cycle
pkg/semtech-loramac: provide a way to disable dutycycle
2019-03-27 11:47:48 +01:00
Olaf Bergmann
542701f3fd [tinydtls] Makefile: Updated package to head of develop branch
[tinydtls] Makefile: Updated PKG_URL

The tinydtls repository has moved from Eclipse Gerrit to GitHub [1].
PKG_URL now points to the new direction and PKG_VERSION was updated
to the HEAD of the develop branch.

[1] https://github.com/eclipse/tinydtls.git
2019-03-27 10:04:26 +01:00
Hauke Petersen
310cdab3d3 ble/nimble: add addr helper module 2019-03-26 22:20:01 +01:00
Martine Lenders
98ac1249bf
Merge pull request #10114 from miri64/pkg/enh/lwip-socket_zep
pkg/lwip: provide socket_zep support
2019-03-26 21:17:48 +01:00
Martine Lenders
45d4004fcb
Merge pull request #10816 from miri64/pkg/enh/softdevice-fix-kernel-doc
nordic_softdevice_ble: document working Linux versions
2019-03-26 18:47:20 +01:00
Hauke Petersen
4907d56185 ble/nimble: fix missing stdint incl in riot_nimble 2019-03-26 14:24:15 +01:00
Martine Lenders
97c4fef19e
Merge pull request #11232 from haukepetersen/fix_nimble_includeguardsriotinit
pkg/nimble: fix include guards in nimble_riot.c
2019-03-26 14:18:28 +01:00
Olaf Bergmann
db615302a2 [tinydtls] Makefile.include: fixed GNRC vs. posix_sockets
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more
compact address representation based on ipv6_addr_t instead of
POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t).

When posix_sockets are used (as in libcoap, e.g.), the POSIX
address representation should be selected automatically for
consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only
when the module posix_sockets is not selected.
2019-03-26 08:52:10 +01:00
Hauke Petersen
f5467ef9f1 net/ble: cleanup doxygen grouping 2019-03-25 19:04:05 +01:00
4e827085f7
pkg/semtech-loramac: provide a way to disable dutycycle
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
2019-03-23 07:38:38 +01:00
Hauke Petersen
eca26c91cd pkg/nimble: fix include guards in nimble_riot.c 2019-03-21 21:39:15 +01:00
Hauke Petersen
c0819c7a46
Merge pull request #11216 from haukepetersen/opt_nimble_verbump
pkg/nimble: bump version to a7b3c93
2019-03-20 14:13:02 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Hauke Petersen
4ec250b24f pkg/nimble: bump version to a7b3c93
- version update to a7b3c93
- remove patches (merged to changes to nimble upstream)
- adapt initialization order to upstream changes
2019-03-20 13:36:00 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Juan I Carrano
5488c5fef6
Merge pull request #11129 from jcarrano/pkg-update-version
pkg/pkg.mk: make sure we are building the correct commit.
2019-03-19 14:05:56 +01:00
Juan Carrano
f8f229b6f7 pkg/pkg.mk: make sure we are building the correct commit.
Once the repo is downloaded, the version is not checked gain. This
means that even if a package's Makefile is touched, that will only
cause a rebuild of the previously downloaded version. For packages
that are normally not deleted, like edbg, this renders PKG_VERSION
bumps ineffective, unless the user manually deletes the repo
directory.

This patch fixes that by always checking that the repo is at the
right commit.
2019-03-19 11:49:41 +01:00
Gunar Schorcht
cd00449863 pkg/lwip: include log.h if module log is used
If module log is used, log.h should be included. Otherwise, it might lead to compilation problems since LOG_ERROR macro isn't know in expansion of LWIP_PLATFORM_ASSERT macro.
2019-03-10 12:47:31 +01:00
d562af40e6
Merge pull request #11144 from jia200x/pr/netdev_lora_rx_info
netdev/lora: add netdev_lora_rx_info structure for RX info
2019-03-08 18:36:02 +01:00
Jose Alamos
dd2e0bb7a7 pkg/semtech_loramac: use netdev_lora_rx_info structure for RX info 2019-03-08 17:47:22 +01:00
Jose Alamos
ee93796975 pkg/semtech_loramac: add null guards to radio_events descriptor 2019-03-07 17:36:29 +01:00
Hauke Petersen
8a849be118 pkg/nimble: auto initialize build-in services 2019-03-07 16:21:08 +01:00
Hauke Petersen
f3257f0bfe pkg/nimble: extract own addr type during init 2019-03-07 16:20:36 +01:00
Hauke Petersen
fe56b73e07 pkg/nimble: wait for host/ctrl sync during init 2019-03-07 16:19:23 +01:00
Martine Lenders
f4145b3bfc
Merge pull request #11120 from fjmolinas/pkg/lwip_fix_URL
pkg/lwip: update pkg_url from git:// to https://
2019-03-07 11:15:06 +01:00
francisco
e4d5996526 pkg/lwip: update url from git:// to https:// 2019-03-07 10:03:58 +01:00
Hauke Petersen
51aa8fe407 examples/nimble_gatt: use gatt/gap svcs explicitly 2019-03-06 18:21:52 +01:00
Hauke Petersen
2f46f8c732 pkg/nimble: improve Makefile structure 2019-03-06 18:21:52 +01:00
Jose Alamos
82c7eac041 pkg/wakaama: Bump to v1.0
- copy basic objects from client implementation

- fix pkg warnings

- use lwm2m_strdup instead of strdup

- fix alignment problem in lwm2m data struct

- add fix of acc_ctrl object read
2019-02-27 10:48:08 +01:00
120a46c784 pkg/lwip: use xtimer_set64() in sys_arch_mbox_fetch()
Used _xtimer_set64 previously, which expects ticks instead of us.
That broke on non-1us xtimer ticks (e.g., hifive1 with 32kHZ).
2019-02-21 13:53:21 +01:00
f7abe8415d
pkg/semtech-loramac: fixing missing directive in doc
Setting the LORAMAC_ACTIVE_REGION define via cflags is required for any lorawan application to build
2019-02-20 21:39:16 +01:00
PeterKietzmann
8f766c3fac pkt/emb6: fix typo in hwrng call 2019-02-19 17:51:01 +01:00
afc85e3daa
pkg/semtech-loramac: improve send and recv functions doc 2019-01-30 18:58:43 +01:00
1f0b2c390e
pkg/semtech-loramac: better handle TX status from the MAC 2019-01-30 18:58:28 +01:00
cee830bd97
Merge pull request #10868 from jia200x/pr/pkg_loramac_calibration
pkg/semtech-loramac: add timer calibration
2019-01-25 15:55:03 +01:00
Jose Alamos
3c2617dfeb pkg/semtech-loramac: set default timer calibration values 2019-01-25 14:18:46 +01:00
Jose Alamos
5b4a26cd69 pkg/semtech-loramac: add timer calibration functions 2019-01-25 14:17:12 +01:00
Jose Alamos
b3d81af38a pkg/semtech-loramac: remove timer tweaks from contrib 2019-01-25 14:16:11 +01:00
Dylan Laduranty
b3e1802677 pkg/qDSA: add support for cortex-M23 2019-01-21 17:08:48 +01:00
Martine Lenders
8f5f6dcacd nordic_softdevice_ble: document working Linux versions
It is not 100% clear if 4.12 is the last version the softdevice is able
to interact with, but newer kernel versions than 4.12 definitely
don't work (we tried 4.15 on Ubuntu 18.04 and 4.20 on a quite recent
Arch).

The reason I believe it's the 4.12 that last worked is that in the
documentation of the nRF5 SDK it is mentioned for something called
"legacy mode" [1]. However, we are using the nRF5 *IoT* SDK which
doesn't mention this legacy mode at all.

I don't know if we can update the `pkg` to the other SDK, so I just
updated the documentation accordingly for now.

[1]: https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__ble__6lowpan__config?9932#ga5285fd3eaf403092286f607cd66850f3
2019-01-18 14:46:13 +01:00
Cenk Gündoğan
82f30fd8c4
Merge pull request #10514 from miri64/pkg/enh/nordic-softdevice-ble-mac48
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
2019-01-17 19:22:36 +01:00
Martine Lenders
7f7bc8fc20 pkg/nordic_softdevice_ble: Use MAC48 as hardware address
This is just a compatibility issue waiting to happen as soon as there
is support for a more standard-compliant implementation of BLE (like
e.g. NimBLE ;-)).
2019-01-17 18:08:55 +01:00
Martine Lenders
d4b92e931e
Merge pull request #10789 from cladmi/pr/build_dir/fix_jerryscript
pkg/jerryscript: namespace BUILD_DIR variable
2019-01-16 18:57:42 +01:00
Gaëtan Harter
6a170583d6
pkg/jerryscript: namespace BUILD_DIR variable
BUILD_DIR was introduced but the variable was already used by
`pkg/jerryscript` so there is a name collision.
Namespace it to prevent issues.
2019-01-16 17:47:12 +01:00
7226daf33e
Merge pull request #10558 from dylad/pr/update_arm_cmsis
cpu/cortexm_common: Update ARM CMSIS to V5.4.0
2019-01-16 16:49:14 +01:00
danpetry
9fadbf60b4
Merge pull request #10190 from jcarrano/qualifier-fixes/lua
pkg/lua: Fix warnings on discarded qualifiers.
2019-01-16 12:13:29 +01:00
Dylan Laduranty
514812fc7c pkg/cmsis-dsp: update to V5.4.0 from ARM repo
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 21:33:24 +01:00
Juan Carrano
a8a23e4d85 pkg/lua/contrib: Fix warning on discarded qualifier.
There was a cast in a macro that calculated offsets. Since it was
only doing a pointer difference, the cast was inocuous, but I fix
it anyways.
2019-01-15 15:16:25 +01:00
Juan Carrano
cf2bca0d53 pkg/lua: Suppress warnings on discarded qualifiers.
Upstream lua has many instances of discarding cont qualifiers through
explicit casting. This disables the warnigns for the package so that
they don't show up when one enables -Wno-cast-qual globally.
2019-01-15 15:16:25 +01:00
Kevin "Bear Puncher" Weiss
9554f751d8
Merge pull request #6630 from OTAkeys/pr/cortex-m4f-fpu
cortexm_common: add FPU support for cortex-m4f and cortex-m7
2019-01-04 11:56:18 +01:00
Vincent Dupont
e06993e913 pkg/cmsis-dsp: include cpu_conf.h for __FPU_PRESENT define 2019-01-03 16:06:30 +01:00
Bas Stottelaar
af7f3544a8 pkg: gecko_sdk: update to v2.5 2018-12-30 23:35:57 +01:00
cladmi
04a91e9a42
jerryscript: re-enable LLVM/clang
Re-enable LLVM/clang now that system includes are used.
It compiles and correctly executes examples/javascript.
2018-12-19 17:12:31 +01:00
cladmi
cf12022d63
pkg/jerryscript: fix jerryscript not using system includes
Jerryscript was never using INCLUDES so never having the 'newlib-nano' or llvm
includes. It prevented working with `llvm`.

Disable unsupported warnings for ESP32 and ESP8266 newlib that show when
using system includes.
 * tested newlib version for ESP32 is 2.2.0
 * tested newlib version for ESP8266 is 3.0.0
2018-12-19 17:12:31 +01:00
cladmi
3a125b6396
pkg/jerryscript: build into '$(BINDIR)'
Build into the BINDIR directory instead of the source repository.
This makes 'clean' work as expected without other intervention.

Also it goes in the direction of having the package source repository
board independent.
2018-12-19 14:30:41 +01:00
cladmi
097575117c
pkg/jerryscript: build directory does not need to exist with -B 2018-12-19 14:30:41 +01:00
cladmi
d55ae9c7f9
pkg/jerryscript: remove unnecessary export and fix indent 2018-12-19 14:27:45 +01:00
cladmi
c4f8c006c4
pkg/jerryscript: use 'make -f' instead of copying makefile 2018-12-19 14:27:32 +01:00
cladmi
da3c075d1d
pkg/jerryscript: update rules
Remove unknown rules from .PHONY.
Make 'all' be the default target for jerryscript and execute `all` target.
This way no definition order issue could happen in the future.
2018-12-19 14:26:55 +01:00
cladmi
b7aa55b721
pkg/jerryscript: do not use Makefile.base
Do not include Makefile.base as 'DIRS' are not used here.
Also if 'all' target was to be used, there would be two rules creating
`$(BINDIR)/jerryscript.a`.

By default `Makefile.jerryscript` executes `libjerry` as it is the first
target.
2018-12-19 14:23:13 +01:00
Gaëtan Harter
3091cd85bd
Merge pull request #10361 from miri64/lwip/enh/bump-2.1.1
lwip: bump to version v2.1.2
2018-11-30 18:57:47 +01:00
Juan Carrano
d7789c08f2 nimble/Makefile: remove unnecessary warning suppression.
The -Wno-sometimes-uninitialized suppression seems to no longer be
necessary. Removing it as it may mask a real bug.

If the problem reappears, and if the comment is correct about it
being only in an unused function, then instead of adding the CFLAG,
it should be fixed locally via a patch.
2018-11-29 14:11:07 +01:00
Juan Carrano
2ffb83af6f pkg/nimble: add patch to fix pointer alignment issue.
Nimble contains a couple of casts that discard alignment information.
This causes a warning with clang's -Wno-address-of-packed-member.

A previous PR (#10503) supressed that warning. This commit re-enables
them and provides a patch to fix the offending code.

The fix has been submitted upstream, see
https://github.com/apache/mynewt-nimble/pull/252
2018-11-29 14:04:01 +01:00
Sebastian Meiling
47a662652e pkg/nimble: disable -Waddress-of-packed-member for llvm 2018-11-29 12:06:12 +01:00
Sebastian Meiling
f56d8d1b1c pkg/jerryscript: disable -Wconversion for llvm 2018-11-29 12:06:12 +01:00
smlng
618fd16699 tests/relic: move from unittests to regular test
This moves tests for the relic package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 20:41:26 +01:00
Juan I Carrano
d3e9eec8fe
Merge pull request #10060 from cladmi/pr/tests/build_system_checks
static_tests: add build system checks
2018-11-27 15:20:45 +01:00
Gaëtan Harter
a07ac29c71
pkg/tinycrypt: update commit hash after upstream rewrote history
Upstream rewrote history in master which changed our reference commit from

    3ea1a609e7

to

    6a22712beb

Diff can be verified to be empty with:

    6a22712beb...3ea1a609e7
2018-11-26 15:56:12 +01:00
Martine Lenders
2cbf83b6f7 lwip: bump to version v2.1.2
From lwIP CHANGELOG

(STABLE-2.1.2):

  ++ Bugfixes:

  2018-11-21: Jens Nielsen
  * netbiosns.c: fix expecting too large packet (bug #55069)

  2018-11-19: Dirk Ziegelmeier
  * smtp.c: fix compiling with strict C compatibility because of strnlen (bug #55034)

  2018-11-12: Simon Goldschmidt
  * tcp.c: fix overflow check in tcp_recved triggering invalid assertion (bug #55015)

  2018-11-12: Simon Goldschmidt
  * tcp.c: fix a bug in sending RST segments (sent from port 0)

(STABLE-2.1.1):

  ++ Bugfixes:

  2018-11-01: Joan Lledó
  * sockets.c: fix bad assertion in lwip_poll_dec_sockets_used() (bug #54933)

  2018-11-01: Dirk Ziegelmeier
  * ip4.c: don't send 127.* to default netif (bug #54670)

  2018-10-23: David Girault
  * altcp_tls_mbedtls.c: fix use-after free (bug #54774)

  2018-10-23: Ognjen Bjelica, Dirk Ziegelmeier
  * snmp_scalar.c: Avoid NULL pointer dereference (bug #54886)

  2018-10-23: Simon Goldschmidt
  * Fix missing standard includes in multiple files

  2018-10-17: Ivan Warren
  * def.h: fix casting htonX and ntohX to u16_t (bug #54850)

  2018-10-12: Simon Goldschmidt
  * Revert "tcp_abandon: no need to buffer pcb->local_port" (fix that source port was 0 for RST
    called when aborting a connection)

  2018-10-11: Jonas Rabenstein
  * tcp.c: tcp_recved: check for overflow and warn about too big values (patch #9699)

  2018-10-06: Joan Lledó
  * sockets.c: alloc_socket(): Check for LWIP_SOCKET_POLL when setting select-
    related variables (patch #9696)

  2018-10-04: Spencer
  * tcp.c: Update prev pointer when skipping entries in tcp_slowtmr (patch #9694)

  2018-09-27: Martine Lenders
  * lowpan6.c: Fix IEEE 802.15.4 address setting (bug #54749)
2018-11-24 14:33:19 +01:00
Hauke Petersen
755113d921 pkg/softdevice: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
Gaëtan Harter
c7de150ec3
pkg/fatfs: fix declaration of periph_rtc optional dependency
* Declare optional dependency to periph_rtc
* Move CFLAGS definition to Makefile.include
2018-11-19 15:59:54 +01:00
Hauke Petersen
8f2a825b58 pkg/nimble: ipmrove host initialization 2018-11-08 14:40:52 +01:00
Hauke Petersen
d5b019fdc2 pkg/nimble: disable selected compiler warnings 2018-11-08 14:10:58 +01:00
Martine Lenders
30dc2d91e1
Merge pull request #10203 from haukepetersen/opt_nimble_versioning
pkg/nimble: bump version to current master
2018-11-08 14:07:45 +01:00
Hauke Petersen
af57afe3ac pkg/nimble: bump version to current master 2018-11-08 12:40:48 +01:00
Martine Lenders
a077dc5782 emb6_sock_udp: unify cppcheck-suppress reason with others 2018-11-06 10:02:13 +01:00
Martine Lenders
9e3ce7b5a7 emb6_sock_udp: fix typo in cppcheck suppression 2018-11-06 10:00:47 +01:00
Martine Lenders
0d5dafe924 emb6_sock_udp: copy receive remote correctly
The `src` member of `sock_udp_t` for `emb6` is a pointer, not a value,
so it should not be referenced.

This fixes the output issue encountered during the
[2018.10 RC1 testing][RC1].

[RC1]: https://github.com/RIOT-OS/Release-Specs/issues/76#issuecomment-435924505
2018-11-05 17:18:48 +01:00
José Alamos
372a729e21
Merge pull request #10070 from OTAkeys/pr/bump_littlefs_version
pkg/littlefs: bump version to v1.6.2
2018-10-18 14:35:55 +02:00
9497a6d8dd
Merge pull request #10180 from leandrolanzieri/pr/pkg/semtech_timeout
pkg/semtech-loramac: Reduce timeout in timer
2018-10-18 08:25:15 +02:00
Leandro Lanzieri
0aa12b9f77 pkg/semtech-loramac: Reduce timeout in timer 2018-10-18 08:08:12 +02:00
Hauke Petersen
7351cba054 pkg/nimble: create ctrl thread with FLAG_STACKTEST 2018-10-17 20:26:42 +02:00
77d97a6fa2
Merge pull request #9336 from jia200x/openthread_ftd
pkg/openthread: rework of FTD and MTD support
2018-10-16 17:23:55 +02:00
Jose Alamos
6541678fea pkg/openthread: adapt to newer stdio uart header file 2018-10-16 15:25:44 +02:00
Jose Alamos
3a9665266e pkg/openthread: replace sed by patch 2018-10-16 15:25:44 +02:00
Jose Alamos
74ec336d03 pkg/openthread: move dependencies to pkg Makefile.dep 2018-10-16 15:25:44 +02:00
Jose Alamos
2bf6d01a87 pkg/openthread: add FTD and NCP support 2018-10-16 15:25:44 +02:00
Martine Lenders
620befe9ea lwip: move lwIP PSEUDOMODULES to pkg's Makefile.include 2018-10-15 21:40:31 +02:00
Martine Lenders
ab258b6783 lwip: provide patch to fix 6Lo hwaddr setting
Patch cherry-picked into upstream as [a47d30f].

[a47d30f]: http://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=a47d30ffc7d36a79307486ca5e9a48f5bf89c7b6
2018-10-15 21:40:27 +02:00
Martine Lenders
fd69f2e63f lwip_netdev: fix setting of link-local address for 6Lo 2018-10-15 21:32:34 +02:00
Martine Lenders
6822f90004 lwip_sock: adapt for address zoning 2018-10-15 21:32:34 +02:00
Martine Lenders
aaa3861ab5 lwip: Bump version to v2.1.0
See release [blog] post for details.

[blog]: https://savannah.nongnu.org/forum/forum.php?forum_id=9248
2018-10-15 21:32:34 +02:00
Martine Lenders
dd30a51d2b lwip: ignore address warnings
lwIP uses a lot of macro "magic" (including dereferencing then
pointerizing pointers again) that confuses the static code checker of
most compilers.
2018-10-15 21:32:31 +02:00
Martine Lenders
95c114bc35 lwip: remove patches
Moves lwIP to an integration scheme more similar to newer `pkg`s.
2018-10-15 21:31:45 +02:00
2f2512601f pkg/semtech-loramac: add config storage to eeprom in API 2018-10-15 14:15:29 +02:00
da48e01029
Merge pull request #10109 from silkeh/add-libb2
pkg: add libb2 (BLAKE2)
2018-10-14 20:26:20 +02:00
Silke Hofstra
07c0ac81c7 pkg: add libb2 (BLAKE2) 2018-10-13 20:39:00 +02:00