-
Notifications
You must be signed in to change notification settings - Fork 1.3k
boards/arm/tiva/tm4c123g-launchpad: add CMakeLists.txt #16195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[Experimental Bot, please feedback here] Yes, this PR appears to meet the NuttX requirements, although some minor improvements could be made. Strengths:
Areas for Improvement (to make it even better):
Example of improved testing section:
nsh> hello
By adding this level of detail, reviewers can easily reproduce your testing and have more confidence in the changes. |
Hi @roskuttan: Please sign off your commit with |
@roskuttan the CI detected some issues in your CMake file:
As suggested you can use: $ cmake-format CMakelists.txt -o /tmp/CMakelists.txt The copy this CMake created at /tmp/ over your original CMakelists.txt file |
Fixed |
@roskuttan please remove the merge patch from PR. |
What you mean? |
remove this patch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding CMake support for this board!
I was trying some tests with CMake with this board there seems to be some problem.
https://github.com/apache/nuttx/tree/master/boards/arm/tiva/tm4c123g-launchpad/scripts @roskuttan Please, could you check? PR of fix #16238 |
Summary
This commit introduces CMake build support for the TI TM4C123G LaunchPad development board within the NuttX RTOS. It achieves this by adding a CMakeLists.txt file to the boards/arm/tiva/tm4c123g-launchpad & boards/arm/tiva/tm4c123g-launchpad directory. This new file does not introduce CMake support from scratch but rather integrates the existing CMake configurations already present in the arch folders. The primary purpose is to enable building NuttX for this specific board using the CMake build system.
Impact
This change primarily affects the build process for the tm4c123g-launchpad board. Developers who prefer or need to use CMake for their NuttX builds will now have this option for this specific target. It does not remove the existing build system but provides an alternative. This change should not directly impact existing users who continue to use the traditional make build.
Testing
To verify this change, the following steps were taken:
Host OS: WSL2 Ubuntu 24.04
CPU: Intel Core i5 10th Gen (Hexacore)
Target:
tm4c123g-launchpad
Verification Steps:
nuttxspace/nuttx
.cmake -B build -DBOARD_CONFIG=tm4c123g-launchpad:nsh -GNinja
. Please adjust this command to reflect your exact configuration.tm4c123g-launchpad
configuration.