conan-io / conan-io/docs

Add example fros cross-building for embedded (bare metal) devices

Open
#3,357 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

New page in this section: https://docs.conan.io/2/examples/cross_build.html

Things to take into consideration:
* Using a `gcc` for the generic `arm-none-eabi` target
* The current `cpu` setting may not be enough to cover the variability of the ARM instruction sets across different devices, this covers:
* `M-profile` architecture
* different SoCs may have different CPU features, and unlike x86_64 where most distributable binaries are built against a baseline configuration (the "lowest common denominator"), in embedded/low power devices one may want to use specific CPU features that are optional
* Other compiler flags are important, e.g. with the aim of reducing code size:

see discussion https://www.reddit.com/r/cpp/comments/165fi6f/comment/jyfhb1l/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.