Skip to content

Constparam#67

Open
johandc wants to merge 11 commits intomasterfrom
constparam
Open

Constparam#67
johandc wants to merge 11 commits intomasterfrom
constparam

Conversation

@johandc
Copy link
Contributor

@johandc johandc commented Feb 3, 2026

This branch started since maing param_t const, changes the interface.

It further collects a number of improvements to memory and stack usage.

These are given funky names by gcc, like csp_buffer_pool.2, which make them difficult for static analysis tools to find and put into context.

Moving to file scope is only a slight scope increase which can be tolerated for the benefits of static analysis.
For remote parameters use param_define_remote instead
also remove include vmem.h as its not used
This conflicts with some users having const region and others non const region
User may not always double check his param is found after param_list_find so add this as an added safety aginst users
The init, configure and periodic calls, together with shall publish hook was just too much traffic in and out of the library. This is more efficient and easy to read code to perform all in userspace code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant