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

37 Commits

Author SHA1 Message Date
b0d20fa603
pkg/nordic_softdevice_ble: don't alter archive before building
Use RIOT Makefile.base when possible or explictly set files to build in a module
2020-06-14 21:36:13 +02:00
Semjon Kerner
686e90323a pkg/softdevice/doc.txt: add deprecation warning 2020-05-15 22:43:21 +02:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
chrysn
6a493cce58 pkg/nordic_softdevice_ble: Add note on being outdated
See-Also: https://github.com/RIOT-OS/RIOT/issues/11951
2020-02-11 09:59:18 +01:00
chrysn
461065471d pkg/nordic_softdevice_ble: Move README in with doxygen 2020-02-11 09:46:15 +01:00
7a1859d660
pkg/nordic-softdevice: define dependencies in package 2020-01-27 12:51:19 +01:00
357c1bc0db pkg/nordic_softdevice_ble: fix typos 2019-11-23 22:39:38 +01:00
Martine Lenders
14a2f6bc18 gnrc: use gnrc_netif_default_init() for all implementations 2019-11-07 11:00:36 +01:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Martine Lenders
e0945ad64e
pkg/nordic_softdevice_ble: use gnrc_netif_hdr_set_netif() 2019-08-29 14:51:45 +02:00
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Benjamin Valentin
66117601bb pkg: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02: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
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
Hauke Petersen
755113d921 pkg/softdevice: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
Martine Lenders
6a56be5381 nrf_softdevice_ble: blacklist LLVM/clang 2018-09-09 16:15:16 +02:00
a4326620db pkg/nordic_softdevice_ble: add missing documentation 2018-03-01 15:31:08 +01:00
Martine Lenders
d4661af4c8 gnrc: 6Lo fixes for BLE 2018-02-05 22:34:31 +01:00
Martine Lenders
51ae9d9c87 nordic_softdevice_ble: fixes for gnrc_netif usage 2018-02-05 22:34:11 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
5e0a51707c
pkg: port nordic_softdevice_ble to gnrc_netif2 2017-11-14 10:09:09 +01:00
98bb1f2781 pkg: add prepare targets 2017-06-28 14:39:05 +02:00
d98e25b7d9 pkg: nordic_softdevice_ble: use dlcache 2017-06-17 17:00:55 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Martine Lenders
6928c5d4ed pkg: nordic_softdevice_ble: fix cppcheck warnings 2017-04-14 14:36:16 +02:00
Oleg Hahm
22fd9c12cc pkg: nordic_softdevice_ble: fix cppcheck warnings 2017-04-14 14:36:14 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
8d88781e05 make: pkg: make use of PKGDIRBASE 2017-03-10 14:18:44 +01:00
Oleg Hahm
5c8188f1a3 pkg nordic_softdevice_ble: fixes header 2017-01-19 23:32:58 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
47f6ff3056 Merge pull request #6237 from kaspar030/rename_AD_to_Q
make: rename AD to Q
2017-01-17 16:16:02 +01:00
e4fddaacf9 pkg: nordic_softdevice_ble: add license information 2017-01-09 00:49:33 +01:00
f44763f346 make: adapt Makefiles to AD -> Q rename 2016-12-22 12:12:38 +01:00
Oleg Hahm
b428979a1d debug: add missing line breaks 2016-09-27 23:38:41 +02:00
Matthias Kolja Miehl
906b22699d pkg/nordic_softdevice_ble: gnrc_nordic_ble_6lowpan: fix nullPointer error 2016-09-05 02:16:42 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00