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

293 Commits

Author SHA1 Message Date
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Benjamin Valentin
5f1dda0eda boards/native: select MTD defaults for FAT
The FAT file system makes some strong assumptions about sector and
block size that are not met by the default native MTD emulation.

To avoid this trip hazard, change the native MTD defaults when FAT is
used.
2022-02-14 15:10:12 +01:00
Benjamin Valentin
60d9782e52 boards/native: default to using littlefs2 on virtual flash 2022-02-14 13:04:37 +01:00
Benjamin Valentin
fc4cd0484b cpu/native: change mtd_native_dev_t parent name to base
This brings it in line with the other MTD implementations.
2022-02-09 12:21:53 +01:00
Benjamin Valentin
7cc67610ce boards/native: auto-init file system 2022-02-09 12:21:53 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Benjamin Valentin
fa2d9bde56 socket_zep: port to radio HAL 2021-11-18 11:51:14 +01:00
eb8513f375
Merge pull request #17173 from kaspar030/native_guard_motor_driver
boards: native: guard motor driver simulation code
2021-11-16 19:15:23 +01:00
06929c1a9b boards: native: guard motor driver simulation code 2021-11-16 14:08:14 +01:00
a78689874a cpu/native: add -no-pie to LINKFLAGS
This fixes the following warning on newer gcc/ld:

```
/usr/bin/ld: examples/hello-world/bin/native/cpu/tramp.o: warning: relocation against `_native_saved_eip' in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
```
2021-11-10 20:38:25 +01:00
Benjamin Valentin
204b80c6bf boards/native: lock EUI64 provider to ZEP interface 2021-06-08 14:01:03 +02:00
chrysn
855517326a boards/native: Document flashpage support
This documents the additions of [15935].

[15935]: https://github.com/RIOT-OS/RIOT/pull/15935
2021-05-11 10:28:03 +02:00
Karl Fessel
a6bf444489 board/native: undefine FORTIFY_SOURCE to avoid printf replace
printf may be replaced by libc printf_chk if _FORTIFY_SOURCE is
defiend. This undefines it
2021-03-16 12:14:00 +01:00
Karl Fessel
cfaa57fe6c board/native: no omit frame pointer if backtrace is used
this makes riots test work but may have different result than O0
see man 3 backtrace #NOTES
2021-03-16 12:12:49 +01:00
Karl Fessel
4d645a23aa board/native: add basic debugging compatible optimization
adds -Og to board/native CFLAGS
2021-03-16 11:54:01 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
Francisco
de67719b59
Merge pull request #16046 from aabadie/pr/make/native_flasher
boards/native: set FLASHER as empty
2021-02-19 11:02:04 +01:00
a11dca706f
boards/native: set FLASHER as empty 2021-02-18 14:25:37 +01:00
ee9d6c879a cpu/native: add XFA support 2021-02-18 10:46:08 +01: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
Benjamin Valentin
95f814b5da CODING_CONVENTIONS.md: default to C11
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).

Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
Martine Lenders
df676dc078
Merge pull request #15430 from benpicco/boards/native-zep
boards/native: allow to use ZEP instead of tap
2020-12-01 12:16:41 +01:00
Leandro Lanzieri
8b0e0d2f52
boards/native: add native_drivers module to Kconfig 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
402efc4750
boards/native: rename native-drivers module to native_drivers 2020-11-18 10:07:58 +01:00
Benjamin Valentin
516c69cb5f boards/native: allow to use ZEP instead of tap
If `native` is compiled with `USEMODULE=socket_zep` and networking,
don't also include `netdev_tap` automatically.

This mirrors the behavior on nrf52 and esp* where the default netdev
can be 'overwritten' by another option.
2020-11-13 18:43:49 +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
2c8317bc8d
boards/native: remove deprecated all-debug target 2020-10-28 22:07:36 +01:00
benpicco
29bdc602e2
Merge pull request #15284 from benpicco/boards/native-doc
boards/native: Improve Documentation
2020-10-26 00:07:18 +01:00
Benjamin Valentin
c11e54830d boards/native: document native GPIO 2020-10-23 14:17:24 +02:00
Benjamin Valentin
25b626ec6b boards/native: document required packages 2020-10-23 14:16:54 +02:00
Francisco Molina
178c1264e3
board/native: include can_linux based on periph_can 2020-10-08 09:09:04 +02:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
Leandro Lanzieri
7efe7224ee
boards/native: Add Kconfig symbols
Also add the board to the whitelist of tests/kconfig_features
2020-07-16 13:54:28 +02:00
Gunar Schorcht
028c0d4b3c
Merge pull request #14353 from fjmolinas/pr_reorder_makefiles_cleanup
Makefile: use normal conditionals
2020-06-30 09:59:02 +02:00
Francisco Molina
e98341da93
Makefile: use normal conditionals 2020-06-29 22:40:29 +02:00
Benjamin Valentin
18bbf1ae2c boards/native: don't check for gnrc_netdev_default
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both here.
2020-06-27 16:46:59 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
5a9f01d91a
native: pass eeprom file path via command line 2020-04-29 08:56:33 +02:00
Sören Tempel
d7104e4992 makefiles/toolchain: add support for afl 2020-04-07 14:24:10 +02:00
0bb3304df3
native: don't export NATIVEINCLUDES 2020-03-26 10:25:49 +01:00
Gunar Schorcht
2bbfd96804 boards/native: fix broken links 2020-03-24 10:38:40 +01:00
a2c0823063 boards/native: add ztimer configuration 2020-03-04 12:44:03 +01:00
fe8c242a30
boards/native: remove exports of UNDEF vars 2020-02-25 09:40:34 +01:00
Martine Lenders
4be4f5ad0a boards/native: add deprecation warnings for make all-debug 2020-02-21 12:51:41 +01:00
Martine Lenders
1786a8353a boards/native: remove now unnecessary -g3 CFLAGS
dbd865413c made `-g3` default for
`make all` so all targets dependent on `make all` do not require it any
longer.
2020-02-21 12:50:02 +01:00
dbd865413c native: turn on creation of debug symbols (CFLAGS += -g) 2020-02-20 17:06:56 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
Martine Lenders
7430ea98ed
Merge pull request #13096 from nmeum/pr/fix_asan_target
boards/native: fix all-asan Makefile target
2020-01-14 13:43:22 +01:00
Francisco Molina
5a8f996111 boards: replace use of $(BOARD) by explicit name
With the introduction of BOARDSDIR external boards can re-use common
code of BOARDS present in RIOTBASE. To be able to do this file
references may not use $(BOARD) since BOARD will be set by the
external BOARD.
2020-01-13 11:53:48 +01:00