rust nuttx
1.0.0
Lea los artículos ...
"Rust Talks I2C en Apache Nuttx RTOS"
"Rust en Apache Nuttx OS"
Esta es una biblioteca de stub, el código de óxido real está en ...
Lupyuen/Rust-I2C-Nuttx
lupyuen/Rust_test
Para agregar este repositorio a su proyecto Nuttx ...
pushd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen/rust-nuttx librust
popdA continuación, actualice Makefiles y Kconfig ...
Kconfig
herramientas/directorios.mk
Herramientas/platlibs.mk
Herramientas/kernelibs.mk
Herramientas/libtargets.mk
Herramientas/ProtectedLibs.mk
Luego actualice la configuración de la compilación 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 En Menuconfig, habilite la Biblioteca de Rust en "Rutinas de biblioteca".