You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2026/10/03 11:42:05 UTC
[I] Bluetooth Mesh atomic definitions conflict with NuttX [mynewt-nimble]
raiden00pl opened a new issue, #2305:
URL: https://github.com/apache/mynewt-nimble/issues/2305
Hi, I’m trying to build NimBLE Mesh on NuttX, but the mesh atomic header defines `atomic_t` and `atomic_*` names already provided by NuttX. This causes conflicting typedefs and macro expansion errors.
What would be the preferred way to use NuttX’s existing atomic definitions without adding platform-specific workarounds to common mesh code or changing unrelated ports?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Bluetooth Mesh atomic definitions conflict with NuttX [mynewt-nimble]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on issue #2305:
URL: https://github.com/apache/mynewt-nimble/issues/2305#issuecomment-6041211031
Hi,
I think we should probably get rid of atomic_t from api (have NPL API for atomics) and then leave implementation up to NPL porting layer.
However, note that mesh was a bit of proof-of-concept port from Zephyr and wasn't updated for quite some time (other than handling issues in code reported or making sure it compiles/runs), there are some oddities and unfortunate design choices in how this was ported...
TBH we were considering marking mesh as abandon(unmaintained) and eventually removing it from repo.
Yet, if you are interested in using MESH you are more than welcome contribute, I'd first start with cleaning up port internals and them try re-sync code with upstream
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Bluetooth Mesh atomic definitions conflict with NuttX [mynewt-nimble]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc closed issue #2305: Bluetooth Mesh atomic definitions conflict with NuttX
URL: https://github.com/apache/mynewt-nimble/issues/2305
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org