Giter VIP home page Giter VIP logo

powerlogger's People

Contributors

avaldebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

powerlogger's Issues

update STM32 platform

I had not worked on this project for some time and now the STM32f103c8/b environments fail to compile.
This is related to the old platform option

[env:STM32f103c8]
; 64 KB flash, RTC: 32768 Hz crystal; display: UC1701 128x64 on SPI2; tact button PA0
platform = ststm32@<=4.5.0
debug_tool = stlink
board = bluepill_f103c8

This version of the platform refers to the Arduino STM32 core by Roger Clark.
Newer versions of the core refer to the STM32duino by ST.

If I remember correctly, I took that version to prevent this issue platformio/platform-ststm32#231.
From the comments, this issue might be avoided by setting board = genericSTM32F103C8.

Using the stm32duino core requires the stm32duino/STM32duino RTC library.

Compile error

Hi,
thanks for your work.
I was trying to compile your project, but it fails for all the platforms. The first "issue" was about the ambiguity of the dependencies, so I had fix it specifying the full ID of each library, accordingly to your readme:

  sv-zanshin/INA2xx
  greiman/SdFat
  rlogiacco/CircularBuffer
  mathertel/OneButton
  adafruit/RTClib
  olikraus/U8g2

Then I had commented libdeps_dir = ~/.platformio/lib since I don't want to pollute the environment. Then I just type pio run (default env is ATmega328p) and I got:

Building in release mode
Compiling .pio\build\ATmega328p\src\main.cpp.o
Compiling .pio\build\ATmega328p\lib691\Wire\Wire.cpp.o
Compiling .pio\build\ATmega328p\lib691\Wire\utility\twi.c.o
avr-g++: fatal error: no input files
compilation terminated.
Compiling .pio\build\ATmega328p\lib737\INA2xx\INA.cpp.o
Compiling .pio\build\ATmega328p\lib9a6\SPI\SPI.cpp.o
avr-g++: fatal error: no input files
compilation terminated.
avr-gcc: fatal error: no input files
compilation terminated.
Compiling .pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatDbg.cpp.o
Compiling .pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatFile.cpp.o
*** [.pio\build\ATmega328p\src\main.cpp.o] Error 1
Compiling .pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatFilePrint.cpp.o
*** [.pio\build\ATmega328p\lib691\Wire\Wire.cpp.o] Error 1
avr-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\ATmega328p\lib691\Wire\utility\twi.c.o] Error 1
*** [.pio\build\ATmega328p\lib737\INA2xx\INA.cpp.o] Error 1
avr-g++: fatal error: no input files
compilation terminated.
avr-g++: fatal error: no input files
compilation terminated.
avr-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatDbg.cpp.o] Error 1
*** [.pio\build\ATmega328p\lib9a6\SPI\SPI.cpp.o] Error 1
*** [.pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatFile.cpp.o] Error 1
avr-g++: fatal error: no input files
compilation terminated.
*** [.pio\build\ATmega328p\libf7e\SdFat\ExFatLib\ExFatFilePrint.cpp.o] Error 1

May you help me? Should I specify specific version of the libraries?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.