-
Notifications
You must be signed in to change notification settings - Fork 137
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
Fix logic for generic platform #553
Fix logic for generic platform #553
Conversation
Please check the CI |
That check is a little bit misleading. As you can see here, if if [ $PLATFORM != "generic" ] && [ -d "$PREFIX/config/$RTOS/generic" ]; then
. $PREFIX/config/$RTOS/generic/build.sh
else
. $PREFIX/config/$RTOS/$PLATFORM/build.sh
fi If you take a look at each if [ -d "$PREFIX/config/$RTOS/generic" ]; then
. $PREFIX/config/$RTOS/generic/build.sh
else
. $PREFIX/config/$RTOS/$PLATFORM/build.sh
fi |
@Acuadros95 I'm not exactly sure what the logic is behind the Would the following logic work?
|
@k7g03z This repo gathers different RTOSes and boards with different configuration systems. For example, But for I understand its confusing, but this repository is being replaced by the Standalone build system tools and we will avoid going on deep changes for now. |
28edd77
to
0ff7643
Compare
Signed-off-by: Kevin Goez <[email protected]>
0ff7643
to
1f34a12
Compare
Based on your feedback, the check |
@mergify backport humble galactic foxy |
Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a)
Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a)
Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a)
✅ Backports have been created
|
Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a) Co-authored-by: k7g03z <[email protected]>
Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a) Co-authored-by: k7g03z <[email protected]>
* Remove unnessary check (#553) Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a) * Update cmake fix Signed-off-by: acuadros95 <[email protected]> Signed-off-by: acuadros95 <[email protected]> Co-authored-by: k7g03z <[email protected]> Co-authored-by: acuadros95 <[email protected]>
* Update yaml_filter.py (micro-ROS#365) (micro-ROS#367) (cherry picked from commit ce41dcb) Co-authored-by: Pablo Garrido <[email protected]> * Support for flashing Olimex STM32-E407 with STLINK v2 debuggers (micro-ROS#374) * Update standalone build tools section (backport micro-ROS#380) (micro-ROS#382) * Update standalone build tools section (micro-ROS#380) * Update standalone build tools section * Upd * Updates (cherry picked from commit e13e64d) # Conflicts: # README.md * Update Co-authored-by: Pablo Garrido <[email protected]> * Simplify micro-ROS Agent build (micro-ROS#378) (micro-ROS#384) * Simplify agent build * Revert this * Update config/agent_uros_packages.repos Co-authored-by: Pablo Garrido <[email protected]> Co-authored-by: Antonio Cuadros <[email protected]> (cherry picked from commit 70ccf66) Co-authored-by: Pablo Garrido <[email protected]> * Update README.md (micro-ROS#386) (micro-ROS#387) (cherry picked from commit a4c138e) Co-authored-by: Pablo Garrido <[email protected]> * Add renesas RA6M5 (backport micro-ROS#390) (micro-ROS#391) * Add renesas RA6M5 (micro-ROS#390) * Add renesas RA6M5 * Fix * Avoid toolchain (cherry picked from commit d27b83e) # Conflicts: # README.md * Fix Co-authored-by: Pablo Garrido <[email protected]> * openocd: added script to reset devices (micro-ROS#399) * fix: use FW_TARGETDIR instead of firmware (micro-ROS#400) * Temporal disable Rolling Agent CI (backport micro-ROS#408) (micro-ROS#410) * Temporal disable Rolling Agent CI (micro-ROS#408) (cherry picked from commit 218170b) # Conflicts: # .github/workflows/nightly.yml * Update nightly.yml Co-authored-by: Pablo Garrido <[email protected]> * Remove unnecessary rosdep (micro-ROS#411) (micro-ROS#412) (cherry picked from commit c03d66e) Co-authored-by: Pablo Garrido <[email protected]> * Fix rosdep (backport micro-ROS#414) (micro-ROS#415) * Fix rosdep (micro-ROS#414) * Fix rosdep * Update (cherry picked from commit 3a28e75) # Conflicts: # scripts/create_firmware_ws.sh * Fix conflicts Co-authored-by: Pablo Garrido <[email protected]> * Modify host build (micro-ROS#418) (micro-ROS#421) (cherry picked from commit 97f013e) Co-authored-by: Pablo Garrido <[email protected]> * Skip existing repos in vcs (micro-ROS#419) (micro-ROS#423) (cherry picked from commit ecdd1ab) Co-authored-by: Pablo Garrido <[email protected]> * Fix host src folder (micro-ROS#417) (micro-ROS#425) (cherry picked from commit fc7faa3) Co-authored-by: Pablo Garrido <[email protected]> * Build dynamic lib of rosidl_typesupport _microxrcedds (backport micro-ROS#473) (micro-ROS#475) * build dynamic lib of rosidl_typesupport of (micro-ROS#473) microxrcedds_c (cherry picked from commit 3136ad0) # Conflicts: # config/host/generic/build.sh # config/host/generic/client_host_packages.repos * Conflicts Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: VictorLee <[email protected]> Co-authored-by: Pablo Garrido <[email protected]> * Fix Zephyr CI (backport micro-ROS#480) (micro-ROS#482) * Fix Zephyr CI (micro-ROS#480) Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit 0942f74) # Conflicts: # config/zephyr/generic/create.sh * Update Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: Pablo Garrido <[email protected]> * Update changelog Signed-off-by: Pablo Garrido <[email protected]> * 1.0.0 * Enable rolling agent (backport micro-ROS#479) (micro-ROS#484) * Enable rolling agent (micro-ROS#479) * Enable rolling agent Signed-off-by: Pablo Garrido <[email protected]> * Install python3.9-dev Signed-off-by: Pablo Garrido <[email protected]> * Fix Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit 91ed371) # Conflicts: # .github/workflows/ci.yml # .github/workflows/nightly.yml * update Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: Pablo Garrido <[email protected]> * Fix CI Signed-off-by: Pablo Garrido <[email protected]> * Fix CI Signed-off-by: Pablo Garrido <[email protected]> * Fix Agent and host Rolling CI (backport micro-ROS#486) (micro-ROS#487) * Fix Agent and host Rolling CI (micro-ROS#486) Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit d71ce51) # Conflicts: # .github/workflows/ci.yml # .github/workflows/nightly.yml * Fix Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: Pablo Garrido <[email protected]> * Fix CI upgrade ROS docker (micro-ROS#489) Signed-off-by: Pablo Garrido <[email protected]> * Remove Python 3.9 (backport micro-ROS#496) (micro-ROS#497) * Remove Python 3.9 (micro-ROS#496) Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit d327cba) # Conflicts: # .github/workflows/ci.yml * Update Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: Pablo Garrido <[email protected]> * Modified zephyr create.sh to pull correct toolchain based on arch (micro-ROS#499) (micro-ROS#501) (cherry picked from commit 8793b5a) Co-authored-by: Drew Hoener <[email protected]> * Fix readme rosdep (micro-ROS#506) (micro-ROS#507) Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit c546b01) Co-authored-by: Pablo Garrido <[email protected]> * Add platformIO to Readme (micro-ROS#510) (micro-ROS#511) (cherry picked from commit f0e7398) Co-authored-by: Antonio Cuadros <[email protected]> * Add renesas dummy meta (micro-ROS#516) (micro-ROS#517) Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit c1ee153) Co-authored-by: Pablo Garrido <[email protected]> * Fix PyYaml unistall error (micro-ROS#521) * Update changelog Signed-off-by: Pablo Garrido <[email protected]> * 1.1.0 * Remove unnessary check (micro-ROS#553) (micro-ROS#567) Signed-off-by: Kevin Goez <[email protected]> Signed-off-by: Kevin Goez <[email protected]> (cherry picked from commit b81290a) Co-authored-by: k7g03z <[email protected]> Signed-off-by: Pablo Garrido <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Pablo Garrido <[email protected]> Co-authored-by: Bhavesh Kakwani <[email protected]> Co-authored-by: David Jablonski <[email protected]> Co-authored-by: VictorLee <[email protected]> Co-authored-by: Drew Hoener <[email protected]> Co-authored-by: Antonio Cuadros <[email protected]> Co-authored-by: k7g03z <[email protected]>
This PR fixes the incorrect logic in checking if the generic platform is being used.
#550
Signed-off-by: Kevin Goez [email protected]