simbit18 opened a new pull request, #16989:
URL: https://github.com/apache/nuttx/pull/16989
## Summary
Added CMake build for teensy-4.x board
## Impact
Impact on user: This PR adds the teensy-4.x board 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
teensy-4.x
```
D:\nuttximxrt\nuttx>cmake -B build -DBOARD_CONFIG=teensy-4.x:nsh-4.1 -GNinja
-- Initializing NuttX
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: teensy-4.x
-- Config: nsh-4.1
-- 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.6s)
-- Generating done (1.8s)
-- Build files have been written to: D:/nuttximxrt/nuttx/build
D:\nuttximxrt\nuttx>cmake --build build
[28/1111] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_start.c.obj
In file included from
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.h:39,
from
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_start.c:45:
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_config.h:166:6: warning:
#warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting" [-Wcpp]
166 | # warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting"
| ^~~~~~~
[34/1111] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_serial.c.obj
In file included from
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_serial.c:59:
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_config.h:166:6: warning:
#warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting" [-Wcpp]
166 | # warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting"
| ^~~~~~~
[36/1111] Building C object
arch/CMakeFiles/arch.dir/arm/src/imxrt/imxrt_lowputc.c.obj
In file included from
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_lowputc.c:37:
D:/nuttximxrt/nuttx/arch/arm/src/imxrt/imxrt_config.h:166:6: warning:
#warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting" [-Wcpp]
166 | # warning "No valid CONFIG_[LP]LPUART[n]_SERIAL_CONSOLE Setting"
| ^~~~~~~
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/1111] 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
| ^~~~~~~
[1110/1111] Linking C executable nuttx
Memory region Used Size Region Size %age Used
flash: 103928 B 1984 KB 5.12%
sram: 9964 B 512 KB 1.90%
itcm: 0 GB 512 KB 0.00%
dtcm: 0 GB 512 KB 0.00%
[1111/1111] 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]