Skip to content

Instantly share code, notes, and snippets.

@grassjelly
Last active June 27, 2018 05:10
Show Gist options
  • Save grassjelly/347933f56e9b6c899b05852a0121cddd to your computer and use it in GitHub Desktop.
Save grassjelly/347933f56e9b6c899b05852a0121cddd to your computer and use it in GitHub Desktop.
; [env:teensy31]
; platform = teensy
; framework = arduino
; board = teensy31
;[env:promini]
;platform = atmelavr
;framework = arduino
;board = pro16MHzatmega328
[env:uno]
platform = atmelavr
framework = arduino
board = uno
; [env:mega]
; platform = atmelavr
; framework = arduino
; board = megaatmega2560
;[env:nodemcuv2]
;platform = espressif8266
;framework = arduino
;board = nodemcuv2
;[env:nano]
;platform = atmelavr
;framework = arduino
;board = nanoatmega328
upload_port = /dev/ttyACM0
# targets = upload
#
@lagankapoor1
Copy link

lagankapoor1 commented Feb 5, 2018

i have error while i use this for my Arduino Uno
ERROR

Linking .pioenvs/uno/firmware.elf
/tmp/ccSIwwZk.ltrans0.ltrans.o: In function main': ccSIwwZk.ltrans0.o:(.text.startup+0x86): undefined reference to setup'
ccSIwwZk.ltrans0.o:(.text.startup+0x8e): undefined reference to `loop'
collect2: error: ld returned 1 exit status
*** [.pioenvs/uno/firmware.elf] Error 1

And while installing platformio
i get this error
lagan@ROBOT:~/ros_catkin_ws/src$ sudo pip install -U platformio

The directory '/home/lagan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/lagan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment