Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dependency problem on AVR specific #include. #251

Open
Labels
arduino mocksCompilation mocks for the Arduino library enhancementNew feature or request not yetAwaits better environmental conditions some archsOnly affects some Arduino architectures
Milestone
@RobTillaart

Description

Hi,

am struggling with a library - https://github.com/RobTillaart/DS18B20_INT

The library needs the "OneWire: so I adapted .arduino-ci.yml

compile:
 # Choosing to run compilation tests on 2 different Arduino platforms
 platforms:
  - uno
  - leonardo
  - due
  - zero
 # Declaring Dependent Arduino Libraries (to be installed via the Arduino Library Manager)
 libraries:
  - "OneWire"
unittest:
 # These dependent libraries will be installed
 libraries:
  - "OneWire"
  - "util/crc16"  <<<<<<<<<<<<<<<<<<< does not work.

The example of the lib now compiles correctly, however the unit test fails on util/crc16.h which is used by the OneWire lib.
The path (on my PC) is ...\Arduino\hardware\tools\avr\avr\include\util\crc16.h but I do not know how to include it in the unit test.

It might be a feature that need to be solved in the future.

For now I will disable the unit test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arduino mocksCompilation mocks for the Arduino library enhancementNew feature or request not yetAwaits better environmental conditions some archsOnly affects some Arduino architectures

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /