simbit18 opened a new pull request, #16922:
URL: https://github.com/apache/nuttx/pull/16922
## Summary
Added CMake build for boards:
imxrt1020-evk
imxrt1050-evk
## Impact
Impact on user: This PR adds imxrt1020-evk and imxrt1050-evk 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
**imxrt1020-evk**
```
D:\nuttximxrt\nuttx>cmake -B build -DBOARD_CONFIG=imxrt1020-evk:nsh -GNinja
-- Initializing NuttX
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: imxrt1020-evk
-- Config: nsh
-- Appdir: D:/nuttximxrt/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
-- Configuring done (7.4s)
-- Generating done (1.8s)
-- Build files have been written to: D:/nuttximxrt/nuttx/build
D:\nuttximxrt\nuttx>cmake --build build
[34/1105] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_lowputc.c.obj
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.c: In function
'imxrt_lpuart_configure':
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.c:751:2: warning:
#warning missing logic [-Wcpp]
751 | #warning missing logic
| ^~~~~~~
[39/1105] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_timerisr.c.obj
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_timerisr.c:49:2: warning:
#warning REVISIT these clock settings [-Wcpp]
49 | #warning REVISIT these clock settings
| ^~~~~~~
[1103/1105] Linking C executable nuttx
Memory region Used Size Region Size %age Used
flash: 99372 B 64 MB 0.15%
sram: 9736 B 256 KB 3.71%
[1105/1105] Generating nuttx.bin
```
**imxrt1050-evk**
```
D:\nuttximxrt\nuttx>cmake -B build -DBOARD_CONFIG=imxrt1050-evk:nsh -GNinja
-- Initializing NuttX
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: imxrt1050-evk
-- Config: nsh
-- Appdir: D:/nuttximxrt/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
-- Configuring done (8.0s)
-- Generating done (1.8s)
-- Build files have been written to: D:/nuttximxrt/nuttx/build
D:\nuttximxrt\nuttx>cmake --build build
[38/1101] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_lowputc.c.obj
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.c: In function
'imxrt_lpuart_configure':
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.c:751:2: warning:
#warning missing logic [-Wcpp]
751 | #warning missing logic
| ^~~~~~~
[40/1101] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_timerisr.c.obj
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_timerisr.c:49:2: warning:
#warning REVISIT these clock settings [-Wcpp]
49 | #warning REVISIT these clock settings
| ^~~~~~~
[1100/1101] Linking C executable nuttx
Memory region Used Size Region Size %age Used
flash: 94888 B 64 MB 0.14%
sram: 6588 B 512 KB 1.26%
itcm: 0 GB 128 KB 0.00%
dtcm: 0 GB 128 KB 0.00%
[1101/1101] Generating nuttx.hex
```
--
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]