<commit_before>PROJECTNAME = blinkcube
DEVICE = attiny85
PROGRAMMER = usbtiny
F_CPU = 16000000
CXX = avr-g++
AVROBJCOPY = avr-objcopy
FILES = main.c ANA_COMP.S

TARGET = $(PROJECTNAME).hex

CFLAGS = -Wall -Os -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) $(FILES)
OBJFLAGS = -O ihex -R .eeprom $(PROJECTNAME).obj $(TARGET)
AVRFLAGS = -p $(DEVICE) -c 


all:	$(TARGET)

flash:	$(TARGET)
	avrdude -p $(DEVICE) -c $(PROGRAMMER) -U flash:w:$(TARGET)

clean:
	rm -f *.0 *.hex *.obj

blinkcube.hex: blinkcube.obj
	$(AVROBJCOPY) $(OBJFLAGS)

blinkcube.obj: $(FILES)
	$(CXX) -o $(PROJECTNAME).obj $(CFLAGS)
<commit_msg>Updated project name and added make fuse command<commit_after>PROJECTNAME = shinewave
DEVICE = attiny85
PROGRAMMER = usbtiny
F_CPU = 16000000
CXX = avr-g++
AVROBJCOPY = avr-objcopy
FILES = main.c ANA_COMP.S

TARGET = $(PROJECTNAME).hex

CFLAGS = -Wall -Os -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) $(FILES)
OBJFLAGS = -O ihex -R .eeprom $(PROJECTNAME).obj $(TARGET)
AVRFLAGS = -p $(DEVICE) -c $(PROGRAMMER)

EFUSE = 0xFF
HFUSE = 0xDF
LFuse = 0xD1

all:	$(TARGET)

flash:	$(TARGET)
	avrdude $(AVRFLAGS) -U flash:w:$(TARGET)

clean:
	rm -f *.0 *.hex *.obj

fuse:
	avrdude $(AVRFLAGS) -U efuse:w:$(EFUSE):m -U hfuse:w:$(HFUSE):m -U lfuse:w:$(LFUSE):m

shinewave.hex: blinkcube.obj
	$(AVROBJCOPY) $(OBJFLAGS)

shinewave.obj: $(FILES)
	$(CXX) -o $(PROJECTNAME).obj $(CFLAGS)

{'fraction_non_alphanumeric': 0.17954378219278883, 'fraction_numerical': 0.01913171449595291, 'mean_word_length': 4.44, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1574146', 'n_tokens_mistral': 644, 'n_tokens_neox': 578, 'n_words': 142}