esp-bsp icon indicating copy to clipboard operation
esp-bsp copied to clipboard

Added example for the DS18B20

Open pedrominatel opened this issue 1 year ago • 1 comments

ESP-BSP Pull Request checklist

Note: For new BSPs create a PR with this link.

  • [ ] Version of modified component bumped
  • [ ] CI passing

Change description

This PR adds a simple example of how to read the DS18B20. This example was used during a presentation to show how to use the components and BSP.

pedrominatel avatar Sep 23 '24 15:09 pedrominatel

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 23 '24 15:09 CLAassistant

LGTM!

To fix the build issue, I think you need to add a rule in .build-test-rules.yml to only build the example if the chip has RMT:

components/ds18b20:
  disable:
    - if: SOC_RMT_SUPPORTED != 1
      reason: Onewire component depends on RMT peripheral

and please clean up commit history before merging.

Can you kindly take a look, @tore-espressif? Many thanks!

pedrominatel avatar Sep 27 '24 08:09 pedrominatel