Adafruit Trinket Support

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
Benj
Matrix Staff
Posts: 14676
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4660 times
Been thanked: 4286 times
Contact:

Adafruit Trinket Support

Postby Benj » Fri Nov 07, 2014 12:13 pm

Hello,

I have just received an Adafruit Trinket device to test and have managed to integrate it into the Flowcode environment.

The first thing you need to do is download the programming batch file and copy it here: "C:\Program Files (x86)\Flowcode 6\compilers\avr\batchfiles"

avrc_usbtiny.bat
(1.56 KiB) Downloaded 111 times


Next you need to download the definition file and place it here: "C:\Program Files (x86)\Flowcode 6\FCD\AVR"

Arduino Trinket.fcdx
(14.48 KiB) Downloaded 110 times


Restart Flowcode and the Trinket device should appear in the Arduino list of devices.

Any problems let me know.
These users thanked the author Benj for the post:
STibor (Mon Nov 10, 2014 6:03 pm)
Rating: 5%
 

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Adafruit Trinket Support

Postby saschech@gmx.de » Fri Nov 07, 2014 1:19 pm

Hello Benj

I have the same error if i want compile... ( as with pic24EP...)
Have my PC = win8.1 pro Probleme with the *.Batch file?

Regards wolfgang

[list=]Target folder: E:\Flowcode\V6\trinket\trinket1
Source name: E:\Flowcode\V6\trinket\trinket1\trinket1.fcfx
Title:
Description:
Device: AVR.ATTINY.ATTINY85
Generated by: Flowcode v6.1.0.0
Date: Friday, November 07, 2014 13:13:05
Users: 0
Registered to: 85531842
Licence key: VYQZ1Y
NOT FOR COMMERCIAL USE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\avr\batchfiles\avra.bat attiny85 "E:\Flowcode\V6\trinket\trinket1\trinket1.elf" "E:\Flowcode\V6\trinket\trinket1\trinket1.c" "E:\Flowcode\V6\trinket\trinket1\trinket1.lst"
Launching compiler...
Der Befehl "C:\PROGRA~2\Flowcode" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Completed compilation, return = 1

C:\Program Files (x86)\Flowcode 6\compilers\avr\batchfiles\avra.bat reported error code 1


FINISHED
[/list]

User avatar
Benj
Matrix Staff
Posts: 14676
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4660 times
Been thanked: 4286 times
Contact:

Re: Adafruit Trinket Support

Postby Benj » Fri Nov 07, 2014 1:24 pm

Hello Wolfgang,

It seems you might have short path names disabled don't think its in any way related to the batch file.
http://stackoverflow.com/questions/1847 ... -on-system