diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-04 17:57:39 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-04 17:57:39 +0800 |
| commit | 1a4a6cb6d2aa2c8512e9637dc5dd95997321c444 (patch) | |
| tree | 7b6b9e514b48d64dd811b75c680c1268b532aec6 /_log/_site/arduino-uno/3v3.Makefile | |
| parent | 16fe66dd83cbffa18af31676a380660ebce4e827 (diff) | |
| download | www-1a4a6cb6d2aa2c8512e9637dc5dd95997321c444.tar.gz | |
Fix the search engine post.
Diffstat (limited to '_log/_site/arduino-uno/3v3.Makefile')
| -rw-r--r-- | _log/_site/arduino-uno/3v3.Makefile | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/_log/_site/arduino-uno/3v3.Makefile b/_log/_site/arduino-uno/3v3.Makefile deleted file mode 100644 index 4ca89d4..0000000 --- a/_log/_site/arduino-uno/3v3.Makefile +++ /dev/null @@ -1,46 +0,0 @@ -CC = avr-gcc -MCU = atmega328p -PORT = /dev/cuaU0 -TARGET = app - -SRC = main.c -OBJ = $(SRC:.c=.o) - -CFLAGS = -std=gnu99 -CFLAGS += -Os -CFLAGS += -Wall -CFLAGS += -mmcu=$(MCU) -CFLAGS += -DBAUD=57600 -CFLAGS += -DF_CPU=8000000UL -CFLAGS += -ffunction-sections -fdata-sections - -LDFLAGS = -mmcu=$(MCU) -LDFLAGS += -Wl,--gc-sections - -HEX_FLAGS = -O ihex -HEX_FLAGS += -j .text -j .data - -AVRDUDE_FLAGS = -p $(MCU) -AVRDUDE_FLAGS += -c arduino -AVRDUDE_FLAGS += -b 57600 -AVRDUDE_FLAGS += -P $(PORT) -AVRDUDE_FLAGS += -D -U - -%.o: %.c - $(CC) $(CFLAGS) -c -o $@ $< - -elf: $(OBJ) - $(CC) $(LDFLAGS) $(OBJ) -o $(TARGET).elf - -hex: elf - avr-objcopy $(HEX_FLAGS) $(TARGET).elf $(TARGET).hex - -upload: hex - avrdude $(AVRDUDE_FLAGS) flash:w:$(TARGET).hex:i - -.PHONY: clean - -clean: - rm -f *.o *.elf *.hex - - |
