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

   ## Summary
   
    Added CMake build for boards::
   
     - NXP Freedom-K28F
   
    -  NXP Freedom-K66F
   
   
   ## Impact
   
   Impact on user: This PR adds NXP Freedom-K28F and Freedom-K66F boards with 
CMake build
   
   Impact on build: NO
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   Locally
   
   **NXP Freedom-K28F**
   
   ```
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=freedom-k28f: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-k28f/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-k28f
   --   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 (8.8s)
   -- Generating done (2.0s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [1105/1107] Linking C executable nuttx
   Memory region         Used Size  Region Size  %age Used
          vectflash:         492 B         1 KB     48.05%
         cfmprotect:          16 B         16 B    100.00%
          progflash:       84584 B      1022 KB      8.08%
                tcm:          0 GB       512 KB      0.00%
              ocram:        5852 B       512 KB      1.12%
   [1107/1107] Generating nuttx.bin
   ```
   
   
   **NXP Freedom-K66F**
   
   ```
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=freedom-k66f: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-k66f/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-k66f
   --   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 (10.2s)
   -- Generating done (2.0s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [48/1177] Building C object 
arch/CMakeFiles/arch.dir/arm/src/kinetis/kinetis_sdhc.c.obj
   D:/nuttxtmp/nuttx/arch/arm/src/kinetis/kinetis_sdhc.c:64:4: warning: 
#warning "Large Non-DMA transfer may result in RX overrun failures" [-Wcpp]
      64 | #  warning "Large Non-DMA transfer may result in RX overrun failures"
         |    ^~~~~~~
   [1099/1177] Building C object 
boards/CMakeFiles/board.dir/arm/kinetis/freedom-k66f/src/k66_spi.c.obj
   D:/nuttxtmp/nuttx/boards/arm/kinetis/freedom-k66f/src/k66_spi.c: In function 
'kinetis_spi1status':
   D:/nuttxtmp/nuttx/boards/arm/kinetis/freedom-k66f/src/k66_spi.c:125:3: 
warning: #warning "Missing logic" [-Wcpp]
     125 | # warning "Missing logic"
         |   ^~~~~~~
   [1176/1177] Linking C executable nuttx
   Memory region         Used Size  Region Size  %age Used
          vectflash:         464 B         1 KB     45.31%
         cfmprotect:          16 B         16 B    100.00%
          progflash:      138868 B    2096112 B      6.63%
           datasram:       11604 B       256 KB      4.43%
   [1177/1177] 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: [email protected]

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

Reply via email to