platformio / platformio-pkg-framework-arduinoavr Goto Github PK
View Code? Open in Web Editor NEWPlease forward all issues to https://github.com/platformio/platform-atmelavr
Please forward all issues to https://github.com/platformio/platform-atmelavr
Just a reminder; a new version of MightyCore is available.
Hi
Sorry for the bother but just came across this and couldnt figure out how to solve it.
Not sure if i've done something wrong or if its a bug but heres the terminal output when attempting to build a simple blink example:
`[01/19/17 22:57:25] Processing uno (platform: atmelavr, board: uno, framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
Collected 27 compatible libraries
Looking for dependencies...
Project does not have dependencies
Compiling .pioenvs\uno\src\main.o
Archiving .pioenvs\uno\libFrameworkArduinoVariant.a
Compiling .pioenvs\uno\FrameworkArduino\CDC.o
Compiling .pioenvs\uno\FrameworkArduino\HardwareSerial.o
Indexing .pioenvs\uno\libFrameworkArduinoVariant.a
In file included from src\main.cpp:7:0:
C:\users\cwpf69.platformio\packages\framework-arduinoavr\cores\arduino/Arduino.h:23:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
*** [.pioenvs\uno\src\main.o] Error 1
In file included from C:\users\cwpf69.platformio\packages\framework-arduinoavr\cores\arduino\CDC.cpp:19:0:
C:\users\cwpf69.platformio\packages\framework-arduinoavr\cores\arduino\USBAPI.h:23:22: fatal error: inttypes.h: No such file or directory
#include <inttypes.h>
^
compilation terminated.
C:\users\cwpf69.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial.cpp:25:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
*** [.pioenvs\uno\FrameworkArduino\CDC.o] Error 1
*** [.pioenvs\uno\FrameworkArduino\HardwareSerial.o] Error 1
[ERROR] Took 0.96 seconds`
After doing "platformio update" my code does not compile anymore.
It seems to be arduinoavr specific problem.
I get this error:
*** Multiple ways to build the same target were specified for: C:\development\microcontrollers\Arduino\experiments\LiveOV7670\src.pioenvs\nanoatmega328\FrameworkArduino\wiring_pulse.o (from ['C:\Users\indrek\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_pulse.S'] and from ['C:\Users\indrek\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_pulse.c'])
File "C:\python27\lib\site-packages\platformio\builder\tools\platformio.py", line 275, in BuildLibrary
platformio.ini looks like this:
[platformio]
src_dir = LiveOV7670
[env:nanoatmega328]
platform = atmelavr
framework = arduino
board = nanoatmega328
I initialized the project for CLion with
platformio init -d src --ide clion
(platformio.ini is in the "src" directory)
It worked before updating platformIO and my other project that uses STM32 still works
As added in 9-Nov-2018, owners of Controllino Mega now need to do a manual patch as described here):
CONTROLLINO-PLC/CONTROLLINO_Library@b86c8f4#diff-04c6e90faac2675aa89e2176d2eec7d8
in order to keep using platformio. To avoid the need to do this hack, I wonder if such changes (that are made into the mega/pins_arduino.h) could be integrated in the controllino mega variant file here:
Not sure on where to find this file online, it seems that this is generated by the Arduino IDE? I attach the one i have installed right now as a reference (changed extension to be able to upload it):
I'm not sure if pull requests are accepted in this repo, if so i can try it myself and test it with my Controllino Mega.
Hi!
I have the following platformio.ini file:
[env:MightyCore]
platform = atmelavr
framework = arduino
; TARGET SETTINGS
; PlatformIO requires the board parameter. Must match your actual hardware
board = ATmega1284P
The problem is that with this configuration I can't compile for anything else than the ATmega324PB, due to a silly bug. The problem is that SPI1.h is automatically included. I don't know why, but that's what's happening. It can easily be fixed by removing these lines of code. Here is a related issue as well.
I assume you prefer a new release of MightyCore with this bug fixed? Or can the PlatformIO build script be modified to not include the file?
The current version of ATTinyCore embedded here is 1.2.2, which is pretty old. As mentioned in platformio/platform-atmelavr#83, this should get updated to the latest version, 1.3.2.
See https://github.com/SpenceKonde/ATTinyCore/releases/tag/1.3.2 for details on the latest 1.3.2 release.
Hi I am the maintainer of Arduino-IRremote (originally written by Ken Shirriff) and I run into a lot of issues with automated CI and also just users in general as the library I maintain conflicts with RobotIRremote.
I have created an issue on the arduino/libraries repository but have not received any responses. I would like to make the request that the RobotIRremote library be removed as it is based on a very old fork of Arduino-IRremote and prevents newer releases from functioning due to similar file naming conventions.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.