Created
June 11, 2022 12:51
-
-
Save lupyuen/b29186ad4ad870bcaaace704fd3def7d to your computer and use it in GitHub Desktop.
Zig Compile Log for LoRaWAN App on Apache NuttX RTOS (See https://lupyuen.github.io/articles/iot)
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
$ pushd ../zig-bl602-nuttx | |
~/nuttx/zig-bl602-nuttx ~/nuttx/nuttx | |
$ zig build-obj --verbose-cimport -target riscv32-freestanding-none -mcpu=baseline_rv32-d -isystem /home/user/nuttx/nuttx/include -I /home/user/nuttx/apps/examples/lorawan_test lorawan_test.zig | |
info(compilation): C import source: zig-cache/o/08fa8a0a89d15e88ae63a9f8e0af6c91/cimport.h | |
info(compilation): C import .d file: zig-cache/o/08fa8a0a89d15e88ae63a9f8e0af6c91/cimport.h.d | |
info(compilation): C import output: zig-cache/o/adbf03c74d351db638f34bb5535a8c3b/cimport.zig | |
$ xxd -c 1 lorawan_test.o | |
$ sed 's/00000024: 01/00000024: 03/' | |
$ xxd -r -c 1 - lorawan_test2.o | |
$ cp lorawan_test2.o lorawan_test.o | |
$ cp lorawan_test.o /home/user/nuttx/apps/examples/lorawan_test/lorawan_test_main.c.home.user.nuttx.apps.examples.lorawan_test.o | |
$ ls -l lorawan_test.o /home/user/nuttx/apps/examples/lorawan_test/lorawan_test_main.c.home.user.nuttx.apps.examples.lorawan_test.o | |
-rw-r--r-- 1 user user 467724 Jun 10 16:44 /home/user/nuttx/apps/examples/lorawan_test/lorawan_test_main.c.home.user.nuttx.apps.examples.lorawan_test.o | |
-rw-r--r-- 1 user user 467724 Jun 10 16:44 lorawan_test.o | |
$ popd | |
~/nuttx/nuttx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment