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 2021/12/30 06:25:29 UTC

[GitHub] [incubator-nuttx-apps] PierrePeng opened a new issue #947: Compile MCUBOOT failed using mcuboot_agent config on esp32-wrover-kit

PierrePeng opened a new issue #947:
URL: https://github.com/apache/incubator-nuttx-apps/issues/947


   Hi @gustavonihei
   
   I encouter to obstacle when I compile mcuboot using command as bellow. It seems that the configuration of compiler on NuttX uses C89 as default
   `./tools/configure.sh esp32-wrover-kit:mcuboot_agent && make -j16`
   ![image](https://user-images.githubusercontent.com/23045104/147726706-311b824c-2f29-4f76-acd6-d18d1213ce70.png)
   
   After I move the declarations out off for loop, I got multiple definition errors.
   ![image](https://user-images.githubusercontent.com/23045104/147726777-d1ddfc18-7d4f-49aa-85d9-cfb6b37053c1.png)
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx-apps] PierrePeng commented on issue #947: Compile MCUBOOT failed using mcuboot_agent config on esp32-wrover-kit

Posted by GitBox <gi...@apache.org>.
PierrePeng commented on issue #947:
URL: https://github.com/apache/incubator-nuttx-apps/issues/947#issuecomment-1003243312


   @gustavonihei 
   
   Now, I can compile successfully after I update the compiler to 8.4.0. 
   
   Thanks!!!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx-apps] PierrePeng closed issue #947: Compile MCUBOOT failed using mcuboot_agent config on esp32-wrover-kit

Posted by GitBox <gi...@apache.org>.
PierrePeng closed issue #947:
URL: https://github.com/apache/incubator-nuttx-apps/issues/947


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx-apps] gustavonihei commented on issue #947: Compile MCUBOOT failed using mcuboot_agent config on esp32-wrover-kit

Posted by GitBox <gi...@apache.org>.
gustavonihei commented on issue #947:
URL: https://github.com/apache/incubator-nuttx-apps/issues/947#issuecomment-1003001938


   Hi @PierrePeng.
   
   > ./tools/configure.sh esp32-wrover-kit:mcuboot_agent && make -j16
   
   The `esp32-devkitc:mcuboot_agent`, which is essentially equal to `esp32-wrover-kit:mcuboot_agent`, is part of the `incubator-nuttx` CI and it builds successfully using the `xtensa-esp32-elf-gcc` compiler from Espressif, which is the one assumed by the defconfig.
   Could you please inform the version of the toolchain used to reproduce the issue?
   
   If by any chance you modified the base `mcuboot_agent` defconfig, could you please share those changes?
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx-apps] PierrePeng commented on issue #947: Compile MCUBOOT failed using mcuboot_agent config on esp32-wrover-kit

Posted by GitBox <gi...@apache.org>.
PierrePeng commented on issue #947:
URL: https://github.com/apache/incubator-nuttx-apps/issues/947#issuecomment-1003236275


   Hi @gustavonihei ,
   
   Thanks for your reply! 
   The version of `xtensa-esp32-elf-gcc` is shown below.  And I didn't modify the base `mcuboot_agent` deconfig.
   
   ![image](https://user-images.githubusercontent.com/23045104/147798099-6dafb403-e4dc-4585-b09f-18c774059ddf.png)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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