Skip to content

Conversation

@FaHaGit
Copy link
Contributor

@FaHaGit FaHaGit commented May 22, 2025

Revision of the cross-compile chapter

FaHaGit added 2 commits May 22, 2025 08:24
Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
@FaHaGit FaHaGit requested review from barsnick and lategoodbye May 22, 2025 06:31
@FaHaGit
Copy link
Contributor Author

FaHaGit commented May 22, 2025

I would adjust chargesom as soon as we are through with the review here

Copy link
Contributor

@barsnick barsnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much nicer than before.

Some small issues noted.

.. literalinclude:: ../../includes/_static/files/toolchain.cmake

#. Create a new :code:`build` directory in "my-module" and navigate to it.
#. Create a new :code:`build_tarragon` directory in the EVerest project directory (e.g. inside :code:`everest-core`):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should still reference the module directory, in case the user is developing in their own dir.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to show both opportunities (cross-compile own module directory and everest-core).. I try to improve it.

.. code-block:: console
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain/toolchain.cmake -DCMAKE_SYSROOT=/mnt/rootfs ..
cmake -DCMAKE_TOOLCHAIN_FILE=../../toolchain/toolchain.cmake -DCMAKE_SYSROOT=/mnt/rootfs ..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, I hope that the user sticks to the common EVerest directory structure (with modules/MyModule/, interfaces/, types/). Is that noted somewhere in the prerequisites for development?

Rework after review

Signed-off-by: Fabian Hartung <fabian.hartung@chargebyte.com>
@FaHaGit FaHaGit requested a review from barsnick June 18, 2025 12:37
Copy link
Contributor

@barsnick barsnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one more issue.

Signed-off-by: Stefan Wahren <stefan.wahren@chargebyte.com>
@lategoodbye lategoodbye requested a review from barsnick June 23, 2025 11:40
Copy link
Contributor

@barsnick barsnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

@lategoodbye lategoodbye merged commit e3d579e into everest/charge_control_c Jun 23, 2025
1 check failed
@lategoodbye lategoodbye deleted the everest/ccc-revision-of-development-chapter branch June 25, 2025 08:19
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.

4 participants