1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples
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
..
arduino_hello-world sys/arduino: make arduino sketch works on avr based boards 2017-01-03 13:01:30 +01:00
bindist examples: add example for "make bindist" 2016-03-30 11:00:31 +02:00
ccn-lite-relay cppcheck: fix warning in ccn-lite example 2016-12-22 15:21:42 +01:00
default drivers: remove outdated ltc4150 driver 2017-02-13 14:08:34 +01:00
dtls-echo tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
emcute tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
gcoap tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
gnrc_border_router netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00
gnrc_minimal examples: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
gnrc_networking tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
gnrc_tftp tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
hello-world documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
ipc_pingpong examples: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
microcoap_server tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
nanocoap_server tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
posix_sockets tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
riot_and_cpp tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
saul examples: added stand-alone SAUL example 2017-01-17 12:22:23 +01:00
timer_periodic_wakeup timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00