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

Improve support for AXP192 #2104

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Improve support for AXP192 #2104

merged 3 commits into from
Aug 1, 2023

Conversation

pgrawehr
Copy link
Contributor

@pgrawehr pgrawehr commented Jul 16, 2023

Add support for all GPIO and LDO pins,
fix some inconsistent namings

Microsoft Reviewers: Open in CodeFlow

Add support for all GPIO and LDO pins,
fix some inconsistent namings
@ghost ghost added the area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio label Jul 16, 2023
Start from scratch, because baseline has changed
@Ellerbach
Copy link
Member

@pgrawehr
Copy link
Contributor Author

How far is the code now from this one?nanoframework/nanoFramework.IoT.Device@develop/devices/Axp192

There where only minor API changes, so where it was different it is still different. The main change was the addition of Read/Write of all GPIO ports, which was missing on the iot implementation before. The two implementations do have quite some differences, in particular nano uses properties for I/O, where Iot prefers Get/Set methods.

Very small binding at the moment, but can be extended later.
Sample will be provided when everything comes together
@joperezr
Copy link
Member

[Triage] @Ellerbach can you please take another look?

Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

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

All up, looks good. I would have prefer to have both the .NET nanoFramework and the .NET IoT implementations aligned to ease reusability but I'm fine with this for the moment. AXP192 is very niche on the CPU world anyway.

@pgrawehr pgrawehr merged commit 3ab2cad into dotnet:main Aug 1, 2023
@pgrawehr pgrawehr deleted the Axp192_Ext branch August 1, 2023 09:02
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants