rust nuttx
1.0.0
Прочитайте статьи ...
"Rust Talks I2C на Apache Nuttx Rtos"
"Rust on Apache Nuttx OS"
Это библиотека для заглушек, фактический код ржавчины в ...
Lupyuen/Rust-i2c-nuttx
Lupyuen/rust_test
Чтобы добавить это репо в ваш проект Nuttx ...
pushd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen/rust-nuttx librust
popdДалее обновите Makefiles и Kconfig ...
Kconfig
Инструменты/каталоги.mk
Инструменты/flatlibs.mk
Инструменты/kernellibs.mk
Инструменты/libtargets.mk
Инструменты/Protectectlibs.mk
Затем обновите конфигурацию Nuttx Build ...
# # 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 В Menuconfig включите библиотеку ржавчины под «библиотечной процедурой».