Gunar Schorcht
26030e28af
boards: remove extern mtd_dev_t*
Declarations
2023-12-07 15:32:49 +01:00
Gunar Schorcht
46040a4361
boards: use XFA with MTD pointers for defined MTDs
2023-10-02 12:28:08 +02:00
Gunar Schorcht
c80591779f
boards: fix references in documentation
2023-09-27 09:12:06 +02:00
Benjamin Valentin
67f23b283e
boards/native: default to fs_native
2023-04-26 00:53:14 +02:00
Benjamin Valentin
f4e9da51fa
boards/native: add mount point for host fs
2023-04-26 00:53:14 +02:00
Benjamin Valentin
ce36460b16
cpu/native: implement periph_rtc_ms
2023-03-05 02:56:28 +01:00
bors[bot]
d4422a074a
Merge #18682
...
18682: pkg/lwext4: add lightweight implementation of the ext2/3/4 filesystem r=benpicco a=benpicco
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2023-02-25 18:59:07 +00:00
Benjamin Valentin
c1a8a5cc9e
boards/native: add support for lwEXT4
2023-02-25 14:01:20 +01:00
Marian Buschsieweke
4acc9d9c89
boards/native: Drop backward compatibility code for glibc <= 2.17
...
Even Debian oldstable is now at glibc 2.28, so it is safe to assume that
nobody needs this anymore.
This also fixes garbage on the terminal on musl systems, where
`ldd --version` is not supported (and output on `stderr` was not
redirected to `/dev/null`).
2023-01-09 14:13:59 +01:00
Martine Lenders
37db22edea
Merge pull request #18124 from miri64/release-tests/fix/install-libasan
...
release-tests: install libasan as native dependency
2022-05-23 12:20:31 +02:00
Martine Lenders
c36a56cacc
native: doc: add libasan5 dependency
2022-05-23 12:02:46 +02:00
chrysn
dc7bc9f854
Merge pull request #17683 from chrysn-pull-requests/mtd-granularity
...
mtd: Introduce write granularity
2022-05-20 11:52:03 +02:00
Francisco
2e1cd2a517
Merge pull request #18071 from benpicco/boards/native-weak_vfs_default
...
boards/native: allow to overwrite default fs
2022-05-17 10:41:41 +02:00
e26ae5c981
boards/native: split out asan CFLAGS_ASAN, LINKFLAGS_ASAN
2022-05-11 21:49:27 +02:00
Benjamin Valentin
5b4c7cbf1e
boards/native: allow to overwrite default fs
2022-05-08 23:21:37 +02:00
Francisco Molina
50f9c14ded
boards/native: add PERIPH_CAN_FLAGS to specifiy vcan iface
2022-04-25 12:48:10 +02:00
Francisco Molina
0d7eb36247
boards/native: only one CAN_DLL by default
2022-04-20 14:40:06 +02:00
Daniel Lockau
879e082703
cpu/native: use socketcan pkg
2022-04-20 11:55:29 +02:00
chrysn
35b57af065
boards/native: Configure write_size in MTD device
2022-03-31 10:58:48 +02:00
benpicco
9ca3dd5d4b
Merge pull request #17656 from benpicco/vfs_default-test
...
vfs_default: add compile test and add default mount for more boards
2022-03-29 13:47:08 +02:00
Benjamin Valentin
a652bea27e
boards/native: use default mount point
2022-03-29 10:24:01 +02:00
3db7c1150a
core: split out library code
...
This commit splits core into it's scheduler/IPC part and into other code
that is either used or uses the scheduler, through defined APIs.
2022-03-09 21:43:05 +01:00
Francisco Molina
3776482758
boards/native: use SDL for lvgl
2022-02-28 10:23:06 +01:00
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +01:00
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