rust nuttx
1.0.0
Baca artikelnya ...
"Rust Talks I2C di Apache Nuttx Rtos"
"Rust di Apache Nuttx OS"
Ini adalah perpustakaan rintisan, kode karat yang sebenarnya ada di ...
Lupyuen/Rust-i2c-Nuttx
Lupyuen/rust_test
Untuk menambahkan repo ini ke proyek NUTTX Anda ...
pushd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen/rust-nuttx librust
popdSelanjutnya perbarui makefile dan kconfig ...
Kconfig
alat/direktori.mk
Alat/flatlibs.mk
Alat/kernellibs.mk
Tools/LIGTARGETS.MK
Tools/Protectedlibs.mk
Kemudian perbarui konfigurasi 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 Di Menuconfig, aktifkan Perpustakaan Karat di bawah "Rutinitas Perpustakaan".