You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RIOT/pkg/nordic_softdevice_ble
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
```
6 years ago
..
src netdev2: rename to netdev and remove `gnrc_netdev` 6 years ago
Makefile make: pkg: make use of PKGDIRBASE 6 years ago
Makefile.include make: pkg: make use of PKGDIRBASE 6 years ago
Makefile.module nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 7 years ago
README-BLE-6LoWPAN.md nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 7 years ago
README.md nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 7 years ago

README.md

Overview

This package provides necessary Makefiles and glue code to use the Nordic S132 SoftDevice as Bluetooth BLE transport for RIOT's 6lowpan stack.

Usage

"gnrc_netdev_default" has a dependency to "nordic_softdevice_ble", so all examples automatically download the SDK and compile / link / flash all needed code.

If you want to manually set up included modules, add "USEPKG += nordic_softdevice_ble" to your application's Makefile.

See README-BLE-6LoWPAN.md for instructions on how to set up 6lowpan over BLE on Linux.

Known issues

  • floating point ABI mismatch

The Nordic binaries are compiled using hard float ABI, which RIOT currently doesn't support (RIOT's context switching code doesn't preserve the floating point registers). If the softdevice is compiled in, RIOT will be compiled with hard float ABI in order for the linking to succeed. This works for some application, but will lead to serious and hard-to-find bugs for code using floating point instructions.

Hopefully, either the RIOT community adds hard-float support, or Nordic releases a soft-float version of the used binaries.