You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/20 01:36:51 UTC

[GitHub] [incubator-nuttx] anchao commented on issue #1844: BEST SUPPORTED BOARD + NUTTX VERSION

anchao commented on issue #1844:
URL: https://github.com/apache/incubator-nuttx/issues/1844#issuecomment-695454708


   @Ouss4 , Thanks for reminding!
   
   Hi @TA1DB ,
   
   Welcome!
   
   I tried "make export" compiling locally on "Ubuntu 16.04", it seems there is no problem and everything is working as expected, I suspect there may be something wrong with system compatibility, could you please share the detailed compilation process?
   
   The compilation process on my desktop as below:
   
   Target board: stm32f746g-disco
   ```
   
   chao@archer:~/code/incubator-nuttx$ ./tools/configure.sh stm32f746g-disco/lvgl
   ...
   chao@archer:~/code/incubator-nuttx$ make
   ...
   chao@archer:~/code/incubator-nuttx$ make export
   ...
   chao@archer:~/code/incubator-nuttx$ ls -l nuttx-export-9.1.0.zip 
   -rw-rw-r-- 1 chao chao 5824499 9  20 09:16 nuttx-export-9.1.0.zip
   ...
   chao@archer:~/code/incubator-nuttx$ cd ../apps/
   chao@archer:~/code/apps$ ./tools/mkimport.sh -x ../incubator-nuttx/nuttx-export-9.1.0.zip
   ...
   chao@archer:~/code/apps$ make import V=1
   ...
   echo "LD: nuttx"
   LD: nuttx
   /home/chao/code/m4/prebuilts/gcc/linux/arm/bin/arm-none-eabi-ld --entry=__start -nostartfiles -nodefaultlibs -g -L /home/chao/code/apps/import/libs -L "/home/chao/code/m4/prebuilts/gcc/linux/arm/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp"  \
     -L/home/chao/code/apps/import/scripts -Tflash.ld \
     -o nuttx   /home/chao/code/apps/builtin/exec_builtin.home.chao.code.apps.builtin.o /home/chao/code/apps/builtin/builtin_list.home.chao.code.apps.builtin.o  --start-group \
     /home/chao/code/apps/libapps.a -lsched -ldrivers -lboards -lc -lmm -larch -lxx -lapps -lfs -lbinfmt -lboard  -lgcc -lgcc -lm --end-group
   echo "CP: nuttx.hex"
   CP: nuttx.hex
   /home/chao/code/m4/prebuilts/gcc/linux/arm/bin/arm-none-eabi-objcopy  -O ihex nuttx nuttx.hex
   echo "CP: nuttx.bin"
   CP: nuttx.bin
   /home/chao/code/m4/prebuilts/gcc/linux/arm/bin/arm-none-eabi-objcopy  -O binary nuttx nuttx.bin
   make[1]: Leaving directory '/home/chao/code/apps'
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org