master
Ondřej Hruška 2 years ago
commit 7f087ae854
  1. 2
      .gitignore
  2. 95
      Makefile
  3. 5
      lib/libssd1306/README.txt
  4. 15
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c.d
  5. BIN
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c.o
  6. 16
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c_embedded.d
  7. BIN
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c_embedded.o
  8. 16
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c_twi.d
  9. BIN
      lib/libssd1306/bld/intf/i2c/ssd1306_i2c_twi.o
  10. 15
      lib/libssd1306/bld/intf/spi/ssd1306_spi.d
  11. BIN
      lib/libssd1306/bld/intf/spi/ssd1306_spi.o
  12. 15
      lib/libssd1306/bld/intf/spi/ssd1306_spi_avr.d
  13. BIN
      lib/libssd1306/bld/intf/spi/ssd1306_spi_avr.o
  14. 15
      lib/libssd1306/bld/intf/spi/ssd1306_spi_usi.d
  15. BIN
      lib/libssd1306/bld/intf/spi/ssd1306_spi_usi.o
  16. 14
      lib/libssd1306/bld/intf/ssd1306_interface.d
  17. BIN
      lib/libssd1306/bld/intf/ssd1306_interface.o
  18. 14
      lib/libssd1306/bld/intf/uart/ssd1306_uart_builtin.d
  19. BIN
      lib/libssd1306/bld/intf/uart/ssd1306_uart_builtin.o
  20. 14
      lib/libssd1306/bld/intf/vga/atmega328p/vga128x64.d
  21. BIN
      lib/libssd1306/bld/intf/vga/atmega328p/vga128x64.o
  22. 14
      lib/libssd1306/bld/intf/vga/atmega328p/vga96x40.d
  23. BIN
      lib/libssd1306/bld/intf/vga/atmega328p/vga96x40.o
  24. 14
      lib/libssd1306/bld/intf/vga/esp32/CompositeOutput.d
  25. BIN
      lib/libssd1306/bld/intf/vga/esp32/CompositeOutput.o
  26. 14
      lib/libssd1306/bld/intf/vga/esp32/vga128x64.d
  27. BIN
      lib/libssd1306/bld/intf/vga/esp32/vga128x64.o
  28. 13
      lib/libssd1306/bld/intf/vga/vga.d
  29. BIN
      lib/libssd1306/bld/intf/vga/vga.o
  30. 14
      lib/libssd1306/bld/lcd/lcd_common.d
  31. BIN
      lib/libssd1306/bld/lcd/lcd_common.o
  32. 15
      lib/libssd1306/bld/lcd/lcd_il9163.d
  33. BIN
      lib/libssd1306/bld/lcd/lcd_il9163.o
  34. 15
      lib/libssd1306/bld/lcd/lcd_ili9341.d
  35. BIN
      lib/libssd1306/bld/lcd/lcd_ili9341.o
  36. 14
      lib/libssd1306/bld/lcd/lcd_pcd8544.d
  37. BIN
      lib/libssd1306/bld/lcd/lcd_pcd8544.o
  38. 16
      lib/libssd1306/bld/lcd/oled_sh1106.d
  39. BIN
      lib/libssd1306/bld/lcd/oled_sh1106.o
  40. 16
      lib/libssd1306/bld/lcd/oled_ssd1306.d
  41. BIN
      lib/libssd1306/bld/lcd/oled_ssd1306.o
  42. 14
      lib/libssd1306/bld/lcd/oled_ssd1325.d
  43. BIN
      lib/libssd1306/bld/lcd/oled_ssd1325.o
  44. 14
      lib/libssd1306/bld/lcd/oled_ssd1327.d
  45. BIN
      lib/libssd1306/bld/lcd/oled_ssd1327.o
  46. 15
      lib/libssd1306/bld/lcd/oled_ssd1331.d
  47. BIN
      lib/libssd1306/bld/lcd/oled_ssd1331.o
  48. 15
      lib/libssd1306/bld/lcd/oled_ssd1351.d
  49. BIN
      lib/libssd1306/bld/lcd/oled_ssd1351.o
  50. 14
      lib/libssd1306/bld/lcd/oled_template.d
  51. BIN
      lib/libssd1306/bld/lcd/oled_template.o
  52. 14
      lib/libssd1306/bld/lcd/vga_monitor.d
  53. BIN
      lib/libssd1306/bld/lcd/vga_monitor.o
  54. BIN
      lib/libssd1306/bld/libssd1306.a
  55. 21
      lib/libssd1306/bld/nano_engine/canvas.d
  56. BIN
      lib/libssd1306/bld/nano_engine/canvas.o
  57. 17
      lib/libssd1306/bld/nano_engine/core.d
  58. BIN
      lib/libssd1306/bld/nano_engine/core.o
  59. 18
      lib/libssd1306/bld/nano_gfx.d
  60. BIN
      lib/libssd1306/bld/nano_gfx.o
  61. 19
      lib/libssd1306/bld/sprite_pool.d
  62. BIN
      lib/libssd1306/bld/sprite_pool.o
  63. 14
      lib/libssd1306/bld/ssd1306_16bit.d
  64. BIN
      lib/libssd1306/bld/ssd1306_16bit.o
  65. 21
      lib/libssd1306/bld/ssd1306_1bit.d
  66. BIN
      lib/libssd1306/bld/ssd1306_1bit.o
  67. 15
      lib/libssd1306/bld/ssd1306_8bit.d
  68. BIN
      lib/libssd1306/bld/ssd1306_8bit.o
  69. 20
      lib/libssd1306/bld/ssd1306_console.d
  70. BIN
      lib/libssd1306/bld/ssd1306_console.o
  71. 13
      lib/libssd1306/bld/ssd1306_fonts.d
  72. BIN
      lib/libssd1306/bld/ssd1306_fonts.o
  73. 21
      lib/libssd1306/bld/ssd1306_generic.d
  74. BIN
      lib/libssd1306/bld/ssd1306_generic.o
  75. 16
      lib/libssd1306/bld/ssd1306_hal/arduino/platform.d
  76. BIN
      lib/libssd1306/bld/ssd1306_hal/arduino/platform.o
  77. 13
      lib/libssd1306/bld/ssd1306_hal/avr/platform.d
  78. BIN
      lib/libssd1306/bld/ssd1306_hal/avr/platform.o
  79. 13
      lib/libssd1306/bld/ssd1306_hal/energia/platform.d
  80. BIN
      lib/libssd1306/bld/ssd1306_hal/energia/platform.o
  81. 1
      lib/libssd1306/bld/ssd1306_hal/linux/platform.d
  82. BIN
      lib/libssd1306/bld/ssd1306_hal/linux/platform.o
  83. 1
      lib/libssd1306/bld/ssd1306_hal/mingw/platform.d
  84. BIN
      lib/libssd1306/bld/ssd1306_hal/mingw/platform.o
  85. 13
      lib/libssd1306/bld/ssd1306_hal/stm32/platform.d
  86. BIN
      lib/libssd1306/bld/ssd1306_hal/stm32/platform.o
  87. 13
      lib/libssd1306/bld/ssd1306_hal/template/platform.d
  88. BIN
      lib/libssd1306/bld/ssd1306_hal/template/platform.o
  89. 18
      lib/libssd1306/bld/ssd1306_menu.d
  90. BIN
      lib/libssd1306/bld/ssd1306_menu.o
  91. 13
      lib/libssd1306/bld/ssd1306_uart.d
  92. BIN
      lib/libssd1306/bld/ssd1306_uart.o
  93. 47
      lib/libssd1306/src/Makefile.avr
  94. 107
      lib/libssd1306/src/Makefile.common
  95. 4
      lib/libssd1306/src/Makefile.energia
  96. 5
      lib/libssd1306/src/Makefile.esp32
  97. 38
      lib/libssd1306/src/Makefile.linux
  98. 42
      lib/libssd1306/src/Makefile.mingw32
  99. 80
      lib/libssd1306/src/Makefile.src
  100. 49
      lib/libssd1306/src/Makefile.stm32
  101. Some files were not shown because too many files have changed in this diff Show More

