drivers: add driver for MAX31865 resistance-to-digital converter#21498
drivers: add driver for MAX31865 resistance-to-digital converter#21498gschorcht merged 4 commits intoRIOT-OS:masterfrom
Conversation
crasbe
left a comment
There was a problem hiding this comment.
Thank you for this driver, the code looks quite good already. I have some small remarks and there are some static errors you could take a look at (either by running make static-test or in the Files tab here https://github.com/RIOT-OS/RIOT/pull/21498/files ).
I'll have to give it a more thorough look later (as in "a couple of days"), it's quite a chunk of code 😅
c5d3e58 to
d6f4085
Compare
crasbe
left a comment
There was a problem hiding this comment.
Some minor styling comments only.
d6f4085 to
54e2ec7
Compare
crasbe
left a comment
There was a problem hiding this comment.
This is what I had in mind 😅
54e2ec7 to
6346a30
Compare
|
@dpproto May I ask you again to use Please refer Add fixup commits during review and Squash commits after review. |
Sorry for the mess, and thanks for the link. I realize now that I should not use the |
Should I make 1 commit for every conversation on GitHub? |
No, you can bundle multiple changes as one fixup for the same commit. |
6bf88c1 to
1938d5a
Compare
OK, it was easier than I thought 😄. I just submitted a fixup commit to fix some uncrustify warnings. |
Please squash. |
8a0f189 to
f776910
Compare
|
The test application needs a |
Oops, I read and pushed too fast; I made a simple copy of |
|
|
Another tool is cosy |
|
You could also use target but this will compile the application for all boards which takes a long time. I would start with the boards defined in |
|
@dpproto Please squash. |
I compile the test app for the Seeed Studio Xiao ESP32C3 board like this: When I run |
Implement the driver for the MAX31865 RTD-to-digital converter.
c31e4f8 to
49cb1a4
Compare
Don't worry about that, these debugging data are not part of the generated bin that is finally flashed. When you use |
OK, done. |
Contribution description
Implement a new driver for the MAX31865 resistance-to-digital converter, optimized for RTDs such as Pt100 or Pt1000 platinum thermistors, with an SPI interface.
Testing procedure
Output of the test application in both plain and SAUL modes at room temperature:
Issues/PRs references
Fixes #21362