fdcavalcanti opened a new pull request, #3491:
URL: https://github.com/apache/nuttx-apps/pull/3491

   ## Summary
   
   <!-- This field should contain a summary of the changes. It will be 
pre-filled with the commit's message and descriptions. Adjust it accordingly -->
   
   * system/nxdiag: add CMake support for NXDiag tool
   
   Supports building NXDiag with CMake.
   
   Relates to [this PR](https://github.com/apache/nuttx/pull/18919) on NuttX.
   
   ## Impact
   <!-- Please fill the following sections with YES/NO and provide a brief 
explanation -->
   
   Impact on user: No.
   <!-- Does it impact user's applications? How? -->
   
   Impact on build: Supports CMake builds.
   <!-- Does it impact on building NuttX? How? (please describe the required 
changes on the build system) -->
   
   Impact on hardware: No.
   <!-- Does it impact a specific hardware supported by NuttX? -->
   
   Impact on documentation: No.
   <!-- Does it impact the existing documentation? Please provide additional 
documentation to reflect that -->
   
   Impact on security: No.
   <!-- Does it impact NuttX's security? -->
   
   Impact on compatibility: No.
   <!-- Does it impact compatibility between previous and current versions? Is 
this a breaking change? -->
   
   ## Testing
   <!-- Please provide all the testing procedure. Consider that upstream 
reviewers should be able to reproduce the same testing performed internally -->
   Tested on esp32h2-devkit with Make and CMake.
   
   ### Building
   <!-- Provide how to build the test for each SoC being tested -->
   Make example:
   - ./tools/configure.sh esp32h2-devkit:nsh
   - Enable `CONFIG_SYSTEM_NXDIAG` and `CONFIG_SYSTEM_NXDIAG_ESPRESSIF`
   - build
   
   CMake example:
   - cmake -B build -DBOARD_CONFIG=esp32h2-devkit:nsh -GNinja
   - Enable `CONFIG_SYSTEM_NXDIAG` and `CONFIG_SYSTEM_NXDIAG_ESPRESSIF`
   - build 
   
   ### Results
   <!-- Provide how to run the test for each SoC being tested -->
   
   - nxdiag is available on Nuttshell:
   ```
   nsh> ?
   help usage:  help [-v] [<cmd>]
   
       .           cp          expr        mount       set         truncate    
       [           cmp         false       mv          kill        uname       
       ?           dirname     fdinfo      pidof       pkill       umount      
       alias       df          free        printf      sleep       unset       
       unalias     dmesg       help        ps          usleep      uptime      
       basename    echo        hexdump     pwd         source      watch       
       break       env         ls          reboot      test        xd          
       cat         exec        mkdir       rm          time        wait        
       cd          exit        mkrd        rmdir       true        
   
   Builtin Apps:
       dd           nsh          nxdiag       getprime     
       dumpstack    sh           ostest       
   nsh> 
   ```


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