lupyuen commented on PR #18832:
URL: https://github.com/apache/nuttx/pull/18832#issuecomment-4403689931

   @linguini1 So we're trying to fix this Compile Error: 
https://github.com/apache/nuttx/actions/runs/25459302764/job/74697383268?pr=18832#step:10:913
   ```
   Configuration/Tool: 
imxrt1064-evk/mcuboot-loader,CONFIG_ARM_TOOLCHAIN_GNU_EABI
   mcuboot/boot/nuttx/main.c: In function 'mcuboot_loader_main':
   Error: mcuboot/boot/nuttx/main.c:106:12: error: 'BOARDIOC_INIT' undeclared 
(first use in this function); did you mean 'BOARDIOC_USER'?
     106 |   boardctl(BOARDIOC_INIT, 0);
         |            ^~~~~~~~~~~~~
         |            BOARDIOC_USER
   ```
   
   Which actually comes from the MCUBoot Repo: 
https://github.com/mcu-tools/mcuboot/blob/main/boot/nuttx/main.c#L106
   ```c
   int main(int argc, FAR char *argv[]) {
     struct boot_rsp rsp;
     FIH_DECLARE(fih_rc, FIH_FAILURE);
   #ifdef NEED_BOARDINIT
     /* Perform architecture-specific initialization (if configured) */
     boardctl(BOARDIOC_INIT, 0);
   ```
   
   Which means we need to submit a PR at MCUBoot Repo?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to