Benjamin Valentin
c438c80548
cpu/native: add host fs access via VFS
2023-04-26 00:53:14 +02:00
Teufelchen1
35a06c4806
boards/native: Remove macOS as native target
2022-10-25 19:11:23 +02:00
Benjamin Valentin
17199dbb1c
socket_zep: allow to specify MAC address of ZEP device
...
Add a command-line parameter for setting the EUI-64 of a ZEP device.
This allows a native node to use a persistent ZEP address across reboots.
2021-02-16 18:57:27 +01:00
Leandro Lanzieri
d4be753df8
cpu/native: remove unused can_linux module
...
b4f29035ce
adapted the can_linux module to
the periph_can interface. This is a cleanup of some things that stayed
behind. Here the makefile is removed, the references to can_linux in the
dependency resolution and configuration Makefile are changed to the
standard periph_can, and the startup code is adapted.
2020-11-13 09:11:50 +01:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling
2020-09-04 15:01:10 +02:00
49375e1e10
cpu/native: rename trace -> backtrace
2020-06-04 14:37:01 +02:00
Martine S. Lenders
0957b6301b
stdio_native: initial import
2019-12-18 14:15:40 +01:00
Francisco Molina
45c8eafd42
Makefile.include: remove repeated OS declaration
2019-10-18 10:36:43 +02:00
Francisco Molina
f3482de277
REMOVEME: add OS and OS_ARCH variable
2019-10-18 08:46:51 +02:00
Gaëtan Harter
40c28d78c0
Revert "native: remove non required NATIVEINCLUDES"
...
This reverts commit 93a521c501
.
2018-04-12 17:48:07 +02:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
...
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Gaëtan Harter
93a521c501
native: remove non required NATIVEINCLUDES
...
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.
* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
Martine Lenders
875a5c165d
trace: initial import of a stack backtrace function for native
...
Sometimes the debugger just isn't fast enough to debug that pesky race
conditions. This module provides at least a little help.
2018-03-20 15:12:48 +00:00
smlng
15a7e6bb98
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-09 17:44:41 +01:00
Martine Lenders
81ef15287a
native: provide socket-based ZEP device
2018-01-18 09:15:37 +01:00
035d266d49
makefile: indentation cleanup
2017-09-22 12:00:47 +02:00
Vincent Dupont
68f1ea8fd0
native: add a CAN device using socketCAN
2017-06-19 15:36:20 +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
26b99a57be
cpu: native: add vfs wrappers
2017-03-07 17:59:59 +01:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
Martine Lenders
f0cb1429f0
native: rename ng_nativenet to dev_eth_tap
2015-08-09 22:04:26 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
fbfb0954eb
cpu: native: add tap implementation of dev_eth (ng_nativenet)
2015-05-26 15:37:55 +02:00
Ludwig Ortmann
c0ef84bb9f
native: move rtc to periph
...
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
45cf2e4967
native: relocate drivers/rtc implementation
2014-10-18 11:00:09 +02:00
Ludwig Ortmann
0136f208c6
native: add drivers substructure
2014-10-18 10:58:51 +02:00
Ludwig Ortmann
96d2907666
native: add periph substructure
2014-10-18 10:47:26 +02:00
René Kijewski
54047c72d3
native: override INCLUDES w/ NATIVEINCLUDES
...
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.
This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
2014-07-07 23:09:14 +02:00
René Kijewski
2ae0c1b149
make: use abspath for better error messages
2014-06-23 15:50:10 +02:00
René Kijewski
a9a76cb2c2
make: create dependencies as side effect
2014-06-23 15:50:10 +02:00
René Kijewski
467b41ad49
make: easifier usage of module subdirectories
...
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:
```make
DIRS = …
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```
This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
René Kijewski
300d6b3e35
Make: exterminate 'clean' buildtarget
...
Closes #993 .
We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.
This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Ludwig Ortmann
b9ffc1a99e
fixup for #710 : use subfolder in bin dirs (native)
...
Update native Makefiles to provide changed object target paths
Fixes #989
2014-04-09 15:25:05 +02:00
Ludwig Ortmann
b2930113ef
remove some newlines
2014-04-01 10:47:12 +02:00
Ludwig Ortmann
1bd3f7bb86
pipe through sed instead
...
addresses: https://github.com/RIOT-OS/RIOT/pull/778#discussion_r10041955
2014-04-01 10:44:10 +02:00
Ludwig Ortmann
9b61d95545
make: don't ignore failures in for loops
...
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Ludwig Ortmann
2cd3f04fc6
Don't use INCLUDES for building any native at all.
...
native modules will never need the dynamic INCLUDES, so we define our
own NATIVEINCLUDES. Due to the current make structure, the only way to
not use INCLUDES is to redefine the build rules.
2014-02-27 10:30:30 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
9df07f9238
muting compiler and binutils optionally
...
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Ludwig Ortmann
1ac1646837
further clean up / filtering for cpu
2013-12-23 00:18:21 +01:00
Oleg Hahm
46deefe0f8
make Makefiles proof for spaces in $PATH
2013-10-09 15:28:53 +02:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00
Ludwig Ortmann
a634709c00
native cc1100x_ng network
...
not properly passing received data to transceiver atm
2013-08-15 14:05:26 +02:00
Oleg Hahm
222d34d8a5
added missing include to cc110x_ng
2013-07-24 00:00:03 +02:00
Ludwig Ortmann
671cb6560f
native cc110x_ng placebo
2013-03-21 17:08:41 +01:00
Ludwig Ortmann
8019551694
renamed makefiles within Makefiles
2013-03-12 16:03:37 +01:00