Changeset 6390cc3 in avrstuff for chiptest/Makefile


Ignore:
Timestamp:
Sep 24, 2017, 7:39:05 PM (7 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
6c47e45
Parents:
9a9d5d0
git-author:
Adrien Destugues <pulkomandy@…> (24/09/2017 17:13:58)
git-committer:
Adrien Destugues <pulkomandy@…> (24/09/2017 19:39:05)
Message:

chiptest: Start to hack on ATmega128 and STK500 devboard.

  • Set the proper clock for it (generated by the STK500 master MCU, did

not get crystal working reliably yet)

  • Instead of just 'H', generate the whole alphabet for more action!
  • Use ATmega128 since that's what happens to be seated on my board for

now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chiptest/Makefile

    r9a9d5d0 r6390cc3  
     1# STK500
     2F_CPU=3800000
     3MCU=atmega128
     4
    15# K4KUSB
    2 F_CPU=12000000
     6#F_CPU=12000000
     7#MCU=attiny2313
    38
    49# muSerial
    510# F_CPU=20000000
     11#MCU=attiny2313
    612
    713# Common
    8 MCU=attiny2313
    914BAUD=9600
    1015
     
    1318include ../kbd/common.mk
    1419
    15 COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) \
    16         -I../libs/usart/
     20COMPILE = $(CC) -Wall -std=c99 $(CFLAGS) -I../libs/usart/
    1721
    1822VPATH=../libs/usart/
     
    2024#Rules
    2125
    22 blinkdel.bin: main.o usart.o
     26$(MCU).bin: main.o usart.o
    2327        $(COMPILE) $^ -o $@
    2428
     
    3337        $(COMPILE) -std=c99 -c $< -o $@
    3438
    35 flash:
    36         avrdude -c usbasp -p $(MCU) -Uflash:w:blinkdel.hex
    37 
Note: See TracChangeset for help on using the changeset viewer.