You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "simbit18 (via GitHub)" <gi...@apache.org> on 2025/11/10 15:33:10 UTC

[PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

simbit18 opened a new pull request, #17307:
URL: https://github.com/apache/nuttx/pull/17307

   ## Summary
   
   - added NXP Kinetis MCUs
   
   - CMake added board NXP Freedom-K64F
   
   https://www.nxp.com/design/design-center/development-boards-and-designs/FRDM-K64F
   
   ## Impact
   
   Impact on user: This PR adds NXP Freedom-K64F board with CMake build
   
   Impact on build: This PR Implement CMake build for the NXP Kinetis MCUs
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   
   Locally
   
   config -> nsh
   
   ```
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=freedom-k64f:nsh -GNinja
   -- Found Python3: C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version "3.13.3") found components: Interpreter
   -- Processing includes: D:/nuttxtmp/nuttx/boards/arm/kinetis/freedom-k64f/configs/nsh/defconfig -> D:/nuttxtmp/nuttx/build/.defconfig.processed
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Initializing NuttX
   --   ENV{PROCESSOR_ARCHITECTURE} = AMD64
     Select HOST_WINDOWS=y
     Select WINDOWS_NATIVE=y
   --   CMake:  3.31.5
   --   Ninja:  1.12.1
   --   Board:  freedom-k64f
   --   Config: nsh
   --   Appdir: D:/nuttxtmp/apps
   -- The C compiler identification is GNU 13.2.1
   -- The CXX compiler identification is GNU 13.2.1
   -- The ASM compiler identification is GNU
   -- Found assembler: D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Configuring done (9.6s)
   -- Generating done (2.0s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [1088/1091] Linking C executable nuttx
   Memory region         Used Size  Region Size  %age Used
          vectflash:         408 B         1 KB     39.84%
         cfmprotect:          16 B         16 B    100.00%
          progflash:      106256 B         1 MB     10.13%
           datasram:        4928 B       128 KB      3.76%
   [1091/1091] Generating nuttx.bin
   
   ```


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "trns1997 (via GitHub)" <gi...@apache.org>.
trns1997 commented on PR #17307:
URL: https://github.com/apache/nuttx/pull/17307#issuecomment-3517045660

   @simbit18 looks good:
   ```
   Type [C-a] [C-h] to see available commands
   Terminal ready
   ?
   help usage:  help [-v] [<cmd>]
   
       .           cp          false       mkfatfs     rmdir       umount      
       [           cmp         fdinfo      mkrd        set         unset       
       ?           dirname     free        mount       sleep       uptime      
       alias       df          help        mv          source      usleep      
       unalias     dmesg       hexdump     pidof       test        watch       
       basename    echo        kill        printf      time        xd          
       break       exec        pkill       ps          true        wait        
       cat         exit        ls          pwd         truncate    
       cd          expr        mkdir       rm          uname       
   
   Builtin Apps:
       dd     nsh    sh     pwm    
   nsh> pwm
   pwm_main: starting output with frequency: 100 duty: 00007fff
   pwm_main: stopping output
   ```
   
   the `nsh` config works like a charm :)


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "trns1997 (via GitHub)" <gi...@apache.org>.
trns1997 commented on PR #17307:
URL: https://github.com/apache/nuttx/pull/17307#issuecomment-3516334902

   > @trns1997, could you try it with your freedom-k64f board?
   
   Sure thing, i'll try to test ASAP :)


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17307:
URL: https://github.com/apache/nuttx/pull/17307


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on PR #17307:
URL: https://github.com/apache/nuttx/pull/17307#issuecomment-3517065353

   @trns1997 Thank you very much for the test. :)


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "simbit18 (via GitHub)" <gi...@apache.org>.
simbit18 commented on PR #17307:
URL: https://github.com/apache/nuttx/pull/17307#issuecomment-3512577484

   @trns1997, could you try it with your freedom-k64f board? 
   


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


Re: [PR] arch/arm/src/kinetis: CMake build implemented for NXP Kinetis MCUs [nuttx]

Posted by "linguini1 (via GitHub)" <gi...@apache.org>.
linguini1 commented on PR #17307:
URL: https://github.com/apache/nuttx/pull/17307#issuecomment-3513654268

   Just added testing label until you get the board test results you asked for


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