Last active
January 8, 2022 11:04
-
-
Save lupyuen/9bfd71f7029bb66e327f89c8a58f450d to your computer and use it in GitHub Desktop.
NuttX Build Log for Rust on BL602 (See https://lupyuen.github.io/articles/rust2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Already up to date. | |
Already up to date. | |
+ export APP_NAME=nuttx | |
+ APP_NAME=nuttx | |
+ export NUTTX_PATH=/home/user/nuttx/apps/examples/rust_test/../../../nuttx | |
+ NUTTX_PATH=/home/user/nuttx/apps/examples/rust_test/../../../nuttx | |
+ export BLFLASH_PATH=/mnt/c/pinecone/blflash | |
+ BLFLASH_PATH=/mnt/c/pinecone/blflash | |
+ export GCC_PATH=/home/user/nuttx/apps/examples/rust_test/../../../xpack-riscv-none-embed-gcc | |
+ GCC_PATH=/home/user/nuttx/apps/examples/rust_test/../../../xpack-riscv-none-embed-gcc | |
+ rust_build_profile=debug | |
+ rust_build_target=/home/user/nuttx/apps/examples/rust_test/riscv32imacf-unknown-none-elf.json | |
+ rust_build_target_folder=riscv32imacf-unknown-none-elf | |
+ set +x | |
----- Building Rust app and NuttX firmware for riscv32imacf-unknown-none-elf / nuttx... | |
----- Build NuttX Firmware | |
+ '[' 0 == 1 ']' | |
+ pushd /home/user/nuttx/apps/examples/rust_test/../../../nuttx | |
~/nuttx/nuttx ~/nuttx/apps/examples/rust_test | |
+ make | |
Create .version | |
Create version.h | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Nothing to be done for 'dirlinks'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps/platform' | |
LN: platform/board to /home/user/nuttx/apps/platform/dummy | |
make[2]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[2]: Entering directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[2]: Nothing to be done for 'context'. | |
make[2]: Leaving directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
LN: platform/board to /home/user/nuttx/apps/platform/dummy | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[2]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[2]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[2]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[2]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[2]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[2]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[2]: Entering directory '/home/user/nuttx/apps/platform' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/sched' | |
make[1]: 'libsched.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: 'libdrivers.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: 'libboards.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: 'libc.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/mm' | |
make[1]: 'libmm.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: 'libarch.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
rm -f /home/user/nuttx/apps/libapps.a | |
make /home/user/nuttx/apps/libapps.a | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
AR (add): libapps.a rust_test_main.c.home.user.nuttx.apps.examples.rust_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
AR (add): libapps.a tinycbor_test_main.c.home.user.nuttx.apps.examples.tinycbor_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
AR (add): libapps.a lorawan_test_main.c.home.user.nuttx.apps.examples.lorawan_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
AR (add): libapps.a sx1262_test_main.c.home.user.nuttx.apps.examples.sx1262_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
AR (add): libapps.a spi_test2_main.c.home.user.nuttx.apps.examples.spi_test2.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
AR (add): libapps.a gpio_main.c.home.user.nuttx.apps.examples.gpio.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
AR (add): libapps.a spi_test_main.c.home.user.nuttx.apps.examples.spi_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
AR (add): libapps.a timer_main.c.home.user.nuttx.apps.examples.timer.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
AR (add): libapps.a hello_main.c.home.user.nuttx.apps.examples.hello.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
AR (add): libapps.a nsh_init.c.home.user.nuttx.apps.nshlib.o nsh_parse.c.home.user.nuttx.apps.nshlib.o nsh_console.c.home.user.nuttx.apps.nshlib.o nsh_script.c.home.user.nuttx.apps.nshlib.o nsh_system.c.home.user.nuttx.apps.nshlib.o nsh_command.c.home.user.nuttx.apps.nshlib.o nsh_fscmds.c.home.user.nuttx.apps.nshlib.o nsh_ddcmd.c.home.user.nuttx.apps.nshlib.o nsh_proccmds.c.home.user.nuttx.apps.nshlib.o nsh_mmcmds.c.home.user.nuttx.apps.nshlib.o nsh_timcmds.c.home.user.nuttx.apps.nshlib.o nsh_envcmds.c.home.user.nuttx.apps.nshlib.o nsh_syscmds.c.home.user.nuttx.apps.nshlib.o nsh_dbgcmds.c.home.user.nuttx.apps.nshlib.o nsh_session.c.home.user.nuttx.apps.nshlib.o nsh_fsutils.c.home.user.nuttx.apps.nshlib.o nsh_builtin.c.home.user.nuttx.apps.nshlib.o nsh_mntcmds.c.home.user.nuttx.apps.nshlib.o nsh_consolemain.c.home.user.nuttx.apps.nshlib.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
AR (add): libapps.a builtin_list.c.home.user.nuttx.apps.builtin.o exec_builtin.c.home.user.nuttx.apps.builtin.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
AR (add): libapps.a readline.c.home.user.nuttx.apps.system.readline.o readline_fd.c.home.user.nuttx.apps.system.readline.o readline_common.c.home.user.nuttx.apps.system.readline.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
AR (add): libapps.a nsh_main.c.home.user.nuttx.apps.system.nsh.o sh_main.c.home.user.nuttx.apps.system.nsh.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
AR (add): libapps.a bas.c.home.user.nuttx.apps.interpreters.bas.o bas_auto.c.home.user.nuttx.apps.interpreters.bas.o bas_fs.c.home.user.nuttx.apps.interpreters.bas.o bas_global.c.home.user.nuttx.apps.interpreters.bas.o bas_program.c.home.user.nuttx.apps.interpreters.bas.o bas_str.c.home.user.nuttx.apps.interpreters.bas.o bas_token.c.home.user.nuttx.apps.interpreters.bas.o bas_value.c.home.user.nuttx.apps.interpreters.bas.o bas_var.c.home.user.nuttx.apps.interpreters.bas.o bas_vt100.c.home.user.nuttx.apps.interpreters.bas.o bas_main.c.home.user.nuttx.apps.interpreters.bas.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
AR (add): libapps.a getprime_main.c.home.user.nuttx.apps.testing.getprime.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
AR (add): libapps.a dummy.c.home.user.nuttx.apps.platform.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
IN: /home/user/nuttx/apps/libapps.a -> staging/libapps.a | |
make[1]: Entering directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: 'libcrypto.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: 'libfs.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: 'libbinfmt.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: 'libsx1262.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: 'liblorawan.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: 'libnpl.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: 'libtinycbor.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: 'librust.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/librust' | |
IN: libs/librust/librust.a -> staging/librust.a | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[2]: Entering directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[2]: 'libboard.a' is up to date. | |
make[2]: Leaving directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
LD: nuttx | |
riscv64-unknown-elf-ld: /home/user/nuttx/nuttx/staging/libapps.a(rust_test_main.c.home.user.nuttx.apps.examples.rust_test.o): in function `rust_test_main': | |
/home/user/nuttx/apps/examples/rust_test/rust_test_main.c:33: undefined reference to `rust_main' | |
make[1]: *** [Makefile:154: nuttx] Error 1 | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make: *** [tools/Makefile.unix:420: nuttx] Error 2 | |
+ echo '----- Ignore undefined references to Rust Library' | |
----- Ignore undefined references to Rust Library | |
+ popd | |
~/nuttx/apps/examples/rust_test | |
+ set +x | |
----- Build Rust Library | |
+ pushd rust | |
~/nuttx/apps/examples/rust_test/rust ~/nuttx/apps/examples/rust_test | |
+ rustup default nightly | |
info: using existing install for 'nightly-x86_64-unknown-linux-gnu' | |
info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu' | |
nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.59.0-nightly (7d6f94817 2022-01-04) | |
+ cargo build --target /home/user/nuttx/apps/examples/rust_test/riscv32imacf-unknown-none-elf.json -Z build-std=core | |
Compiling compiler_builtins v0.1.66 | |
Compiling core v0.0.0 (/home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) | |
Compiling typenum v1.15.0 | |
Compiling semver-parser v0.7.0 | |
Compiling version_check v0.9.4 | |
Compiling cortex-m v0.7.4 | |
Compiling cortex-m v0.6.7 | |
Compiling heapless v0.7.9 | |
Compiling semver v0.9.0 | |
Compiling generic-array v0.14.5 | |
Compiling rustc_version v0.2.3 | |
Compiling bare-metal v0.2.5 | |
Compiling rustc-std-workspace-core v1.99.0 (/home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) | |
Compiling stable_deref_trait v1.2.0 | |
Compiling nb v1.0.0 | |
Compiling void v1.0.2 | |
Compiling vcell v0.1.3 | |
Compiling bitfield v0.13.2 | |
Compiling byteorder v1.4.3 | |
Compiling nb v0.1.3 | |
Compiling volatile-register v0.2.1 | |
Compiling embedded-hal v0.2.6 | |
Compiling hash32 v0.2.1 | |
Compiling generic-array v0.12.4 | |
Compiling generic-array v0.13.3 | |
Compiling as-slice v0.1.5 | |
Compiling aligned v0.3.5 | |
Compiling sx126x v0.1.1 (https://github.com/lupyuen/sx126x-rs-nuttx#16c419fa) | |
Compiling app v0.0.1 (/home/user/nuttx/apps/examples/rust_test/rust) | |
Finished dev [optimized + debuginfo] target(s) in 48.05s | |
+ popd | |
~/nuttx/apps/examples/rust_test | |
+ cp /home/user/nuttx/apps/examples/rust_test/rust/target/riscv32imacf-unknown-none-elf/debug/libapp.a /home/user/nuttx/apps/examples/rust_test/../../../nuttx/staging/librust.a | |
+ set +x | |
----- Link NuttX Firmware with Rust Library | |
+ pushd /home/user/nuttx/apps/examples/rust_test/../../../nuttx | |
~/nuttx/nuttx ~/nuttx/apps/examples/rust_test | |
+ make | |
Create .version | |
Create version.h | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Nothing to be done for 'dirlinks'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps/platform' | |
LN: platform/board to /home/user/nuttx/apps/platform/dummy | |
make[2]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[2]: Entering directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[2]: Nothing to be done for 'context'. | |
make[2]: Leaving directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'context'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
LN: platform/board to /home/user/nuttx/apps/platform/dummy | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
make[3]: Nothing to be done for 'register'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Nothing to be done for 'context'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[2]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[2]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[2]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[2]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[2]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[2]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[2]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[2]: Entering directory '/home/user/nuttx/apps/platform' | |
make[2]: Nothing to be done for 'depend'. | |
make[2]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Nothing to be done for 'depend'. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/sched' | |
make[1]: 'libsched.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/sched' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: 'libdrivers.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/drivers' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/boards' | |
make[1]: 'libboards.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/boards' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: 'libc.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libc' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/mm' | |
make[1]: 'libmm.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/mm' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: 'libarch.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[1]: Entering directory '/home/user/nuttx/apps' | |
rm -f /home/user/nuttx/apps/libapps.a | |
make /home/user/nuttx/apps/libapps.a | |
make[2]: Entering directory '/home/user/nuttx/apps' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
make[3]: Nothing to be done for 'all'. | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/rust_test' | |
AR (add): libapps.a rust_test_main.c.home.user.nuttx.apps.examples.rust_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/rust_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
AR (add): libapps.a tinycbor_test_main.c.home.user.nuttx.apps.examples.tinycbor_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/tinycbor_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/lorawan_test' | |
AR (add): libapps.a lorawan_test_main.c.home.user.nuttx.apps.examples.lorawan_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/lorawan_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/sx1262_test' | |
AR (add): libapps.a sx1262_test_main.c.home.user.nuttx.apps.examples.sx1262_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/sx1262_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test2' | |
AR (add): libapps.a spi_test2_main.c.home.user.nuttx.apps.examples.spi_test2.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test2' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/gpio' | |
AR (add): libapps.a gpio_main.c.home.user.nuttx.apps.examples.gpio.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/gpio' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/spi_test' | |
AR (add): libapps.a spi_test_main.c.home.user.nuttx.apps.examples.spi_test.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/spi_test' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/timer' | |
AR (add): libapps.a timer_main.c.home.user.nuttx.apps.examples.timer.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/timer' | |
make[3]: Entering directory '/home/user/nuttx/apps/examples/hello' | |
AR (add): libapps.a hello_main.c.home.user.nuttx.apps.examples.hello.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/examples/hello' | |
make[3]: Entering directory '/home/user/nuttx/apps/nshlib' | |
AR (add): libapps.a nsh_init.c.home.user.nuttx.apps.nshlib.o nsh_parse.c.home.user.nuttx.apps.nshlib.o nsh_console.c.home.user.nuttx.apps.nshlib.o nsh_script.c.home.user.nuttx.apps.nshlib.o nsh_system.c.home.user.nuttx.apps.nshlib.o nsh_command.c.home.user.nuttx.apps.nshlib.o nsh_fscmds.c.home.user.nuttx.apps.nshlib.o nsh_ddcmd.c.home.user.nuttx.apps.nshlib.o nsh_proccmds.c.home.user.nuttx.apps.nshlib.o nsh_mmcmds.c.home.user.nuttx.apps.nshlib.o nsh_timcmds.c.home.user.nuttx.apps.nshlib.o nsh_envcmds.c.home.user.nuttx.apps.nshlib.o nsh_syscmds.c.home.user.nuttx.apps.nshlib.o nsh_dbgcmds.c.home.user.nuttx.apps.nshlib.o nsh_session.c.home.user.nuttx.apps.nshlib.o nsh_fsutils.c.home.user.nuttx.apps.nshlib.o nsh_builtin.c.home.user.nuttx.apps.nshlib.o nsh_mntcmds.c.home.user.nuttx.apps.nshlib.o nsh_consolemain.c.home.user.nuttx.apps.nshlib.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/nshlib' | |
make[3]: Entering directory '/home/user/nuttx/apps/builtin' | |
AR (add): libapps.a builtin_list.c.home.user.nuttx.apps.builtin.o exec_builtin.c.home.user.nuttx.apps.builtin.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/builtin' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/readline' | |
AR (add): libapps.a readline.c.home.user.nuttx.apps.system.readline.o readline_fd.c.home.user.nuttx.apps.system.readline.o readline_common.c.home.user.nuttx.apps.system.readline.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/readline' | |
make[3]: Entering directory '/home/user/nuttx/apps/system/nsh' | |
AR (add): libapps.a nsh_main.c.home.user.nuttx.apps.system.nsh.o sh_main.c.home.user.nuttx.apps.system.nsh.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/system/nsh' | |
make[3]: Entering directory '/home/user/nuttx/apps/interpreters/bas' | |
AR (add): libapps.a bas.c.home.user.nuttx.apps.interpreters.bas.o bas_auto.c.home.user.nuttx.apps.interpreters.bas.o bas_fs.c.home.user.nuttx.apps.interpreters.bas.o bas_global.c.home.user.nuttx.apps.interpreters.bas.o bas_program.c.home.user.nuttx.apps.interpreters.bas.o bas_str.c.home.user.nuttx.apps.interpreters.bas.o bas_token.c.home.user.nuttx.apps.interpreters.bas.o bas_value.c.home.user.nuttx.apps.interpreters.bas.o bas_var.c.home.user.nuttx.apps.interpreters.bas.o bas_vt100.c.home.user.nuttx.apps.interpreters.bas.o bas_main.c.home.user.nuttx.apps.interpreters.bas.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/interpreters/bas' | |
make[3]: Entering directory '/home/user/nuttx/apps/testing/getprime' | |
AR (add): libapps.a getprime_main.c.home.user.nuttx.apps.testing.getprime.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/testing/getprime' | |
make[3]: Entering directory '/home/user/nuttx/apps/platform' | |
AR (add): libapps.a dummy.c.home.user.nuttx.apps.platform.o | |
make[3]: Leaving directory '/home/user/nuttx/apps/platform' | |
make[2]: Leaving directory '/home/user/nuttx/apps' | |
make[1]: Leaving directory '/home/user/nuttx/apps' | |
IN: /home/user/nuttx/apps/libapps.a -> staging/libapps.a | |
make[1]: Entering directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: 'libcrypto.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/crypto' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/fs' | |
make[1]: 'libfs.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/fs' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: 'libbinfmt.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/binfmt' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: 'libsx1262.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libsx1262' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: 'liblorawan.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/liblorawan' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: 'libnpl.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libnpl' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: 'libtinycbor.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/libtinycbor' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: 'librust.a' is up to date. | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/libs/librust' | |
make[1]: Entering directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
make[2]: Entering directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
make[2]: 'libboard.a' is up to date. | |
make[2]: Leaving directory '/home/user/nuttx/nuttx/boards/risc-v/bl602/bl602evb/src' | |
LD: nuttx | |
make[1]: Leaving directory '/home/user/nuttx/nuttx/arch/risc-v/src' | |
CP: nuttx.hex | |
CP: nuttx.bin | |
+ popd | |
~/nuttx/apps/examples/rust_test | |
+ cp /home/user/nuttx/apps/examples/rust_test/../../../nuttx/nuttx.bin /home/user/nuttx/apps/examples/rust_test/../../../nuttx/nuttx.hex /home/user/nuttx/apps/examples/rust_test/../../../nuttx/nuttx.manifest /home/user/nuttx/apps/examples/rust_test/../../../nuttx/nuttx.map /mnt/c/pinecone/blflash | |
+ ls -l /mnt/c/pinecone/blflash/nuttx.bin | |
-rwxrwxrwx 1 user user 388816 Jan 8 19:03 /mnt/c/pinecone/blflash/nuttx.bin | |
+ set +x | |
----- Flash NuttX Firmware | |
+ pushd /Users/Luppy/pinecone/nuttx/apps/examples/rust_test/../../../../blflash | |
~/pinecone/blflash ~/pinecone/nuttx/apps/examples/rust_test | |
+ cargo run flash nuttx.bin --port /dev/tty.usbserial-1410 --initial-baud-rate 230400 --baud-rate 230400 | |
Compiling proc-macro2 v1.0.24 | |
Compiling unicode-xid v0.2.1 | |
Compiling syn v1.0.53 | |
Compiling libc v0.2.80 | |
Compiling version_check v0.9.2 | |
Compiling memchr v2.3.4 | |
Compiling typenum v1.12.0 | |
Compiling lazy_static v1.4.0 | |
Compiling fnv v1.0.7 | |
Compiling unicode-width v0.1.8 | |
Compiling strsim v0.9.3 | |
Compiling ident_case v1.0.1 | |
Compiling bitflags v1.2.1 | |
Compiling regex-syntax v0.6.21 | |
Compiling radium v0.5.3 | |
Compiling autocfg v1.0.1 | |
Compiling serde_derive v1.0.117 | |
Compiling log v0.4.11 | |
Compiling unicode-segmentation v1.7.1 | |
Compiling serde v1.0.117 | |
Compiling build_const v0.2.1 | |
Compiling wyz v0.2.0 | |
Compiling ansi_term v0.11.0 | |
Compiling byteorder v1.3.4 | |
Compiling cfg-if v0.1.10 | |
Compiling strsim v0.8.0 | |
Compiling vec_map v0.8.2 | |
Compiling tap v1.0.0 | |
Compiling funty v1.0.1 | |
Compiling cfg-if v1.0.0 | |
Compiling paw-raw v1.0.0 | |
Compiling opaque-debug v0.3.0 | |
Compiling humantime v2.0.1 | |
Compiling zero v0.1.2 | |
Compiling termcolor v1.1.2 | |
Compiling number_prefix v0.3.0 | |
Compiling cpuid-bool v0.1.2 | |
Compiling hex v0.4.2 | |
Compiling main_error v0.1.1 | |
Compiling thread_local v1.0.1 | |
Compiling textwrap v0.11.0 | |
Compiling proc-macro-error-attr v1.0.4 | |
Compiling generic-array v0.14.4 | |
Compiling proc-macro-error v1.0.4 | |
Compiling num-traits v0.2.14 | |
Compiling crc v1.8.1 | |
Compiling heck v0.3.1 | |
Compiling xmas-elf v0.7.0 | |
Compiling aho-corasick v0.7.15 | |
Compiling bitvec v0.19.4 | |
Compiling atty v0.2.14 | |
Compiling termios v0.2.2 | |
Compiling ioctl-rs v0.1.6 | |
Compiling terminal_size v0.1.15 | |
Compiling serial-core v0.4.0 | |
Compiling dirs-sys-next v0.1.1 | |
Compiling quote v1.0.7 | |
Compiling clap v2.33.3 | |
Compiling directories-next v1.0.3 | |
Compiling serial-unix v0.4.0 | |
Compiling serial v0.4.0 | |
Compiling regex v1.4.2 | |
Compiling digest v0.9.0 | |
Compiling block-buffer v0.9.0 | |
Compiling sha2 v0.9.2 | |
Compiling parse_int v0.4.0 | |
Compiling console v0.13.0 | |
Compiling env_logger v0.8.2 | |
Compiling indicatif v0.15.0 | |
Compiling darling_core v0.10.2 | |
Compiling paw-attributes v1.0.2 | |
Compiling thiserror-impl v1.0.22 | |
Compiling structopt-derive v0.4.14 | |
Compiling paw v1.0.0 | |
Compiling darling_macro v0.10.2 | |
Compiling darling v0.10.2 | |
Compiling thiserror v1.0.22 | |
Compiling deku_derive v0.9.1 | |
Compiling structopt v0.3.21 | |
Compiling deku v0.9.1 | |
Compiling toml v0.5.7 | |
Compiling blflash v0.2.1 (/Users/Luppy/pinecone/blflash/blflash) | |
Finished dev [unoptimized + debuginfo] target(s) in 1m 53s | |
Running `target/debug/blflash flash nuttx.bin --port /dev/tty.usbserial-1410 --initial-baud-rate 230400 --baud-rate 230400` | |
[INFO blflash::flasher] Start connection... | |
[TRACE blflash::flasher] 5ms send count 115 | |
[TRACE blflash::flasher] handshake sent elapsed 103.574µs | |
[INFO blflash::flasher] Connection Succeed | |
[INFO blflash] Bootrom version: 1 | |
[TRACE blflash] Boot info: BootInfo { len: 14, bootrom_version: 1, otp_info: [0, 0, 0, 0, 3, 0, 4, 40, ad, b8, e3, 4c, b9, 7c, 15, 0] } | |
[INFO blflash::flasher] Sending eflash_loader... | |
[INFO blflash::flasher] Finished 1.666926407s 17.15KB/s | |
[TRACE blflash::flasher] 5ms send count 115 | |
[TRACE blflash::flasher] handshake sent elapsed 125.447µs | |
[INFO blflash::flasher] Entered eflash_loader | |
[INFO blflash::flasher] Skip segment addr: 0 size: 47504 sha256 matches | |
[INFO blflash::flasher] Skip segment addr: e000 size: 272 sha256 matches | |
[INFO blflash::flasher] Skip segment addr: f000 size: 272 sha256 matches | |
[INFO blflash::flasher] Erase flash addr: 10000 size: 424240 | |
[INFO blflash::flasher] Program flash... 4e3143668b515e9e6e2081be66fa94105420a0d5ef3e8d164520c280be7d4f20 | |
[INFO blflash::flasher] Program done 23.688449916s 17.49KB/s | |
[INFO blflash::flasher] Skip segment addr: 1f8000 size: 5671 sha256 matches | |
[INFO blflash] Success | |
+ sleep 5 | |
+ popd | |
~/pinecone/nuttx/apps/examples/rust_test | |
+ set +x | |
----- Run NuttX Firmware | |
+ open -a CoolTerm | |
Terminal will be reused by tasks, press any key to close it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment