Skip to content

Conversation

@cederom
Copy link
Contributor

@cederom cederom commented Nov 29, 2025

Summary

PR delivered by kerogit over mailing list.

TC74 Tiny Serial Digital Thermal Sensor from Microchip is added to AVR Dx BreadBoard + board Documentation update.

Depends-on: #17403, #17404, #17404, #17405

Impact

boards/avr/avrdx/breadxavr: Added support for TC74 thermal sensor.

Testing

The driver was tested on AVR128DA28 chip using simple application that read the temperature from it and also switched it to/from standby state.

nsh> tc74_test
tc74_test [4:100]
nsh> Starting TC74 test
Temperature read: 23
Temperature read: 23

This patch silences a warning caused by unconditionally declared
variable which is only used with specific configuration.

Also, if the initialization fails, panic instead of returning.
(This should not happen since the code runs in initialization
phase but silently returning is not the correct action.)

Signed-off-by: Kerogit <[email protected]>
@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Board: avr Size: S The size of the change in this PR is small labels Nov 29, 2025
This patch adds the option to connect TC74Ax thermal sensor
to AVR Dx chip connected to a breadboard for development purposes.

If enabled - which can only be done with I2C support and the driver
enabled - it registers sensor's driver for use.

Signed-off-by: Kerogit <[email protected]>
@cederom
Copy link
Contributor Author

cederom commented Nov 29, 2025

Documentation build fails because this PR depends on other PR that adds the temp sensor. It can be reconsidered when #17405 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Board: avr Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants