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

Heltec CubeCell #74

Closed
fabltd opened this issue Dec 29, 2021 · 2 comments
Closed

Heltec CubeCell #74

fabltd opened this issue Dec 29, 2021 · 2 comments

Comments

@fabltd
Copy link

fabltd commented Dec 29, 2021

Hi

Current versions of the INA219 fail to complie with the Heltec CubeCell HTCC-AB01.

V1.0.7 will complie V 1.0.9 on fails with the following issue:

In file included from .pio\libdeps\cubecell_board_plus\Adafruit BusIO/Adafruit_BusIO_Register.h:10,
                 from .pio\libdeps\cubecell_board_plus\Adafruit INA219@1.0.9/Adafruit_INA219.h:21,
                 from src\main.cpp:3:
.pio\libdeps\cubecell_board_plus\Adafruit BusIO/Adafruit_SPIDevice.h:39:9: error: 'BitOrder' does not name a type       
   39 | typedef BitOrder BusIOBitOrder;
      |         ^~~~~~~~
.pio\libdeps\cubecell_board_plus\Adafruit BusIO/Adafruit_SPIDevice.h:69:22: error: 'BusIOBitOrder' has not been declared
   69 |                      BusIOBitOrder dataOrder = SPI_BITORDER_MSBFIRST,
      |                      ^~~~~~~~~~~~~
.pio\libdeps\cubecell_board_plus\Adafruit BusIO/Adafruit_SPIDevice.h:74:22: error: 'BusIOBitOrder' has not been declared
   74 |                      BusIOBitOrder dataOrder = SPI_BITORDER_MSBFIRST,
      |                      ^~~~~~~~~~~~~
.pio\libdeps\cubecell_board_plus\Adafruit BusIO/Adafruit_SPIDevice.h:95:3: error: 'BusIOBitOrder' does not name a type
   95 |   BusIOBitOrder _dataOrder;
      |   ^~~~~~~~~~~~~

Is there a change log? What is the difference between 1.07 and 1.09 onwards and is there a fix?

Thanks

@ladyada
Copy link
Member

ladyada commented Dec 29, 2021

heltec is using a non-standard chip, they need to add support for their chip and board support package to Adafruit_BusIO :) please contact them and direct to this thread so they can fix it. we don't own any heltec items so we cannot do it for them.

@ladyada ladyada transferred this issue from adafruit/Adafruit_INA219 Dec 29, 2021
@ladyada
Copy link
Member

ladyada commented Aug 1, 2022

@ladyada ladyada closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants