digitalWrite8 and wiringPiSPIxSetup in .h but not in .c
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.3k
- Forks
- 1.3k
- Avg merge
- 16h 52m
- Merged PRs (30d)
- 3
Description
Hi,
There is 2 function i tried to use :
digitalWrite8 and wiringPiSPIxSetup which can be found in wiringPi.h & wiringPiSPI.h but for wiringPiSPIxSetup, it is not defined anywhere and digitalWrite8 is commented inside wiringPi.c
Resulting of :
RPI_SPI.cpp:(.text+0xbd): undefined reference to wiringPiSPIxSetup' RPI_SPI.cpp:(.text+0x3c7): undefined reference to digitalWrite8'
I don't know if there is an hidden reason for that or if i miss something.
Thanks in advance,
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Compare the declarations in wiringPi.h and wiringPiSPI.h with the implementation in wiringPi.c, noting that digitalWrite8 is commented out and wiringPiSPIxSetup has no definition. Start from the reported linker errors and determine whether these APIs are intentionally unavailable or missing; done means the intended functions are consistently declared and linkable, with the reason documented if they should remain unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100