2
.gitignore vendored

@ -0,0 +1,2 @@
.idea
build

@ -0,0 +1,95 @@
# https://github.com/jkent/caterina-promicro
MCU = atmega328p
F_CPU = 16000000
# AVRDUDE settings
PROG_BAUD = 57600
PROG_DEV = /dev/ttyUSB0
PROG_TYPE = arduino
# Build the final AVRDUDE arguments
PROG_ARGS = -c $(PROG_TYPE) -p $(MCU) -b $(PROG_BAUD) -P $(PROG_DEV)
INCFLAGS += -Isrc -Ilib/libssd1306/src
CFLAGS = -std=gnu99 -mmcu=$(MCU) -DF_CPU=$(F_CPU)UL
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
CFLAGS += -Wall -Wno-main -Wno-strict-prototypes -Wno-comment
CFLAGS += -g2 -Wextra -Wfatal-errors -Wno-unused-but-set-variable
CFLAGS += -ffunction-sections -fdata-sections -Os -Wno-array-bounds
LFLAGS = -Wl,--gc-sections -Wl,--relax
#-Llib/libssd1306/bld/ -l:libssd1306.a
# CFLAGS += -lm ## Math
# CFLAGS += -Wl,-u,vfprintf -lprintf_flt -lm ## for floating-point printf
# CFLAGS += -Wl,-u,vfprintf -lprintf_min ## for smaller printf
# ---------------------------------------------------------------------------
APP = App
SRC_DIR = src
BUILD_DIR = build
## Defined programs / locations
CC = avr-gcc
LD = avr-gcc
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
AVRSIZE = avr-size
AVRDUDE = avrdude
SOURCES=$(wildcard $(SRC_DIR)/*.c)
OBJECTS=$(SOURCES:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.o)
DEPENDS=$(BUILD_DIR)/.depends
TARGET=$(BUILD_DIR)/$(APP)
.PHONY: all clean eeprom size
all: $(TARGET).hex size
debug:
@echo "SOURCES $(SOURCES)"
@echo "OBJECTS $(OBJECTS)"
@echo "TARGET $(TARGET)"
eeprom: $(TARGET).eeprom
size: $(TARGET).elf
$(AVRSIZE) -C --mcu=$(MCU) $<
$(TARGET).elf: $(OBJECTS) | $(BUILD_DIR)
$(LD) $(CFLAGS) $(LFLAGS) -o $@ $^ lib/libssd1306/bld/libssd1306.a
%.hex: %.elf
$(OBJCOPY) -R .eeprom -O ihex $< $@
%.eeprom: %.elf
$(OBJCOPY) -j .eeprom --change-section-lma .eeprom=0 -O ihex $< $@
$(BUILD_DIR)/%.o: $(SRC_DIR)/%.c | $(BUILD_DIR)
$(CC) -c $(CFLAGS) $(INCFLAGS) -o $@ $<
$(DEPENDS): $(SOURCES) | $(BUILD_DIR)
$(CC) $(INCFLAGS) -MM $(SOURCES) | sed -e 's!^!$(BUILD_DIR)/!' >$@
$(BUILD_DIR):
mkdir -p $@
clean:
rm -rf $(BUILD_DIR)
## === avrdude ===
flash: $(TARGET).hex
$(AVRDUDE) $(PROG_ARGS) -U flash:w:$<
flashe: $(TARGET).eeprom
$(AVRDUDE) $(PROG_ARGS) -U eeprom:w:$<
shell:
$(AVRDUDE) $(PROG_ARGS) -nt

@ -0,0 +1,5 @@
to build the lib, run
make -f Makefile.avr MCU=atmega328p
the output is in the bld directory

@ -0,0 +1,15 @@
../bld/intf/i2c/ssd1306_i2c.o: intf/i2c/ssd1306_i2c.c \
intf/i2c/ssd1306_i2c.h intf/i2c/ssd1306_i2c_conf.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/i2c/ssd1306_i2c_embedded.h \
intf/i2c/ssd1306_i2c_twi.h intf/ssd1306_interface.h

@ -0,0 +1,16 @@
../bld/intf/i2c/ssd1306_i2c_embedded.o: intf/i2c/ssd1306_i2c_embedded.c \
intf/i2c/ssd1306_i2c_embedded.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/i2c/ssd1306_i2c_conf.h \
intf/ssd1306_interface.h intf/i2c/ssd1306_i2c.h \
intf/i2c/ssd1306_i2c_twi.h

@ -0,0 +1,16 @@
../bld/intf/i2c/ssd1306_i2c_twi.o: intf/i2c/ssd1306_i2c_twi.c \
intf/i2c/ssd1306_i2c_twi.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h \
intf/i2c/ssd1306_i2c_conf.h intf/ssd1306_interface.h \
intf/i2c/ssd1306_i2c.h intf/i2c/ssd1306_i2c_embedded.h \
/usr/avr/include/util/twi.h

@ -0,0 +1,15 @@
../bld/intf/spi/ssd1306_spi.o: intf/spi/ssd1306_spi.c \
intf/spi/ssd1306_spi.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h \
intf/spi/ssd1306_spi_avr.h intf/spi/ssd1306_spi_conf.h \
intf/spi/ssd1306_spi_usi.h intf/ssd1306_interface.h lcd/lcd_common.h

@ -0,0 +1,15 @@
../bld/intf/spi/ssd1306_spi_avr.o: intf/spi/ssd1306_spi_avr.c \
intf/spi/ssd1306_spi_avr.h intf/spi/ssd1306_spi_conf.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/spi/ssd1306_spi.h \
intf/ssd1306_interface.h lcd/lcd_common.h

@ -0,0 +1,15 @@
../bld/intf/spi/ssd1306_spi_usi.o: intf/spi/ssd1306_spi_usi.c \
intf/spi/ssd1306_spi_usi.h intf/spi/ssd1306_spi_conf.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/spi/ssd1306_spi.h \
intf/ssd1306_interface.h lcd/lcd_common.h

@ -0,0 +1,14 @@
../bld/intf/ssd1306_interface.o: intf/ssd1306_interface.c \
intf/ssd1306_interface.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h \
intf/spi/ssd1306_spi.h

@ -0,0 +1,14 @@
../bld/intf/uart/ssd1306_uart_builtin.o: intf/uart/ssd1306_uart_builtin.c \
intf/uart/ssd1306_uart_builtin.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/ssd1306_interface.h ssd1306_uart.h

@ -0,0 +1,14 @@
../bld/intf/vga/atmega328p/vga128x64.o: intf/vga/atmega328p/vga128x64.c \
intf/vga/vga.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h \
intf/ssd1306_interface.h lcd/lcd_common.h lcd/vga_commands.h

@ -0,0 +1,14 @@
../bld/intf/vga/atmega328p/vga96x40.o: intf/vga/atmega328p/vga96x40.c \
intf/vga/vga.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h \
intf/ssd1306_interface.h lcd/lcd_common.h lcd/vga_commands.h

@ -0,0 +1,14 @@
../bld/intf/vga/esp32/CompositeOutput.o: \
intf/vga/esp32/CompositeOutput.cpp intf/vga/esp32/CompositeOutput.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h

@ -0,0 +1,14 @@
../bld/intf/vga/esp32/vga128x64.o: intf/vga/esp32/vga128x64.cpp \
intf/ssd1306_interface.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h intf/vga/vga.h \
lcd/lcd_common.h lcd/vga_commands.h

@ -0,0 +1,13 @@
../bld/intf/vga/vga.o: intf/vga/vga.c ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/vga/vga.h

Binary file not shown.

@ -0,0 +1,14 @@
../bld/lcd/lcd_common.o: lcd/lcd_common.c lcd/lcd_common.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/ssd1306_interface.h \
intf/spi/ssd1306_spi.h

@ -0,0 +1,15 @@
../bld/lcd/lcd_il9163.o: lcd/lcd_il9163.c lcd/lcd_il9163.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h nano_gfx_types.h \
ssd1306_hal/io.h

@ -0,0 +1,15 @@
../bld/lcd/lcd_ili9341.o: lcd/lcd_ili9341.c lcd/lcd_ili9341.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h nano_gfx_types.h \
ssd1306_hal/io.h

@ -0,0 +1,14 @@
../bld/lcd/lcd_pcd8544.o: lcd/lcd_pcd8544.c lcd/lcd_pcd8544.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/pcd8544_commands.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h

@ -0,0 +1,16 @@
../bld/lcd/oled_sh1106.o: lcd/oled_sh1106.c lcd/oled_sh1106.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/ssd1306_commands.h \
intf/ssd1306_interface.h intf/i2c/ssd1306_i2c.h \
intf/i2c/ssd1306_i2c_conf.h intf/i2c/ssd1306_i2c_embedded.h \
intf/i2c/ssd1306_i2c_twi.h intf/spi/ssd1306_spi.h

@ -0,0 +1,16 @@
../bld/lcd/oled_ssd1306.o: lcd/oled_ssd1306.c lcd/oled_ssd1306.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/ssd1306_commands.h \
intf/ssd1306_interface.h intf/i2c/ssd1306_i2c.h \
intf/i2c/ssd1306_i2c_conf.h intf/i2c/ssd1306_i2c_embedded.h \
intf/i2c/ssd1306_i2c_twi.h intf/spi/ssd1306_spi.h

@ -0,0 +1,14 @@
../bld/lcd/oled_ssd1325.o: lcd/oled_ssd1325.c lcd/oled_ssd1325.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h

@ -0,0 +1,14 @@
../bld/lcd/oled_ssd1327.o: lcd/oled_ssd1327.c lcd/oled_ssd1327.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h

@ -0,0 +1,15 @@
../bld/lcd/oled_ssd1331.o: lcd/oled_ssd1331.c lcd/oled_ssd1331.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
lcd/ssd1331_commands.h intf/ssd1306_interface.h intf/spi/ssd1306_spi.h \
nano_gfx_types.h ssd1306_hal/io.h

@ -0,0 +1,15 @@
../bld/lcd/oled_ssd1351.o: lcd/oled_ssd1351.c lcd/oled_ssd1351.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
lcd/ssd1351_commands.h intf/ssd1306_interface.h intf/spi/ssd1306_spi.h \
nano_gfx_types.h ssd1306_hal/io.h

@ -0,0 +1,14 @@
../bld/lcd/oled_template.o: lcd/oled_template.c lcd/oled_template.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/lcd_common.h lcd/lcd_common.h \
intf/ssd1306_interface.h intf/spi/ssd1306_spi.h

@ -0,0 +1,14 @@
../bld/lcd/vga_monitor.o: lcd/vga_monitor.c lcd/vga_monitor.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h lcd/vga_commands.h lcd/lcd_common.h \
intf/ssd1306_interface.h

Binary file not shown.

@ -0,0 +1,21 @@
../bld/nano_engine/canvas.o: nano_engine/canvas.cpp nano_engine/canvas.h \
nano_engine/point.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h nano_engine/rect.h \
ssd1306_hal/Print_internal.h /usr/avr/include/stdio.h \
/usr/lib/gcc/avr/12.2.0/include/stdarg.h nano_gfx_types.h \
ssd1306_hal/io.h lcd/lcd_common.h ssd1306.h nano_gfx_types.h \
ssd1306_generic.h ssd1306_1bit.h ssd1306_8bit.h ssd1306_16bit.h \
ssd1306_fonts.h lcd/lcd_common.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h \
lcd/oled_ssd1327.h lcd/oled_ssd1331.h lcd/oled_ssd1351.h \
lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h lcd/lcd_ili9341.h \
lcd/composite_video.h lcd/oled_template.h

@ -0,0 +1,17 @@
../bld/nano_engine/core.o: nano_engine/core.cpp nano_engine/core.h \
nano_engine/tiler.h nano_engine/canvas.h nano_engine/point.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h nano_engine/rect.h \
ssd1306_hal/Print_internal.h /usr/avr/include/stdio.h \
/usr/lib/gcc/avr/12.2.0/include/stdarg.h nano_gfx_types.h \
ssd1306_hal/io.h lcd/lcd_common.h

@ -0,0 +1,18 @@
../bld/nano_gfx.o: nano_gfx.cpp nano_gfx.h nano_gfx_types.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h font6x8.h ssd1306_fonts.h ssd1306.h \
ssd1306_generic.h ssd1306_1bit.h ssd1306_8bit.h ssd1306_16bit.h \
lcd/lcd_common.h ssd1306_hal/io.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h \
lcd/lcd_common.h lcd/oled_ssd1327.h lcd/oled_ssd1331.h \
lcd/oled_ssd1351.h lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h \
lcd/lcd_ili9341.h lcd/composite_video.h lcd/oled_template.h

Binary file not shown.

@ -0,0 +1,19 @@
../bld/sprite_pool.o: sprite_pool.cpp sprite_pool.h nano_gfx.h \
nano_gfx_types.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h font6x8.h \
ssd1306_fonts.h ssd1306.h ssd1306_generic.h ssd1306_1bit.h \
ssd1306_8bit.h ssd1306_16bit.h lcd/lcd_common.h ssd1306_hal/io.h \
lcd/oled_ssd1306.h lcd/oled_ssd1325.h lcd/lcd_common.h \
lcd/oled_ssd1327.h lcd/oled_ssd1331.h lcd/oled_ssd1351.h \
lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h lcd/lcd_ili9341.h \
lcd/composite_video.h lcd/oled_template.h

Binary file not shown.

@ -0,0 +1,14 @@
../bld/ssd1306_16bit.o: ssd1306_16bit.c ssd1306_16bit.h nano_gfx_types.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h ssd1306_generic.h intf/ssd1306_interface.h \
ssd1306_hal/io.h lcd/lcd_common.h

@ -0,0 +1,21 @@
../bld/ssd1306_1bit.o: ssd1306_1bit.c ssd1306.h nano_gfx_types.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h ssd1306_generic.h ssd1306_1bit.h \
ssd1306_8bit.h ssd1306_16bit.h ssd1306_fonts.h lcd/lcd_common.h \
ssd1306_hal/io.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h lcd/lcd_common.h \
lcd/oled_ssd1327.h lcd/oled_ssd1331.h lcd/oled_ssd1351.h \
lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h lcd/lcd_ili9341.h \
lcd/composite_video.h lcd/oled_template.h intf/i2c/ssd1306_i2c.h \
intf/i2c/ssd1306_i2c_conf.h intf/i2c/ssd1306_i2c_embedded.h \
intf/i2c/ssd1306_i2c_twi.h intf/spi/ssd1306_spi.h \
intf/ssd1306_interface.h lcd/ssd1306_commands.h

Binary file not shown.

@ -0,0 +1,15 @@
../bld/ssd1306_8bit.o: ssd1306_8bit.c ssd1306_8bit.h nano_gfx_types.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h ssd1306_generic.h intf/ssd1306_interface.h \
ssd1306_hal/io.h intf/spi/ssd1306_spi.h lcd/ssd1331_commands.h \
lcd/lcd_common.h

Binary file not shown.

@ -0,0 +1,20 @@
../bld/ssd1306_console.o: ssd1306_console.cpp ssd1306_console.h ssd1306.h \
nano_gfx_types.h ssd1306_hal/io.h ssd1306_hal/UserSettings.h \
ssd1306_hal/avr/io.h /usr/avr/include/avr/io.h \
/usr/avr/include/avr/sfr_defs.h /usr/avr/include/inttypes.h \
/usr/lib/gcc/avr/12.2.0/include/stdint.h /usr/avr/include/stdint.h \
/usr/avr/include/avr/iom328p.h /usr/avr/include/avr/portpins.h \
/usr/avr/include/avr/common.h /usr/avr/include/avr/version.h \
/usr/avr/include/avr/fuse.h /usr/avr/include/avr/lock.h \
/usr/avr/include/avr/interrupt.h /usr/avr/include/avr/pgmspace.h \
/usr/lib/gcc/avr/12.2.0/include/stddef.h /usr/avr/include/avr/sleep.h \
/usr/avr/include/avr/eeprom.h /usr/avr/include/util/delay.h \
/usr/avr/include/util/delay_basic.h /usr/avr/include/math.h \
/usr/avr/include/stdlib.h /usr/avr/include/string.h ssd1306_generic.h \
ssd1306_1bit.h ssd1306_8bit.h ssd1306_16bit.h ssd1306_fonts.h \
lcd/lcd_common.h ssd1306_hal/io.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h \
lcd/lcd_common.h lcd/oled_ssd1327.h lcd/oled_ssd1331.h \
lcd/oled_ssd1351.h lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h \
lcd/lcd_ili9341.h lcd/composite_video.h lcd/oled_template.h \
ssd1306_hal/Print_internal.h /usr/avr/include/stdio.h \
/usr/lib/gcc/avr/12.2.0/include/stdarg.h

@ -0,0 +1,13 @@
../bld/ssd1306_fonts.o: ssd1306_fonts.c ssd1306_fonts.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h nano_gfx_types.h

@ -0,0 +1,21 @@
../bld/ssd1306_generic.o: ssd1306_generic.c ssd1306.h nano_gfx_types.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h ssd1306_generic.h ssd1306_1bit.h \
ssd1306_8bit.h ssd1306_16bit.h ssd1306_fonts.h lcd/lcd_common.h \
ssd1306_hal/io.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h lcd/lcd_common.h \
lcd/oled_ssd1327.h lcd/oled_ssd1331.h lcd/oled_ssd1351.h \
lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h lcd/lcd_ili9341.h \
lcd/composite_video.h lcd/oled_template.h intf/i2c/ssd1306_i2c.h \
intf/i2c/ssd1306_i2c_conf.h intf/i2c/ssd1306_i2c_embedded.h \
intf/i2c/ssd1306_i2c_twi.h intf/spi/ssd1306_spi.h \
intf/ssd1306_interface.h

@ -0,0 +1,16 @@
../bld/ssd1306_hal/arduino/platform.o: ssd1306_hal/arduino/platform.cpp \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h intf/ssd1306_interface.h \
intf/i2c/ssd1306_i2c.h intf/i2c/ssd1306_i2c_conf.h \
intf/i2c/ssd1306_i2c_embedded.h intf/i2c/ssd1306_i2c_twi.h \
intf/spi/ssd1306_spi.h lcd/lcd_common.h

@ -0,0 +1,13 @@
../bld/ssd1306_hal/avr/platform.o: ssd1306_hal/avr/platform.c \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h

@ -0,0 +1,13 @@
../bld/ssd1306_hal/energia/platform.o: ssd1306_hal/energia/platform.cpp \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h

@ -0,0 +1 @@
../bld/ssd1306_hal/linux/platform.o: ssd1306_hal/linux/platform.c

@ -0,0 +1 @@
../bld/ssd1306_hal/mingw/platform.o: ssd1306_hal/mingw/platform.c

@ -0,0 +1,13 @@
../bld/ssd1306_hal/stm32/platform.o: ssd1306_hal/stm32/platform.c \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h

@ -0,0 +1,13 @@
../bld/ssd1306_hal/template/platform.o: ssd1306_hal/template/platform.c \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h

@ -0,0 +1,18 @@
../bld/ssd1306_menu.o: ssd1306_menu.c font6x8.h ssd1306_fonts.h \
ssd1306_hal/io.h ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h nano_gfx_types.h ssd1306.h ssd1306_generic.h \
ssd1306_1bit.h ssd1306_8bit.h ssd1306_16bit.h lcd/lcd_common.h \
ssd1306_hal/io.h lcd/oled_ssd1306.h lcd/oled_ssd1325.h lcd/lcd_common.h \
lcd/oled_ssd1327.h lcd/oled_ssd1331.h lcd/oled_ssd1351.h \
lcd/oled_sh1106.h lcd/lcd_pcd8544.h lcd/lcd_il9163.h lcd/lcd_ili9341.h \
lcd/composite_video.h lcd/oled_template.h

Binary file not shown.

@ -0,0 +1,13 @@
../bld/ssd1306_uart.o: ssd1306_uart.c ssd1306_uart.h ssd1306_hal/io.h \
ssd1306_hal/UserSettings.h ssd1306_hal/avr/io.h \
/usr/avr/include/avr/io.h /usr/avr/include/avr/sfr_defs.h \
/usr/avr/include/inttypes.h /usr/lib/gcc/avr/12.2.0/include/stdint.h \
/usr/avr/include/stdint.h /usr/avr/include/avr/iom328p.h \
/usr/avr/include/avr/portpins.h /usr/avr/include/avr/common.h \
/usr/avr/include/avr/version.h /usr/avr/include/avr/fuse.h \
/usr/avr/include/avr/lock.h /usr/avr/include/avr/interrupt.h \
/usr/avr/include/avr/pgmspace.h /usr/lib/gcc/avr/12.2.0/include/stddef.h \
/usr/avr/include/avr/sleep.h /usr/avr/include/avr/eeprom.h \
/usr/avr/include/util/delay.h /usr/avr/include/util/delay_basic.h \
/usr/avr/include/math.h /usr/avr/include/stdlib.h \
/usr/avr/include/string.h /usr/avr/include/util/setbaud.h

Binary file not shown.

@ -0,0 +1,47 @@
# MIT License
#
# Copyright (c) 2018, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#################################################################
# Makefile to build ssd1306 library for AVR controllers
#
# Accept the following parameters:
# CC
# CXX
# STRIP
# AR
# MCU
# FREQUENCY
CC = avr-gcc
CXX = avr-g++
STRIP = avr-strip
AR = avr-ar
MCU ?= atmega328p
FREQUENCY ?= 16000000
CCFLAGS += -mmcu=$(MCU) -DF_CPU=$(FREQUENCY) -Wno-array-bounds
ifeq ($(ADAFRUIT),y)
INCLUDES += -I./ssd1306_hal/avr/arduino
endif
include Makefile.common

@ -0,0 +1,107 @@
# MIT License
#
# Copyright (c) 2018, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#################################################################
# Makefile containing common logic for all systems
#
# Accepts the following parameters:
# CC
# CXX
# STRIP
# AR
default: all
DESTDIR ?=
BLD ?= ../bld
BACKSLASH?=/
MKDIR?=mkdir -p
convert=$(subst /,$(BACKSLASH),$1)
.SUFFIXES: .c .cpp .ino
$(BLD)/%.o: %.c
-$(MKDIR) $(call convert,$(dir $@))
$(CC) -std=gnu11 $(CCFLAGS) -c $< -o $@
$(BLD)/%.o: %.ino
-$(MKDIR) $(call convert,$(dir $@))
$(CXX) -std=c++11 $(CCFLAGS) $(CXXFLAGS) $(CCFLAGS-$(basename $(notdir $@))) -x c++ -c $< -o $@
$(BLD)/%.o: %.cpp
-$(MKDIR) $(call convert,$(dir $@))
$(CXX) -std=c++11 $(CCFLAGS) $(CXXFLAGS) $(CCFLAGS-$(basename $(notdir $@))) -c $< -o $@
################ OPTIONS ##########################
ifeq ($(ADAFRUIT),y)
ADAFRUIT_DIR ?= $(shell readlink -f ~)/Arduino/libraries/Adafruit_GFX_Library
INCLUDES += -I$(ADAFRUIT_DIR) \
# -I$(shell readlink -f ../src)/ssd1306_hal/linux/arduino
CCFLAGS-Adafruit_GFX= -DARDUINO=100
SRCS += \
$(ADAFRUIT_DIR)/Adafruit_GFX.cpp
endif
# ************* Common defines ********************
INCLUDES += \
-I.
CCFLAGS += -MD -g -Os $(INCLUDES) -Wall -Werror -ffunction-sections -fdata-sections \
-fno-exceptions
CXXFLAGS += -fno-rtti
ifeq ($(SDL_EMULATION),y)
CCFLAGS += -DSDL_EMULATION -I../tools/sdl
endif
.PHONY: clean ssd1306 all help
include Makefile.src
####################### Compiling library #########################
$(BLD)/libssd1306.a: $(OBJS)
$(AR) rcs $@ $(OBJS)
ssd1306: $(BLD)/libssd1306.a
all: ssd1306
clean:
rm -rf $(BLD)
help:
@echo "Makefile accepts the following options:"
@echo " ADAFRUIT=y/n Enables compilation of Adafruit GFX library"
@echo " ADAFRUIT_DIR=path Path to Adafruit GFX library"
@echo " SDL_EMULATION=y/n Enables SDL emulator in the library"
@echo " FREQUENCY=N Frequency in Hz"
@echo " MCU=mcu_code Specifies MCU to compile for (valid for AVR)"
-include $(OBJS:%.o=%.d)

@ -0,0 +1,4 @@
# NO MAKEFILE REQUIRED FOR ENERGIA PLATFORM
#
# For using ssd1306 library just copy it to the libraries folder
# located in the Energia folder in Documents.

@ -0,0 +1,5 @@
# NO MAKEFILE REQUIRED FOR ESP32 IDF platform, as Makefile.esp32 in examples
# generates all required mk file to compile sketches and library.
#
# For using ssd1306 library as IDF component module, there is component.mk,
# located in root folder of ssd1306 library

@ -0,0 +1,38 @@
# MIT License
#
# Copyright (c) 2018, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#################################################################
# Makefile to build ssd1306 library for AVR controllers
#
# Accept the following parameters:
# CC
# CXX
# STRIP
# AR
# MCU
# FREQUENCY
ifeq ($(ADAFRUIT),y)
INCLUDES += -I./ssd1306_hal/linux/arduino
endif
include Makefile.common

@ -0,0 +1,42 @@
# MIT License
#
# Copyright (c) 2018, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#################################################################
# Makefile to build ssd1306 library for AVR controllers
#
# Accept the following parameters:
# CC
# CXX
# STRIP
# AR
# MCU
# FREQUENCY
CC=gcc
MKDIR=mkdir
BACKSLASH=\\
ifeq ($(ADAFRUIT),y)
INCLUDES += -I./ssd1306_hal/mingw/arduino
endif
include Makefile.common

@ -0,0 +1,80 @@
# MIT License
#
# Copyright (c) 2018-2019, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
SRCS_C = \
ssd1306_fonts.c \
ssd1306_generic.c \
ssd1306_1bit.c \
ssd1306_8bit.c \
ssd1306_16bit.c \
ssd1306_menu.c \
ssd1306_hal/avr/platform.c \
ssd1306_hal/linux/platform.c \
ssd1306_hal/mingw/platform.c \
ssd1306_hal/stm32/platform.c \
ssd1306_hal/template/platform.c \
intf/i2c/ssd1306_i2c.c \
intf/i2c/ssd1306_i2c_embedded.c \
intf/i2c/ssd1306_i2c_twi.c \
intf/spi/ssd1306_spi.c \
intf/spi/ssd1306_spi_avr.c \
intf/spi/ssd1306_spi_usi.c \
intf/ssd1306_interface.c \
intf/uart/ssd1306_uart_builtin.c \
lcd/lcd_common.c \
lcd/lcd_pcd8544.c \
lcd/lcd_il9163.c \
lcd/lcd_ili9341.c \
lcd/oled_sh1106.c \
lcd/oled_ssd1306.c \
lcd/oled_ssd1325.c \
lcd/oled_ssd1327.c \
lcd/oled_ssd1331.c \
lcd/oled_ssd1351.c \
lcd/oled_template.c \
lcd/vga_monitor.c \
intf/vga/vga.c \
intf/vga/atmega328p/vga128x64.c \
intf/vga/atmega328p/vga96x40.c \
ssd1306_uart.c \
SRCS_CPP = \
nano_engine/canvas.cpp \
nano_engine/core.cpp \
nano_gfx.cpp \
sprite_pool.cpp \
ssd1306_console.cpp \
ssd1306_hal/arduino/platform.cpp \
ssd1306_hal/energia/platform.cpp \
intf/vga/esp32/vga128x64.cpp \
intf/vga/esp32/CompositeOutput.cpp \
SRCS = $(SRCS_C) $(SRCS_CPP)
# Due to absence of Print class tiny_ssd1306.cpp cannot be compiled without Arduino libs.
# tiny_ssd1306.cpp \
OBJS_C = $(addprefix src/, $(addsuffix .o, $(basename $(SRCS_C))))
OBJS = $(addprefix $(BLD)/, $(addsuffix .o, $(basename $(SRCS))))

@ -0,0 +1,49 @@
# MIT License
#
# Copyright (c) 2018, Alexey Dynda
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
#################################################################
# Makefile to build ssd1306 library for STM32 controllers
#
# Accept the following parameters:
# CC
# CXX
# STRIP
# AR
# MCU
# FREQUENCY
CC = arm-none-eabi-gcc
CXX = arm-none-eabi-g++
STRIP = arm-none-eabi-strip
AR = arm-none-eabi-ar
CORE ?= cortex-m3
MCU ?= stm32f4x
FREQUENCY ?= 16000000
CCFLAGS += -DSTM32F4
CCFLAGS += -mlittle-endian -mthumb -mthumb-interwork -mcpu=$(CORE) -DF_CPU=$(FREQUENCY)
ifeq ($(ADAFRUIT),y)
INCLUDES += -I./ssd1306_hal/avr/arduino
endif
include Makefile.common

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save