Include *.Core classes/enumerations in the stubs for e.g. *.Esp32 - #127
Include *.Core classes/enumerations in the stubs for e.g. *.Esp32#127frobijn wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 馃 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@frobijn any plans to resume work on this? It was taking shape... 馃槄 |
|
|
Yes, but I don't yet know when. I'm currently working on a different project and that leaves me no time to work with microcontrollers and nanoFramework. I hope to finish that project this summer, then I'll pick up the work on CAN and a few other nF features I was working on. |
|
Hi @frobijn ! Glad to hear from you. Good luck with that other project. Looking forward to see you back in nano 馃槈 |



Description
This PR is about generating stubs for native code, not about the .NET code. If this is the correct approach, the PR can be merged into the can_vnext branch.
Nuspec and stub-generation.mddescription is updated with the approach in this PR.nanoFramework.Device.Can.Esp32as demonstrator.nanoFramework.Device.Can.Esp32.native.propstonanoFramework.Device.Can.Esp32with all relevant project settings, including the code files fromnanoFramework.Device.Can.Corethat should be included in the stub generationnanoFramework.Device.Can.Corecan be hidden from the stub generation. As an example, the code referring toCanControllerManageris excluded fromCanController.cs.Motivation and Context
See Discord discussion here.
How Has This Been Tested?
nanoFramework.Device.Cannamespace.nanoFramework.Device.Cannamespace as expected.Types of changes
Checklist: