Skip to content
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

Increase max uorbs #737

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Increase max uorbs #737

merged 2 commits into from
Aug 16, 2024

Conversation

jlaitine
Copy link

These are cherry-picks from PX4 mainline, with some modifications to uORB (as we have an own version of that library).

The change is needed in order to support more than 255 uORB ID:s. We are very close to the limit, and currently it is not possbile to add new ones - which is needed by our own development (e.g. redundancy topics) and most likely by the customer as well.

hskrieg and others added 2 commits August 14, 2024 11:24
Increased size for ORB_ID from uint8_t to uint16_t

Created a type: orb_id_size_t = uint16_t.
There are still a couple of places where the size
of the ORB_ID is assumed to be less than 16-bits.
The places that I have found are commented regarding
this and can be found with a search on orb_id_size_t.
@jlaitine jlaitine requested review from jpaali and kordets August 14, 2024 08:32
@jlaitine
Copy link
Author

Merging this, seems to be working and if not, we'll find out in testing...

@jlaitine jlaitine merged commit ac75375 into main Aug 16, 2024
28 checks passed
@jlaitine jlaitine deleted the increase_max_uorbs branch August 16, 2024 05:57
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.

3 participants