Skip to content

Commit 65597f5

Browse files
authored
Merge pull request #38 from sparkfun/SerLCD-v2
Add support for SerLCD in AVR boards
2 parents 4fe9fed + 6363dc5 commit 65597f5

File tree

5 files changed

+117
-3
lines changed

5 files changed

+117
-3
lines changed

IDE_Board_Manager/package_sparkfun_index.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,58 @@
297297
],
298298
"toolsDependencies": []
299299
},
300+
{
301+
"name": "SparkFun AVR Boards",
302+
"architecture": "avr",
303+
"version": "1.1.11",
304+
"category": "Contributed",
305+
"url": "https://github.com/sparkfun/Arduino_Boards/raw/master/IDE_Board_Manager/sparkfunboards.1.1.11.tar.bz2",
306+
"archiveFileName": "sparkfunboards.1.1.11.tar.bz2",
307+
"checksum": "SHA-256:D460E54875BD493360671AA7C0B073F7AC066F24C825D1149D13ADC19A00FB3D",
308+
"size": "1239356",
309+
"help": {
310+
"online": "https://forums.sparkfun.com"
311+
},
312+
"boards": [
313+
{
314+
"name": "RedBoard"
315+
},
316+
{
317+
"name": "MaKey MaKey"
318+
},
319+
{
320+
"name": "Pro Micro"
321+
},
322+
{
323+
"name": "Fio v3"
324+
},
325+
{
326+
"name": "Qduino Mini"
327+
},
328+
{
329+
"name": "Digital Sandbox"
330+
},
331+
{
332+
"name": "Mega Pro"
333+
},
334+
{
335+
"name": "RedBot"
336+
},
337+
{
338+
"name": "Serial 7-segment Display"
339+
},
340+
{
341+
"name": "ATmega128RFA1 Dev Board"
342+
},
343+
{
344+
"name": "LilyPad USB Plus"
345+
},
346+
{
347+
"name": "SerLCD"
348+
}
349+
],
350+
"toolsDependencies": []
351+
},
300352
{
301353
"name": "SparkFun SAMD Boards (dependency: Arduino SAMD Boards 1.6.5)",
302354
"architecture": "samd",
1.18 MB
Binary file not shown.

sparkfun/avr/boards.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,3 +380,29 @@ LilyPadProtoUSB.build.board=AVR_LILYPAD_ARDUINO_USB_PLUS_BOARD
380380
LilyPadProtoUSB.build.core=arduino:arduino
381381
LilyPadProtoUSB.build.variant=lilypadusbplus
382382
LilyPadProtoUSB.build.extra_flags={build.usb_flags}
383+
384+
385+
################################################################################
386+
################################### SerLCD #####################################
387+
################################################################################
388+
SerLCD.name=SparkFun SerLCD
389+
390+
SerLCD.upload.tool=avrdude
391+
SerLCD.upload.protocol=arduino
392+
SerLCD.upload.maximum_size=32256
393+
SerLCD.upload.maximum_data_size=2048
394+
SerLCD.upload.speed=115200
395+
396+
SerLCD.bootloader.tool=avrdude
397+
SerLCD.bootloader.low_fuses=0xFF
398+
SerLCD.bootloader.high_fuses=0xDE
399+
SerLCD.bootloader.extended_fuses=0xFD
400+
SerLCD.bootloader.unlock_bits=0x3F
401+
SerLCD.bootloader.lock_bits=0x0F
402+
SerLCD.bootloader.file=optiboot/optiboot_SerLCD.hex
403+
404+
SerLCD.build.mcu=atmega328p
405+
SerLCD.build.f_cpu=11059200L
406+
SerLCD.build.board=AVR_UNO
407+
SerLCD.build.core=arduino:arduino
408+
SerLCD.build.variant=arduino:standard

sparkfun/avr/bootloaders/optiboot/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ PROGRAM = optiboot
2424
# Arduino user IDE setup, or the Arduino source tree.
2525
# Uncomment this next lines to build within the arduino environment,
2626
# using the arduino-included avrgcc toolset (mac and pc)
27-
# ENV ?= arduino
27+
ENV ?= arduino
2828
# ENV ?= arduinodev
2929
# OS ?= macosx
30-
# OS ?= windows
30+
OS ?= windows
3131

3232

3333
# enter the parameters for the avrdude isp tool
@@ -53,6 +53,7 @@ ifeq ($(ENV), arduino)
5353
TOOLROOT = ../../../tools
5454
GCCROOT = $(TOOLROOT)/avr/bin/
5555
AVRDUDE_CONF = -C$(TOOLROOT)/avr/etc/avrdude.conf
56+
endif
5657

5758
ifeq ($(OS), windows)
5859
# On windows, SOME of the tool paths will need to have backslashes instead
@@ -63,7 +64,7 @@ fixpath = $(subst /,\,$1)
6364
SHELL = cmd.exe
6465
endif
6566

66-
else ifeq ($(ENV), arduinodev)
67+
ifeq ($(ENV), arduinodev)
6768
# Arduino IDE source code environment. Use the unpacked compilers created
6869
# by the build (you'll need to do "ant build" first.)
6970
ifeq ($(OS), macosx)
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
:107E0000112484B714BE81FFF0D085E080938100F7
2+
:107E100082E08093C00088E18093C10086E0809377
3+
:107E2000C2008BE08093C4008EE0C9D0259A86E022
4+
:107E30002DE53DEF91E0309385002093840096BBC3
5+
:107E4000B09BFECF1D9AA8958150A9F7CC24DD24C4
6+
:107E500088248394B5E0AB2EA1E19A2EF3E0BF2EE7
7+
:107E6000A2D0813461F49FD0082FAFD0023811F036
8+
:107E7000013811F484E001C083E08DD089C08234E0
9+
:107E800011F484E103C0853419F485E0A6D080C0E4
10+
:107E9000853579F488D0E82EFF2485D0082F10E0AE
11+
:107EA000102F00270E291F29000F111F8ED06801E7
12+
:107EB0006FC0863521F484E090D080E0DECF843638
13+
:107EC00009F040C070D06FD0082F6DD080E0C81688
14+
:107ED00080E7D80618F4F601B7BEE895C0E0D1E017
15+
:107EE00062D089930C17E1F7F0E0CF16F0E7DF06D8
16+
:107EF00018F0F601B7BEE89568D007B600FCFDCFD4
17+
:107F0000A601A0E0B1E02C9130E011968C91119780
18+
:107F100090E0982F8827822B932B1296FA010C0160
19+
:107F200087BEE89511244E5F5F4FF1E0A038BF0790
20+
:107F300051F7F601A7BEE89507B600FCFDCF97BE46
21+
:107F4000E89526C08437B1F42ED02DD0F82E2BD052
22+
:107F50003CD0F601EF2C8F010F5F1F4F84911BD097
23+
:107F6000EA94F801C1F70894C11CD11CFA94CF0C13
24+
:107F7000D11C0EC0853739F428D08EE10CD085E9AC
25+
:107F80000AD08FE07ACF813511F488E018D01DD067
26+
:107F900080E101D065CF982F8091C00085FFFCCF94
27+
:107FA0009093C60008958091C00087FFFCCF809118
28+
:107FB000C00084FD01C0A8958091C6000895E0E648
29+
:107FC000F0E098E1908380830895EDDF803219F02E
30+
:107FD00088E0F5DFFFCF84E1DECF1F93182FE3DFCA
31+
:107FE0001150E9F7F2DF1F91089580E0E8DFEE27F6
32+
:047FF000FF270994CA
33+
:027FFE00040479
34+
:0400000300007E007B
35+
:00000001FF

0 commit comments

Comments
 (0)