rust nuttx
1.0.0
Lisez les articles ...
"Rust parle I2C sur Apache Nuttx RTOS"
"Rust on Apache Nuttx OS"
Ceci est une bibliothèque de talons, le code de rouille réel est à ...
Lupyuen / Rust-I2C-Nuttx
Lupyuen / Rust_test
Pour ajouter ce dépôt à votre projet NUTTX ...
pushd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen/rust-nuttx librust
popdMettez à jour la prochaine mise à jour les Makefiles et Kconfig ...
Kconfig
outils / répertoires.mk
Outils / Flatlibs.mk
outils / kernellibs.mk
outils / libtarget.mk
Outils / ProtectedLibs.mk
Ensuite, mettez à jour la configuration de build Nuttx ...
# # 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 Dans Menuconfig, activez la bibliothèque de la rouille sous "Routines de la bibliothèque".