Skip to content

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Jul 7, 2025

This updates bunch of packages to have shell commands registered statically during link time instead of run time.

@github-actions github-actions bot added USB All USB work should have this label STM STM32 related size/l labels Jul 7, 2025
@kasjer kasjer force-pushed the kasjer/update-shell-commands-to-static-registration branch 3 times, most recently from 45baa87 to b77d8f2 Compare July 7, 2025 21:25
Now fs cli commands are register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now stat cli commands are register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now flash_test commands are register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now coremark shell commands are register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now log shell commands are register at link time to
reduce memory footprint.
No change in functionality.

Remove unfinished code depending on non-existing
flag LOG_FCB_SLOT1.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now crash shell commands are register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now config shell command is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now imgr shell command is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now usb shell module is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now flashstress shell command is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now fault shell command is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now i2c_scan shell command is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now mcu shell module is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now mcu shell module is register at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now BQ27Z561 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now ina219 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now ina226 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now bat shell module is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now loar shell commands are registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now adp5061 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now lsm6dso shell command is registered at link time to
reduce memory footprint.
Command was register before by function lsm6dso_shell_init()
that is not removed and replaced by syscfg value LSM6DSO_SHELL

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now ds3231 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now bme280 shell command is registered at link time to
reduce memory footprint.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now bmp280 shell command is registered at link time to
reduce memory footprint.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now ds1307 shell command is registered at link time to
reduce memory footprint.
No change in functionality.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
Now adxl345 shell command is registered at link time to
reduce memory footprint.
Command was register before by function adxl345_shell_init()
Now command is added when syscfg value ADXL345_CLI is 1

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>
@kasjer kasjer force-pushed the kasjer/update-shell-commands-to-static-registration branch from b77d8f2 to 6af53f3 Compare September 2, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/l STM STM32 related USB All USB work should have this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant