Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
Ondřej Hruška | a952fbebff | 2 years ago |
Ondřej Hruška | 3124b29176 | 2 years ago |
Ondřej Hruška | 317aed825e | 2 years ago |
Ondřej Hruška | 8dad247e5e | 2 years ago |
Ondřej Hruška | 24b9a7359b | 2 years ago |
Ondřej Hruška | fb7002e68b | 2 years ago |
Ondřej Hruška | 79232c5d2c | 2 years ago |
Ondřej Hruška | d90cfa0e20 | 2 years ago |
@ -1,2 +1,4 @@ |
||||
.idea |
||||
build |
||||
lib/libssd1306/bld/ |
||||
|
||||
|
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,16 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,16 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,16 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,16 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,15 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,14 +0,0 @@ |
||||
../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.
Binary file not shown.
@ -1,21 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,17 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,18 +0,0 @@ |
||||
../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.
@ -1,19 +0,0 @@ |
||||
../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.
@ -1,14 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,21 +0,0 @@ |
||||
../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.
@ -1,15 +0,0 @@ |
||||
../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.
@ -1,20 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,21 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,16 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1 +0,0 @@ |
||||
../bld/ssd1306_hal/linux/platform.o: ssd1306_hal/linux/platform.c |
Binary file not shown.
@ -1 +0,0 @@ |
||||
../bld/ssd1306_hal/mingw/platform.o: ssd1306_hal/mingw/platform.c |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,13 +0,0 @@ |
||||
../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 |
Binary file not shown.
@ -1,18 +0,0 @@ |
||||
../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.
@ -1,13 +0,0 @@ |
||||
../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,282 @@ |
||||
//
|
||||
// Created by MightyPork on 2022/11/12.
|
||||
//
|
||||
|
||||
#include "framebuffer.h" |
||||
|
||||
#define MIN(a, b) ((a)>(b)?(b):(a)) |
||||
#define MAX(a, b) ((a)>(b)?(a):(b)) |
||||
|
||||
#include <string.h> |
||||
|
||||
uint8_t fb[(FBH / 8) * FBW]; |
||||
|
||||
/** Fill with a vertical pattern, 1 byte */ |
||||
void fb_fill(uint8_t pattern) |
||||
{ |
||||
memset(fb, pattern, sizeof(fb)); |
||||
} |
||||
|
||||
static void draw_mask(fbsize_t idx, uint8_t mask, uint8_t color) |
||||
{ |
||||
if (color != 0) { |
||||
fb[idx] |= mask; |
||||
} else { |
||||
fb[idx] &= ~mask; |
||||
} |
||||
} |
||||
|
||||
void fb_px(fbpos_t x, fbpos_t y, uint8_t color) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return; } |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
const fbsize_t cell = (fbsize_t) x + (fbsize_t) row * FBW; |
||||
draw_mask(cell, 1 << rowrem, color); |
||||
} |
||||
|
||||
uint8_t fb_getpx(fbpos_t x, fbpos_t y) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return 0; } |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
const fbsize_t cell = (fbsize_t) x + (fbsize_t) row * FBW; |
||||
if (fb[cell] & (1 << rowrem)) { |
||||
return 0xFF; |
||||
} else { |
||||
return 0x00; |
||||
} |
||||
} |
||||
|
||||
void fb_hline(fbpos_t x, fbpos_t y, fbpos_t w, uint8_t color) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return; } |
||||
w = MIN(FBW - x, w); |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
fbsize_t cell = (fbsize_t) x + (fbsize_t) row * FBW; |
||||
for (uint8_t i = 0; i < w; i++) { |
||||
draw_mask(cell, 1 << rowrem, color); |
||||
cell++; |
||||
} |
||||
} |
||||
|
||||
void fb_vline(fbpos_t x, fbpos_t y, fbpos_t h, uint8_t color) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return; } |
||||
h = MIN(FBH - y - 1, h); |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
uint16_t cell = (uint16_t) x + (uint16_t) row * FBW; |
||||
|
||||
if (rowrem + h < 8) { |
||||
// all within one cell
|
||||
const uint8_t mask = (0xFF << rowrem) & (0xFF >> (8 - h - rowrem)); |
||||
draw_mask(cell, mask, color); |
||||
return; |
||||
} else { |
||||
// First
|
||||
draw_mask(cell, 0xFF << rowrem, color); |
||||
h -= (rowrem == 0 ? 8 : (8 - rowrem)); |
||||
|
||||
const fbpos_t whole_cells = h / 8; |
||||
if (whole_cells > 0) { |
||||
h -= whole_cells * 8; |
||||
for (fbpos_t i = 0; i < whole_cells; i++) { |
||||
cell += FBW; |
||||
draw_mask(cell, 0xFF, color); |
||||
} |
||||
} |
||||
|
||||
// last
|
||||
cell += FBW; |
||||
draw_mask(cell, 0xFF >> (8 - h), color); |
||||
} |
||||
} |
||||
|
||||
void fb_rect(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, uint8_t color) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return; } |
||||
w = MIN(FBW - x, w); |
||||
h = MIN(FBH - y, h); |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
fbsize_t cell = (fbsize_t) x + (fbsize_t) row * FBW; |
||||
|
||||
if (w == 1 && h == 1) { |
||||
fb_px(x, y, color); |
||||
} else if (w == 1) { |
||||
fb_vline(x, y, h, color); |
||||
} else if (h == 1) { |
||||
fb_hline(x, y, w, color); |
||||
} else if (rowrem + h <= 8) { |
||||
// all within one cell
|
||||
uint8_t mask = (0xFF << rowrem) & (0xFF >> (8 - h - rowrem)); |
||||
|
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
return; |
||||
} else { |
||||
// First
|
||||
uint8_t mask = (0xFF << rowrem); |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
h -= 8 - rowrem; |
||||
|
||||
const fbpos_t whole_cells = h / 8; |
||||
if (whole_cells > 0) { |
||||
h -= whole_cells * 8; |
||||
for (fbpos_t j = 0; j < whole_cells; j++) { |
||||
cell += FBW; |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
draw_mask(cell + i, 0xFF, color); |
||||
} |
||||
} |
||||
} |
||||
|
||||
cell += FBW; |
||||
|
||||
// last
|
||||
mask = (0xFF >> (8 - h)); |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
} |
||||
} |
||||
|
||||
void fb_frame(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t thickness, uint8_t color) |
||||
{ |
||||
if (thickness == 0) { |
||||
return; |
||||
} else if (thickness == 1) { |
||||
fb_hline(x, y, w, color); |
||||
fb_vline(x, y, h, color); |
||||
fb_hline(x, y + h - 1, w, color); |
||||
fb_vline(x + w - 1, y, h, color); |
||||
} else { |
||||
fb_rect(x, y, w, thickness, color); |
||||
fb_rect(x, y + h - thickness, w, thickness, color); |
||||
fb_rect(x, y + thickness, thickness, h - 2 * thickness, color); |
||||
fb_rect(x + w - thickness, y + thickness, thickness, h - 2 * thickness, color); |
||||
} |
||||
} |
||||
|
||||
void fb_bitmap(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, const uint8_t *map, uint8_t color) |
||||
{ |
||||
if (x >= FBW || y >= FBH) { return; } |
||||
const fbpos_t w0 = w; |
||||
w = MIN(FBW - x - 1, w); |
||||
h = MIN(FBH - y - 1, h); |
||||
const fbpos_t row = y / 8; |
||||
const fbpos_t rowrem = y % 8; |
||||
fbsize_t cell = (fbsize_t) x + (fbsize_t) row * FBW; |
||||
|
||||
if (rowrem + h <= 8) { |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
// all within one cell
|
||||
const uint8_t mask = (map[i] & (0xFF >> (8 - h))) << rowrem; |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
return; |
||||
} else { |
||||
fbsize_t mapc0 = 0; |
||||
|
||||
// Draw the bitmap slice-by-slice based on how rows of the bitmap intersect with rows of the canvas.
|
||||
// This could be optimized to walk each row of the canvas only once, but the code would get bigger.
|
||||
while (h > 0) { |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
const uint8_t mask = (map[i + mapc0] & (0xFF >> rowrem)) << rowrem; |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
|
||||
cell += FBW; |
||||
|
||||
if (rowrem != 0) { |
||||
for (fbpos_t i = 0; i < w; i++) { |
||||
const uint8_t mask = (map[i + mapc0] & (0xFF << (8 - rowrem))) >> (8 - rowrem); |
||||
draw_mask(cell + i, mask, color); |
||||
} |
||||
} |
||||
|
||||
if (h > 8) { |
||||
h -= 8; |
||||
} else { |
||||
break; |
||||
} |
||||
mapc0 += w0; |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
enum SevenSegBars { |
||||
T = 1, RT = 2, RB = 4, B = 8, LB = 16, LT = 32, M = 64 |
||||
}; |
||||
|
||||
static const uint8_t PROGMEM seven[] = { |
||||
[0] = T | RT | RB | B | LB | LT, |
||||
[1] = RT | RB, |
||||
[2] = T | RT | M | LB | B, |
||||
[3] = T | RT | M | RB | B, |
||||
[4] = RT | RB | M | LT, |
||||
[5] = T | LT | M | RB | B, |
||||
[6] = T | LT | LB | B | RB | M, |
||||
[7] = T | RT | RB, |
||||
[8] = T | LT | RT | LB | RB | B | M, |
||||
[9] = T | LT | RT | RB | B | M, |
||||
}; |
||||
|
||||
fbpos_t fb_7seg_dig(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, uint8_t digit, uint8_t color) |
||||
{ |
||||
const uint8_t mask = digit > 9 ? 0 : pgm_read_byte(&seven[digit]); |
||||
const fbpos_t wi = w - th * 2; |
||||
const fbpos_t hi = (h - th * 3) / 2; |
||||
|
||||
bool bcolor = !color; // changed for XOR
|
||||
|
||||
fb_rect(x + th, |
||||
y, |
||||
wi, |
||||
th, bcolor ^ (bool) (mask & T)); |
||||
|
||||
fb_rect(x + th, |
||||
y + th + hi, |
||||
wi, |
||||
th, bcolor ^ (bool) (mask & M)); |
||||
|
||||
fb_rect(x + th, |
||||
y + th * 2 + hi * 2, |
||||
wi, |
||||
th, bcolor ^ (bool) (mask & B)); |
||||
|
||||
fb_rect(x, |
||||
y + th, |
||||
th, |
||||
hi, bcolor ^ (bool) (mask & LT)); |
||||
|
||||
fb_rect(x + th + wi, |
||||
y + hi + th, |
||||
th, |
||||
hi, bcolor ^ (bool) (mask & LB)); |
||||
|
||||
fb_rect(x + th + wi, |
||||
y + th, |
||||
th, |
||||
hi, bcolor ^ (bool) (mask & RT)); |
||||
|
||||
fb_rect(x + th + wi, |
||||
y + th * 2 + hi, |
||||
th, |
||||
hi, bcolor ^ (bool) (mask & RB)); |
||||
|
||||
return w; |
||||
} |
||||
|
||||
fbpos_t fb_7seg_period(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, uint8_t color) |
||||
{ |
||||
const fbpos_t hi = (h - th * 3) / 2; |
||||
fb_rect(x, y + hi * 2 + th * 2, th, th, color); |
||||
return th; |
||||
} |
@ -0,0 +1,90 @@ |
||||
//
|
||||
// Created by MightyPork on 2022/11/12.
|
||||
//
|
||||
|
||||
#ifndef FRAMEBUFFER_H |
||||
#define FRAMEBUFFER_H |
||||
|
||||
#include <stdbool.h> |
||||
#include <stdint.h> |
||||
|
||||
#include "framebuffer_config.h" |
||||
|
||||
#define FBSET 0xFF |
||||
#define FBCLEAR 0x00 |
||||
|
||||
typedef uint16_t fbsize_t; |
||||
typedef uint8_t fbpos_t; |
||||
|
||||
/// Framebuffer backing array.
|
||||
///
|
||||
/// The format is the native format for SSD1306: array of bytes representing pixels in 8 rows at once, LSB is the topmost row.
|
||||
///
|
||||
/// a0 b0 ... til the display width
|
||||
/// a1 b1
|
||||
/// a2 b2
|
||||
/// ... ...
|
||||
/// a7 b7
|
||||
///
|
||||
/// and more bytes continue rows 8-15 and so on
|
||||
extern uint8_t fb[(FBH / 8) * FBW]; |
||||
|
||||
/// Fill the entire screen with a byte pattern.
|
||||
/// Use 0xFF or 0x00 for a solid fill. Other patterns may be used to create horizontal stripes.
|
||||
void fb_fill(uint8_t pattern); |
||||
|
||||
/// Clear the display (fill with 0x00)
|
||||
static inline void fb_clear(void) |
||||
{ |
||||
fb_fill(0); |
||||
} |
||||
|
||||
/// Set a single pixel
|
||||
void fb_px(fbpos_t x, fbpos_t y, uint8_t color); |
||||
|
||||
/// Get pixel color
|
||||
uint8_t fb_getpx(fbpos_t x, fbpos_t y); |
||||
|
||||
/// Draw a horizontal line
|
||||
void fb_hline(fbpos_t x, fbpos_t y, fbpos_t w, uint8_t color); |
||||
|
||||
/// Draw a vertical line
|
||||
void fb_vline(fbpos_t x, fbpos_t y, fbpos_t h, uint8_t color); |
||||
|
||||
/// Draw a filled rect
|
||||
void fb_rect(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, uint8_t color); |
||||
|
||||
/// Draw a frame (unfilled rect)
|
||||
void fb_frame(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t thickness, uint8_t color); |
||||
|
||||
/// Draw a bitmap
|
||||
void fb_bitmap(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, const uint8_t *map, uint8_t color); |
||||
|
||||
/// Draw a 7-segment digit. Returns its width (without spacing)
|
||||
///
|
||||
/// \param x - pos X (left top)
|
||||
/// \param y - pos Y (left top)
|
||||
/// \param w - full digit width
|
||||
/// \param h - full digit height; will be adjusted down if needed
|
||||
/// \param th - thickness
|
||||
/// \param digit - digit 0-9
|
||||
/// \return width taken
|
||||
fbpos_t fb_7seg_dig(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, uint8_t digit, uint8_t color); |
||||
|
||||
/// Draw a 7-segment period. Returns its width (without spacing).
|
||||
/// Digit height is (w * 2 - th)
|
||||
///
|
||||
/// \param x - pos X (digit left top)
|
||||
/// \param y - pos Y (digit left top)
|
||||
/// \param w - full digit width
|
||||
/// \param h - full digit height; will be adjusted down if needed
|
||||
/// \param th - thickness
|
||||
/// \return width taken
|
||||
fbpos_t fb_7seg_period(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, uint8_t color); |
||||
|
||||
/// Output the framebuffer array `fb` to the display device.
|
||||
///
|
||||
/// The user must implement this
|
||||
extern void fb_blit(void); |
||||
|
||||
#endif //FRAMEBUFFER_H
|
@ -0,0 +1,13 @@ |
||||
#ifndef FRAMEBUFFER_CONFIG_H |
||||
#define FRAMEBUFFER_CONFIG_H |
||||
|
||||
#define FBW 128 |
||||
#define FBH 32 |
||||
|
||||
#include <avr/pgmspace.h> |
||||
/*
|
||||
#define PROGMEM |
||||
#define pgm_read_byte(adr) (*adr) |
||||
*/ |
||||
|
||||
#endif /* FRAMEBUFFER_CONFIG_H */ |
Loading…
Reference in new issue