mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 09:01:57 +00:00
Add a real README, convert the device getter to DEVICE_DT_GET_ANY, and enable assertions to make debugging easier on new users. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _tmp112_sample: TMP112 sample ############# Overview ******** A sample showing how to use the :dtcompatible:`ti,tmp112` sensor. Requirements ************ A board with this sensor built in to its :ref:`devicetree <dt-guide>`, or a devicetree overlay with such a node added. Building and Running ******************** To build and flash the sample for the :ref:`frdm_k64f`: .. zephyr-app-commands:: :zephyr-app: samples/sensor/tmp112 :board: frdm_k64f :goals: build flash :compact: