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

199 Commits

Author SHA1 Message Date
Gilles DOFFE
d5488d108e boards/native: add qdec
Add periph_qdec to native native board features.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:38 +01:00
Vincent Dupont
368818aa23
Merge pull request #8272 from OTAkeys/pr/clean-up-mtd-native
boards/native: clean-up MTD and SPIFFS default config
2018-02-09 14:49:54 +01:00
Pieter Willemsen
f2f6801987 board/native: use ELFFILE for 'make term' 2018-01-31 11:59:07 +01:00
smlng
d94edad1bd board/native: add periph_hwrng and init 2018-01-27 08:42:31 +01:00
Martine Lenders
81ef15287a native: provide socket-based ZEP device 2018-01-18 09:15:37 +01:00
Vincent Dupont
632bccb636 boards/native: call rtc_init from board_init 2018-01-09 19:01:09 +01:00
Vincent Dupont
0905a99905 native: clean up SPIFFS default config 2017-12-18 13:24:46 +01:00
Pieter Willemsen
ff0d19b686 native: move MTD defines to board.h 2017-12-18 13:14:51 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
56fa737d83 boards: makefiles indentation cleanup 2017-09-22 14:53:01 +02:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
3df5e12e10 boards: fix Makefile.dep indentation 2017-09-06 16:09:38 +02:00
Vincent Dupont
68f1ea8fd0 native: add a CAN device using socketCAN 2017-06-19 15:36:20 +02:00
882bcff048 boards: replace @brief with @name when necessary 2017-04-13 12:10:30 +02:00
Vincent Dupont
4cb3232a42 native: add spiffs options in board.h 2017-03-31 17:17:42 +02:00
Joakim Nohlgård
d1ea50a600 mtd: Redefine MTD_0 as a mtd_dev_t * 2017-03-28 17:00:39 +02:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Vincent Dupont
9e8cb3d135 native: add mtd-compliant flash emulation 2017-03-16 11:24:22 +01: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
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
2016-12-08 13:44:34 -05:00
Martine Lenders
235375f664 native: always assert() verbosely 2016-11-29 19:28:23 +01:00
517efe4ccc cpu: native: use gnu99 C dialect 2016-11-15 14:59:36 +01:00
Martine Lenders
2d89169d00 Merge pull request #5991 from Yonezawa-T2/use_lldb
make: use LLDB if GDB is not available on native platform
2016-10-31 15:43:39 +01:00
Takuo Yonezawa
f2ea42c043 NEED SQUASHING make: use LLDB on Darwin 2016-10-27 14:50:16 +09:00
Cenk Gündoğan
41011184a5 Merge pull request #5988 from cgundogan/pr/native/term
boards/native: set PORT to tap0
2016-10-25 19:40:44 +02:00
Takuo Yonezawa
160ef548f8 make: use LLDB if GDB is not available 2016-10-25 16:31:40 +09:00
Martine Lenders
3225f020e5 Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
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.
2016-10-24 12:05:10 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
Martine Lenders
fc1e974102 Merge pull request #5493 from OlegHahm/silent_valgrind
native: let valgrind print the leak summary at the end
2016-09-29 08:41:35 +02:00
Oleg Hahm
7767d5a101 native: enable valgrind's leak summary 2016-09-29 00:37:33 +02:00
smlng
291c1a54eb native: correcting linker LTO flags for OSX
- corrects and enhances changes introduced in #5742
2016-09-12 15:41:38 +02:00
Joakim Nohlgård
455fb6cd4d Merge pull request #5742 from kaspar030/fix_lto
LTO fixes
2016-08-29 19:00:09 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02:00
Joakim Nohlgård
5fcb09f6b9 boards/native/Makefile.include: Add -Wl,--gc-sections to linker options 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
0e5522950a boards/native: Use gcc-ar when building with LTO 2016-08-10 16:18:29 +02:00
Toon Stegen
cf431e696c make debug: start gdb quietly 2016-04-22 12:00:10 +02:00
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.
2016-03-31 16:59:12 +09:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
2a69cf2af5 make: native: allow overriding of TERMPROG 2016-03-23 23:56:18 +01:00
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
2016-03-15 23:07:29 +01:00
Hauke Petersen
663be83b2a boards/native: updated LED macros 2016-03-15 15:48:46 +01:00
Oleg Hahm
0530bc9c6c make: export VALGRIND_PID only for debug-valgrind 2016-03-15 13:53:55 +01:00
Joakim Nohlgård
e9d7087a05 boards/native: Use another module name for drivers subdirectory 2016-03-08 14:19:52 +01:00
Cenk Gündoğan
d15bc43302 Merge pull request #4688 from OlegHahm/valgrind_debug_for_native
native: add debug-valgrind target
2016-03-04 07:55:45 +01:00
Oleg Hahm
2b949fcce1 native: add debug-valgrind target
debug-valgrind-server: Starts valgrind as gdb-server (vgdb)
debug-valgrind:        Connects to vgdb
2016-03-03 11:26:17 +01:00
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Hauke Petersen
b436219674 boards: removed F_CPU define from board.h 2016-01-27 09:52:44 +01:00