Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's start small and let ScratchMonkey show up in Arduino 1.6+ #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added IDE_Board_Manager/ScratchMonkey-2.0.1.zip
Binary file not shown.
4 changes: 4 additions & 0 deletions IDE_Board_Manager/latest/boards.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# See: http://code.google.com/p/arduino/wiki/Platforms
# http://playground.arduino.cc/Main/CustomizeArduinoIDE

# This file has to exist to make this a valid Arduino IDE 1.5 3rd party Hardware specification
9 changes: 9 additions & 0 deletions IDE_Board_Manager/latest/platform.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# Arduino AVR Core and platform.
# ------------------------------
# For more info:
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification
# http://playground.arduino.cc/Main/CustomizeArduinoIDE

name=ScratchMonkey
version=2.0.1
55 changes: 55 additions & 0 deletions IDE_Board_Manager/latest/programmers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# http://playground.arduino.cc/Main/CustomizeArduinoIDE

scratchmonkey.name=ScratchMonkey
scratchmonkey.communication=serial
scratchmonkey.protocol=scratchmonkey
scratchmonkey.speed=115200
scratchmonkey.program.protocol=scratchmonkey
scratchmonkey.program.speed=115200
scratchmonkey.program.tool=avrdude
scratchmonkey.program.extra_params=-P{serial.port} -b{program.speed}

scratchmonkey_hvsp.name=ScratchMonkey HVSP
scratchmonkey_hvsp.communication=serial
scratchmonkey_hvsp.protocol=scratchmonkey_hvsp
scratchmonkey_hvsp.speed=115200
scratchmonkey_hvsp.program.protocol=scratchmonkey_hvsp
scratchmonkey_hvsp.program.speed=115200
scratchmonkey_hvsp.program.tool=avrdude
scratchmonkey_hvsp.program.extra_params=-P{serial.port} -b{program.speed}

scratchmonkey_hvpp.name=ScratchMonkey HVPP
scratchmonkey_hvpp.communication=serial
scratchmonkey_hvpp.protocol=scratchmonkey_pp
scratchmonkey_hvpp.speed=115200
scratchmonkey_hvpp.program.protocol=scratchmonkey_hvpp
scratchmonkey_hvpp.program.speed=115200
scratchmonkey_hvpp.program.tool=avrdude
scratchmonkey_hvpp.program.extra_params=-P{serial.port} -b{program.speed}

scratchmonkey_stk500v2.name=ScratchMonkey (STK500 Mode)
scratchmonkey_stk500v2.communication=serial
scratchmonkey_stk500v2.protocol=stk500v2
scratchmonkey_stk500v2.speed=115200
scratchmonkey_stk500v2.program.protocol=stk500v2
scratchmonkey_stk500v2.program.speed=115200
scratchmonkey_stk500v2.program.tool=avrdude
scratchmonkey_stk500v2.program.extra_params=-P{serial.port} -b{program.speed}

scratchmonkey_stk500v2_hvsp.name=ScratchMonkey HVSP (STK500 Mode)
scratchmonkey_stk500v2_hvsp.communication=serial
scratchmonkey_stk500v2_hvsp.protocol=stk500hvsp
scratchmonkey_stk500v2_hvsp.speed=115200
scratchmonkey_stk500v2_hvsp.program.protocol=stk500hvsp
scratchmonkey_stk500v2_hvsp.program.speed=115200
scratchmonkey_stk500v2_hvsp.program.tool=avrdude
scratchmonkey_stk500v2_hvsp.program.extra_params=-P{serial.port} -b{program.speed}

scratchmonkey_stk500v2_hvpp.name=ScratchMonkey HVPP (STK500 Mode)
scratchmonkey_stk500v2_hvpp.communication=serial
scratchmonkey_stk500v2_hvpp.protocol=stk500pp
scratchmonkey_stk500v2_hvpp.speed=115200
scratchmonkey_stk500v2_hvpp.program.protocol=stk500pp
scratchmonkey_stk500v2_hvpp.program.speed=115200
scratchmonkey_stk500v2_hvpp.program.tool=avrdude
scratchmonkey_stk500v2_hvpp.program.extra_params=-P{serial.port} -b{program.speed}
31 changes: 31 additions & 0 deletions IDE_Board_Manager/package_microtherion_index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the documentation in https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.6.x-package_index.json-format-specification I understand that the index name is supposed to contain both the "Manufacturer" and the package name, so I guess package_microtherion.scratchmonkey_index.json.

"packages": [
{
"name": "microtherion",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be "scratchmonkey" ?

"maintainer": "Matthias Neeracher",
"websiteURL": "https://github.com/microtherion/ScratchMonkey",
"email": "[email protected]",
"help": {
"online": "https://microtherion.github.io/ScratchMonkey"
},
"platforms": [
{
"name": "microtherion",
"architecture": "avr",
"version": "2.0.1",
"category": "Contributed",
"url": "https://github.com/microtherion/ScratchMonkey/raw/master/IDE_Board_Manager/ScratchMonkey-2.0.1.zip",
"archiveFileName": "ScratchMonkey-2.0.1.zip",
"checksum": "",
"size": "",
"help": {
"online": "https://microtherion.github.io/ScratchMonkey"
},
"boards": [],
"toolsDependencies": []
}
],
"tools": []
}
]
}