GithubHelp home page GithubHelp logo

Comments (4)

pa-pa avatar pa-pa commented on August 27, 2024

Mit PlatformIO kenne ich mich nicht aus.
Was sind das denn für Fehler ?

from asksinpp.

jp112sdl avatar jp112sdl commented on August 27, 2024

Die OneWireSTM.h ist ja auch eigentlich direkt schon beim Boardsupport stm32duino mit drin.
./packages/stm32duino/hardware/STM32F1/2020.8.9/libraries/OneWireSTM/src/OneWireSTM.h

Das ist keine extra Lib, die eingebunden werden muss

from asksinpp.

elmarfaber avatar elmarfaber commented on August 27, 2024

Dann mache ich scheinbar etwas grundsätzliches falsch. Ich verwende die Platform ST STM32 und das Board genericSTM32F103C8.
Dabei fehlt die o.g. Library. Ich finde kein stm32duino Bordsupport bei meiner Installation. Wie gehe ich denn hierbei vor? Ich würde gerne weiterhin PlatformIO verwenden - ist einfach viel besser wie die Arduino Umgebung. Die Fehler die angezeigt werden sind sehr viele - so sehzen die ersten aus:
"message": "'PWM16' was not declared in this scope",
"message": "expected unqualified-id before '>' token",
"message": "'class as::InternalEncoder<as::DimmerDevice<as::AskSin<as::StatusLed<32>, as::NoBattery, as::Radio<as::LibSPI<42>, 46> >, as::DimmerChannel<as::AskSin<as::StatusLed<32>, as::NoBattery, as::Radio<as::LibSPI<42>, 46> >, 6>, 6, 3> >' has no member named 'peer'",
u.s.w.

from asksinpp.

elmarfaber avatar elmarfaber commented on August 27, 2024

So wenn ich in der platform.ini folgendes eintrage wird das Projekt compiliert:

OnewireSTM.h muss noch in onewire.h umbenannt werden

[env:genericSTM32F103C8]
platform = ststm32
board = genericSTM32F103C8
framework = arduino
board_build.core = maple
monitor_speed = 57600
lib_deps =
AskSinPP

from asksinpp.

Related Issues (20)

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.