[BUG] RP23XX compile error due to undeclared GPIO_FUNC_NULL
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- c
- Domain
- embedded-iot
Research direction
Start in chip/rp23xx_adc.c around line 475 and compare the RP23XX and RP2040 GPIO function definitions. Reproduce the ADC-enabled RP23XX compilation error, then confirm the build succeeds using the macro defined for the RP23XX architecture.
Written by the indexing model from the issue text.
Description
Enabling the adc support under RP23XX arch boards is not possible due to the following compilation error:
chip/rp23xx_adc.c:475:44: error: 'GPIO_FUNC_NULL' undeclared (first use in this function); did you mean 'RP23XX_GPIO_FUNC_NULL'?
RP23XX arch defines RP23XX_GPIO_FUNC_NULL instead of GPIO_FUNC_NULL (defined for RP2040)
- Dominant language
- C
- Stars
- 4k
- Forks
- 1.7k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 241
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/nuttx
-
Arch: xtensa Area: Drivers OS: Linux Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Arch: all Area: Drivers OS: Linux Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Arch: all Area: Drivers OS: Linux Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·