Skip to content

lib: sgp4: move SGP4 from app module to shared library#688

Merged
simensrostad merged 1 commit into
mainfrom
att/remove/shell-cmd
May 27, 2026
Merged

lib: sgp4: move SGP4 from app module to shared library#688
simensrostad merged 1 commit into
mainfrom
att/remove/shell-cmd

Conversation

@simensrostad
Copy link
Copy Markdown
Contributor

Move the SGP4 implementation from app/src/modules/sgp4 to a new lib/sgp4 library so it can be used as a proper Zephyr library, decoupled from the app module system.

The new library splits SGP4_PASS_PREDICT into a separate Kconfig option. Tests are updated to use the new library path and enable CONFIG_SGP4_PASS_PREDICT via prj.conf instead of directly including source files.

Also removes the at_monitor dependency from sgp4_pass_predict.c.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

App size did not change. See CI run

Move the SGP4 implementation from `app/src/modules/sgp4` to a new
`lib/sgp4` library so it can be used as a proper Zephyr library,
decoupled from the app module system.

The new library splits `SGP4_PASS_PREDICT` into a separate Kconfig
option. Tests are updated to use the new library path and enable
`CONFIG_SGP4_PASS_PREDICT` via `prj.conf` instead of directly
including source files.

Also removes the `at_monitor` dependency from `sgp4_pass_predict.c`.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
@simensrostad simensrostad force-pushed the att/remove/shell-cmd branch from 3ba2722 to 84d8689 Compare May 27, 2026 10:19
@simensrostad simensrostad merged commit 47257dd into main May 27, 2026
6 of 7 checks passed
@simensrostad simensrostad deleted the att/remove/shell-cmd branch May 27, 2026 10:31
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.

1 participant