Skip to content

Conversation

@carlocaione
Copy link
Contributor

@carlocaione carlocaione commented Jan 9, 2026

Rename drivers/lora/loramac_node to drivers/lora/loramac-node to align with the module naming convention (modules/loramac-node).

set(ZEPHYR_CURRENT_LIBRARY lora-basics-modem)
else()
zephyr_library_named(lora_basics_modem)
zephyr_library_named(lora-basics-modem)
Copy link
Contributor

@thedjnK thedjnK Jan 9, 2026

Choose a reason for hiding this comment

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

this breaks out of tree users (if someone was using zephyr_library_amend), though I have no suggestion for a way to work around that

Copy link
Contributor Author

@carlocaione carlocaione Jan 9, 2026

Choose a reason for hiding this comment

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

yes, that sucks. Alright then, I'll keep lora_basics_modem but at least I'll fix s/loramac_node/loramac-node, it is a bit unfortunate that the module name for lora-basics-modem will keep to be inconsistent.

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess if the maintainers think it's unlikely that it's been amended out of tree then the breaking change process could be followed to change it, it's only been in for the 4.3 release. Actually, it's fine to change, 38384e1#diff-c82e5f446b92db2320763180d4890fc1fc4008c8514e1711ecc1d233f72a0312R25-R31 it's listed as experimental so go right ahead

Rename drivers/lora/loramac_node to drivers/lora/loramac-node to align
with the module naming convention (modules/loramac-node).

Signed-off-by: Carlo Caione <[email protected]>
@carlocaione carlocaione force-pushed the upstream/lorawan_fix_naming branch from 8e80d98 to ccfcbb1 Compare January 9, 2026 16:16
@carlocaione carlocaione changed the title drivers: lora: use consistent naming for backend directories drivers: lora: rename loramac_node directory to loramac-node Jan 9, 2026
@zephyrbot zephyrbot added the size: XS A PR changing only a single line of code label Jan 9, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: LoRa platform: STM32 ST Micro STM32 size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants