Commit Graph

185 Commits (pr/rotary)

Author SHA1 Message Date
Vincent Dupont 4cb3232a42 native: add spiffs options in board.h 6 years ago
Joakim Nohlgård d1ea50a600 mtd: Redefine MTD_0 as a mtd_dev_t * 6 years ago
Vincent Dupont 1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
6 years ago
Vincent Dupont 9e8cb3d135 native: add mtd-compliant flash emulation 6 years ago
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
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 6 years ago
Oleg Hahm ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
6 years ago
Martine Lenders 235375f664 native: always assert() verbosely 6 years ago
Kaspar Schleiser 517efe4ccc cpu: native: use gnu99 C dialect 6 years ago
Martine Lenders 2d89169d00 Merge pull request #5991 from Yonezawa-T2/use_lldb
make: use LLDB if GDB is not available on native platform
6 years ago
Takuo Yonezawa f2ea42c043 NEED SQUASHING make: use LLDB on Darwin 7 years ago
Cenk Gündoğan 41011184a5 Merge pull request #5988 from cgundogan/pr/native/term
boards/native: set PORT to tap0
7 years ago
Takuo Yonezawa 160ef548f8 make: use LLDB if GDB is not available 7 years ago
Martine Lenders 3225f020e5 Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
make: remove trailing slash from BINDIR and APPDIR variables
7 years ago
Cenk Gündoğan 50a77aa7e6 boards/native: set PORT to tap0
`PORT` is unset if `netdev2_tap` is not in `USEMODULES`.
But unfortunately, `netdev2_tap` is set by boards/native/Makefile.dep
*after* `PORT` is set, so that `PORT` remains empty.

This commit breaks this circular dependency by checking for
`netdev_default` and `gnrc_netdev_default` instead.

Without this commit, `make term` throws an error for examples that
require a tap interface, when `PORT` is not explicitely given.
7 years ago
Kaspar Schleiser 560a509036 make: remove trailing slash from BINDIR variable 7 years ago
Kaspar Schleiser 10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 7 years ago
Martine Lenders fc1e974102 Merge pull request #5493 from OlegHahm/silent_valgrind
native: let valgrind print the leak summary at the end
7 years ago
Oleg Hahm 7767d5a101 native: enable valgrind's leak summary 7 years ago
smlng 291c1a54eb native: correcting linker LTO flags for OSX
- corrects and enhances changes introduced in #5742
7 years ago
Joakim Nohlgård 455fb6cd4d Merge pull request #5742 from kaspar030/fix_lto
LTO fixes
7 years ago
Kaspar Schleiser b3a061e0ab sys: remove config module 7 years ago
Joakim Nohlgård 5fcb09f6b9 boards/native/Makefile.include: Add -Wl,--gc-sections to linker options 7 years ago
Joakim Nohlgård 0e5522950a boards/native: Use gcc-ar when building with LTO 7 years ago
Toon Stegen cf431e696c make debug: start gdb quietly 7 years ago
Yonezawa-T2 79d33897cb native: add UART driver based on /dev/tty
uart0 functionality is removed by #3164. This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.

A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.

This patch also implements empty GPIO driver needed by the xbee driver.
7 years ago
Oleg Hahm 10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
7 years ago
Kaspar Schleiser 2a69cf2af5 make: native: allow overriding of TERMPROG 7 years ago
Cenk Gündoğan 807fba2f6a Merge pull request #5080 from OlegHahm/debug_valgrind_do_not_always_export
make: export VALGRIND_PID only for debug-valgrind
7 years ago
Hauke Petersen 663be83b2a boards/native: updated LED macros 7 years ago
Oleg Hahm 0530bc9c6c make: export VALGRIND_PID only for debug-valgrind 7 years ago
Joakim Nohlgård e9d7087a05 boards/native: Use another module name for drivers subdirectory 7 years ago
Cenk Gündoğan d15bc43302 Merge pull request #4688 from OlegHahm/valgrind_debug_for_native
native: add debug-valgrind target
7 years ago
Oleg Hahm 2b949fcce1 native: add debug-valgrind target
debug-valgrind-server: Starts valgrind as gdb-server (vgdb)
debug-valgrind:        Connects to vgdb
7 years ago
Hauke Petersen fe5023b7d4 boards: adapted to HWRNG changes 7 years ago
Hauke Petersen b436219674 boards: removed F_CPU define from board.h 7 years ago
Hauke Petersen 8764536f41 boards/native: build driver dir into board.a 7 years ago
Hauke Petersen ac2b9f2524 boards: changed module name to 'board' 7 years ago
Hauke Petersen 528e832c90 boards: cleaned up entries in Makefile.features 8 years ago
Ludwig Knüpfer eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 8 years ago
Hauke Petersen 7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
8 years ago
Kaspar Schleiser 0e4386a46f native: remove uart0 8 years ago
Kaspar Schleiser ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 8 years ago
Thomas Eichinger 9c4b511e7d native: don't warn for deprecated code
As native uses the `ucontext` API this change is needed on OS X
as this API is marked as deprecated.
8 years ago
Martine Lenders 58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 8 years ago
Hauke Petersen ca8c27a753 boards/native: fixed PORT selection for dev_eth_tap 8 years ago
Martine Lenders f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 8 years ago
Hauke Petersen bff1d7e73e boards: remove feature 'transceiver' 8 years ago
Kaspar Schleiser bbf64e81ec remove defaulttransceiver, cc110x, cc2420 traces 8 years ago
Kaspar Schleiser 830af458ea oldnet: remove radio_packet_length_t define 8 years ago