adafruit / adafruit/samd-peripherals

Remove remaining CircuitPython dependencies

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

`samd-external_interrupts.c`
`samd/samd21/dma.c`

The `hal_atomic.h` routines can be used to disable/enable interrupts. See the clock code for examples.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with samd-external_interrupts.c and samd/samd21/dma.c, then inspect the clock code for examples of hal_atomic.h interrupt handling. Identify the remaining CircuitPython dependencies in those files and replace them with the indicated interrupt routines; done means both files no longer depend on CircuitPython code.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.