TinyCircuits

Platformio support for TinyScreen+

Platformio support for TinyScreen+
« on: July 17, 2017, 06:21:35 PM »
Hi everyone.  I am having trouble uploading an Arduino sketch to the TinyScreen+ using platformio.  The upload is successful but the TinyScreen+ will not boot.  If I use the Arduino ide the upload and boot is just fine. 

I looked into the output of both the Arduino ide and platformio when uploading and everything is the same except for the size of the firmware.  The platformio .bin is bigger by 2 pages.  Does this matter also why the successfully upload but no boot when uploading using platformio?

Here is my platformio.ini:

Code: [Select]
[common_env_data]
lib_deps_builtin =
  TinyScreen
  Wire
lib_deps_external =
  https://github.com/cbolgiano/tinywatch/raw/develop/libs/Time-master.zip
  https://github.com/cbolgiano/tinywatch/raw/develop/libs/arduino-BLEPeripheral-master.zip
  https://github.com/cbolgiano/tinywatch/raw/develop/libs/tinywatch-time.zip

[env:tinyscreen+]
platform = atmelsam

board = mkrzero

framework = arduino

lib_deps =
  ${common_env_data.lib_deps_builtin}
  ${common_env_data.lib_deps_external}

Thank you

Re: Platformio support for TinyScreen+
« Reply #1 on: July 18, 2017, 09:33:11 PM »
I've had issues with finding any real documentation, on these forums or even project websites. I'm begininng to think this was a scam that some how made it.

I got a tiny arcade just a day ago and it just shut off and I can't get it back on or let alone arduino to detect the board is plugged in.

GL getting your info.

Re: Platformio support for TinyScreen+
« Reply #2 on: July 23, 2017, 05:46:52 PM »
This is an issue for me too. I've had many problems getting platformio working with the board. Any update?

Re: Platformio support for TinyScreen+
« Reply #3 on: July 30, 2017, 08:16:06 PM »
Nothing yet.  I am a little bummed for the lack of support but the Arduino CLI is a good alternative.  https ://playground.arduino.cc/Learning/CommandLine
« Last Edit: July 30, 2017, 08:17:46 PM by cbolgiano »

Re: Platformio support for TinyScreen+
« Reply #4 on: June 14, 2018, 02:59:43 PM »
Upvote for PlatformIO support. The Arduino IDE is painful to use as a project gets larger and needs to organize into subdirectories with lots of individual source code files. PlatformIO is a fantastic option, and it can *partially* work using the "mkrzero" board type in build options, but the pinouts are different, so things like I2C don't work properly when building with that board type.