Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Examples,MiscDrivers): Add ADT7320 Temperature Sensor Driver and Example for MAX32665 #860

Merged
merged 6 commits into from
Jan 15, 2024

Conversation

ersahatmacaa
Copy link
Contributor

Description

Implemented a new temperature monitoring example project for the MAX32665, which operates with the ADT7320 SPI temperature sensor. The example project located under Examples\MAX32665 and, the sensor drivers under Libraries\MiscDrivers\TempSensor directory.

ADT7320 example added to the examples.
@github-actions github-actions bot added MAX32665 Related to the MAX32665 (ME14) labels Jan 9, 2024
Copy link
Contributor

@Jake-Carter Jake-Carter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ersahatmacaa, looks good. A few minor change requests below related to the build system.

Also, FYI the include paths were missing for the TempSensor folder.

image

I have not done a good job of documenting this yet, but the way you can fix this is by adding the folder to the library's libinfo.json file, and then running MSDKGen.

I updated libinfo here: 8d8118b
and then ran MSDKGen on the project: 32ce059

I'll add some better documentation on the libinfo.json files in our contributing guidelines in the future.

Examples/MAX32665/ADT7320_TempMonitor/main.c Outdated Show resolved Hide resolved
Libraries/Boards/MAX32665/EvKit_129B/board.mk Outdated Show resolved Hide resolved
Libraries/Boards/MAX32665/EvKit_V1/board.mk Outdated Show resolved Hide resolved
Moved adt7320 drivers from Libraries/Boards/MAX32665/xx/board.mk to project.mk.
Examples/MAX32665/ADT7320_TempMonitor/README.md Outdated Show resolved Hide resolved
Examples/MAX32665/ADT7320_TempMonitor/main.c Outdated Show resolved Hide resolved
Libraries/MiscDrivers/TempSensor/adt7320_driver.h Outdated Show resolved Hide resolved
Libraries/MiscDrivers/TempSensor/adt7320_driver.c Outdated Show resolved Hide resolved
Typo on ReadMe.md fixed
Copy link
Contributor

@Jake-Carter Jake-Carter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ersahatmacaa, nice work!

@Jake-Carter Jake-Carter merged commit 7dd035e into main Jan 15, 2024
10 checks passed
@Jake-Carter Jake-Carter deleted the add_adt7320_example branch January 15, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32665 Related to the MAX32665 (ME14)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants