rust nuttx
1.0.0
Lesen Sie die Artikel ...
"Rust spricht I2C über Apache Nuttx rtos"
"Rost auf Apache Nuttx OS"
Dies ist eine Stubbibliothek, der tatsächliche Rostcode ist bei ...
lupyuen/rost-i2c-nuttx
Lupyuen/Rust_test
Um dieses Repo zu Ihrem NUTTX -Projekt hinzuzufügen ...
pushd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen/rust-nuttx librust
popdAktualisieren Sie als nächstes die Makefiles und Kconfig ...
Kconfig
Tools/Verzeichnisse.mk
Werkzeuge/flatlibs.mk
Werkzeuge/Kernellibs.mk
Tools/libtargets.mk
Tools/ProtectedLibs.mk
Aktualisieren Sie dann die NUTTX -Build -Konfiguration ...
# # TODO: Change this to the path of our "incubator-nuttx" folder
cd nuttx/nuttx
# # Preserve the Build Config
cp .config ../config
# # Erase the Build Config
make distclean
# # For BL602: Configure the build for BL602
./tools/configure.sh bl602evb:nsh
# # For ESP32: Configure the build for ESP32.
# # TODO: Change "esp32-devkitc" to our ESP32 board.
./tools/configure.sh esp32-devkitc:nsh
# # Restore the Build Config
cp ../config .config
# # Edit the Build Config
make menuconfig Aktivieren Sie in Menuconfig die Rust -Bibliothek unter "Bibliotheksroutinen".