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

Add System.Devices.Dac #1396

Merged
merged 30 commits into from
Jul 9, 2019
Merged

Add System.Devices.Dac #1396

merged 30 commits into from
Jul 9, 2019

Conversation

josesimoes
Copy link
Member

No description provided.

networkfusion and others added 29 commits June 28, 2019 16:33
github.com/nanoframework/ChibiOS/tree/master/testhal/STM32/multi/DAC
can be used as a sample if it helps someone...
- Rework code to move vars declaration to the top of the functions.
- Update declaration of native assembly.
- Tweak headers inclusion.
- Fix comment on include guards.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
Signed-off-by: José Simões <jose.simoes@eclo.solutions>
Signed-off-by: José Simões <jose.simoes@eclo.solutions>
Signed-off-by: José Simões <jose.simoes@eclo.solutions>
Signed-off-by: José Simões <jose.simoes@eclo.solutions>
- Update assembly declaration.
- Implement NativeDispose for DacChannel.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
- Correct function and struct names.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
- Need to save driver and channel number.
- Need to add PAL DAC structure to persist DAC configuration struct.
- Add DAC config on all reference targets.
- Update halconf for DAC on all reference targets.
- Update mcuconf for DAC on all reference targets that support it.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
- Replace samples buffer to output DAC value with call to dacPutChannelX

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
@josesimoes josesimoes added Series: STM32xx Everything related specifically with STM32 targets Series: ESP32 Everything related specifically with ESP32 series targets Area: Common libs Everything related with common libraries labels Jul 9, 2019
@nfbot
Copy link
Member

nfbot commented Jul 9, 2019

Hi @josesimoes,

I'm nanoFramework bot.
Thank you for your contribution!

A human will be reviewing it shortly. 😉

@josesimoes josesimoes merged commit 6f661c4 into develop Jul 9, 2019
@networkfusion networkfusion deleted the develop-dac branch November 20, 2020 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Common libs Everything related with common libraries Series: ESP32 Everything related specifically with ESP32 series targets Series: STM32xx Everything related specifically with STM32 targets Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants