rust nuttx
1.0.0
اقرأ المقالات ...
"الصدأ يتحدث I2C على Apache Nuttx RTOS"
"الصدأ على 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
الأدوات/الدلائل
الأدوات/flatlibs.mk
الأدوات/kernellibs.mk
الأدوات/libtargets.mk
أدوات/محمية
ثم قم بتحديث تكوين بناء 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 في Menuconfig ، تمكين مكتبة الصدأ تحت "إجراءات المكتبة".