Skip to content

factory-setup: Remove C implementation of RTT #1391

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Apr 1, 2025

The debug builds use the rust implementation of RTT. The two implementations cannot coexist. To be able to build debug builds of the factory-setup the C imeplementation is therefore removed.

The factory-setup image is changed to use the second channel for API calls, since the first is used for debug console.

@NickeZ NickeZ requested a review from benma April 1, 2025 09:35
@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch from bf2bac6 to f7d22dc Compare April 2, 2025 08:29
@benma
Copy link
Collaborator

benma commented Apr 2, 2025

target_link_libraries(factory-setup.elf PRIVATE rtt) in CMakeLists needs to be removed I think.

@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch from f7d22dc to e0c5d2f Compare April 2, 2025 11:50
@NickeZ
Copy link
Collaborator Author

NickeZ commented Apr 2, 2025

target_link_libraries(factory-setup.elf PRIVATE rtt) in CMakeLists needs to be removed I think.

Yeah, fixed

@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch 2 times, most recently from 4440f12 to 6daf875 Compare April 9, 2025 09:18
@NickeZ
Copy link
Collaborator Author

NickeZ commented Apr 9, 2025

rebased

@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch 4 times, most recently from 87d2ca9 to da9046d Compare April 22, 2025 16:57
@NickeZ
Copy link
Collaborator Author

NickeZ commented Apr 22, 2025

rebased and fixed an issue with non-debug builds

@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch from da9046d to a6278e8 Compare April 22, 2025 17:59
The debug builds use the rust implementation of RTT. The two
implementations cannot coexist. To be able to build debug builds of the
factory-setup the C imeplementation is therefore removed.

The factory-setup image is changed to use the second channel for API
calls, since the first is used for debug console.
@NickeZ NickeZ force-pushed the nickez/remove-rtt-c-impl branch from a6278e8 to 1123663 Compare April 22, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants