-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch renames the current native board into native32 and replaces it with the current native64 board. The changeset is mostly renaming directories and replacing native64 with native32 within application Makefiles (unless native64) was not supported.
- Loading branch information
Showing
134 changed files
with
216 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CPU = native | ||
|
||
FEATURES_PROVIDED += arch_32bit | ||
NATIVE_ARCH_BIT = 32 | ||
FEATURES_PROVIDED += arch_64bit | ||
NATIVE_ARCH_BIT = 64 | ||
|
||
include $(RIOTBOARD)/native/common_features.inc.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,13 @@ | ||
/** | ||
@defgroup boards_native Native Board | ||
@defgroup boards_native64 Native64 Board | ||
@ingroup boards | ||
@brief Support for running RIOT in native | ||
@brief Support for running RIOT in native64 | ||
|
||
[Family: native](https://github.com/RIOT-OS/RIOT/wiki/Family:-native) | ||
|
||
# Overview | ||
![Terminal running RIOT native](https://raw.githubusercontent.com/wiki/RIOT-OS/RIOT/images/Native.jpg) | ||
|
||
# Hardware | ||
- CPU: Host CPU | ||
- RAM: Host RAM | ||
- Flash: | ||
- for program execution: Host file system | ||
- for the @ref drivers_periph_flashpage : emulated in RAM | ||
- Network: Tap Interface | ||
- UART: Runtime configurable - `/dev/tty*` are supported | ||
- Timers: Host timer | ||
- LEDs: One red and one green LED - state changes are printed to the UART | ||
- PWM: Dummy PWM | ||
- QDEC: Emulated according to PWM | ||
- SPI: Runtime configurable - `/dev/spidev*` are supported (Linux host only) | ||
- GPIO: Runtime configurable - `/dev/gpiochip*` are supported (Linux host only) | ||
|
||
# Required packages | ||
|
||
On Debian/Ubuntu you can install the required libraries with | ||
|
||
``` | ||
sudo apt install gcc-multilib | ||
``` | ||
|
||
Likewise, for the unittest execution, `libasan5` is needed for 32 bit binaries. | ||
On Debian/Ubuntu you can install the required libraries with | ||
|
||
``` | ||
sudo apt install lib32asan5 | ||
``` | ||
Same board as \ref boards_native "native", but compiled for 64-bit instead of 32-bit. | ||
Currently only Linux x86-64 is supported. | ||
Otherwise, everything works the same as for the 32-bit version. | ||
For more information on this board, see the \ref boards_native "native board" documentation. | ||
|
||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
boards/native64/Makefile.features → boards/native32/Makefile.features
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CPU = native | ||
|
||
FEATURES_PROVIDED += arch_64bit | ||
NATIVE_ARCH_BIT = 64 | ||
FEATURES_PROVIDED += arch_32bit | ||
NATIVE_ARCH_BIT = 32 | ||
|
||
include $(RIOTBOARD)/native/common_features.inc.mk |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
@defgroup boards_native Native Board | ||
@ingroup boards | ||
@brief Support for running RIOT in native | ||
|
||
[Family: native](https://github.com/RIOT-OS/RIOT/wiki/Family:-native) | ||
|
||
# Overview | ||
![Terminal running RIOT native](https://raw.githubusercontent.com/wiki/RIOT-OS/RIOT/images/Native.jpg) | ||
|
||
# Hardware | ||
- CPU: Host CPU | ||
- RAM: Host RAM | ||
- Flash: | ||
- for program execution: Host file system | ||
- for the @ref drivers_periph_flashpage : emulated in RAM | ||
- Network: Tap Interface | ||
- UART: Runtime configurable - `/dev/tty*` are supported | ||
- Timers: Host timer | ||
- LEDs: One red and one green LED - state changes are printed to the UART | ||
- PWM: Dummy PWM | ||
- QDEC: Emulated according to PWM | ||
- SPI: Runtime configurable - `/dev/spidev*` are supported (Linux host only) | ||
- GPIO: Runtime configurable - `/dev/gpiochip*` are supported (Linux host only) | ||
|
||
# Required packages | ||
|
||
On Debian/Ubuntu you can install the required libraries with | ||
|
||
``` | ||
sudo apt install gcc-multilib | ||
``` | ||
|
||
Likewise, for the unittest execution, `libasan5` is needed for 32 bit binaries. | ||
On Debian/Ubuntu you can install the required libraries with | ||
|
||
``` | ||
sudo apt install lib32asan5 | ||
``` | ||
|
||
*/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ | |
'microbit', | ||
'mulle', | ||
'native', | ||
'native64', | ||
'native32', | ||
'nrf52840dk', | ||
'nrf9160dk', | ||
'nucleo-f072rb', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.