Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lexus2k/lcdgfx
Browse files Browse the repository at this point in the history
  • Loading branch information
lexus2k committed Jun 16, 2022
2 parents e4b246c + 3b7d0a0 commit 27d059b
Show file tree
Hide file tree
Showing 15 changed files with 258 additions and 57 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: lcdgfx CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Install apt dependencies
run: |
sudo apt update
sudo apt install -y gcc g++ clang clang-format libsdl2-dev lcov
sudo apt install -y cppcheck cpputest doxygen avr-libc gcc-avr graphviz
sudo pip3 install cpp-coveralls
pip3 install --user cpp-coveralls
# Runs a set of commands using the runners shell
- name: Building documentation
run: |
make docs 1> /dev/null
#
- name: Building via gcc and running unit tests
run: |
make ARCH=linux EXTRA_CPPFLAGS="--coverage" SDL_EMULATION=y check
make clean
make ARCH=linux EXTRA_CPPFLAGS="--coverage" coverage
- name: Upload coverage statistics
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
#run: |
# sudo find / -name coveralls
# echo -e "service_name: circle-ci\n" > .coveralls.yml \
# && TRAVIS_JOB_ID="#${GITHUB_RUN_NUMBER}" COVERALLS_REPO_TOKEN=4Ia7t9YDo22zQcFEnMYLh1tiWCRlBJlhk coveralls -b . \
# --exclude docs --exclude extra --exclude unittest --exclude bld --exclude tools --exclude examples --gcov-options '\-lp'

- name: Building via clang
run: |
make clean
CPPFLAGS="-I/usr/include/SDL2" CC=clang CXX=clang++ LD=clang++ make ARCH=linux SDL_EMULATION=y check
make cppcheck
- name: Building for AVR
run: |
make clean
make ARCH=avr SDL_EMULATION=n
- name: Cache ESP32 build system modules
uses: actions/cache@v2
env:
cache-name: cache-esp32-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: |
~/esp
~/.espressif
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Install ESP32 SDK
run: |
./.travis/setup_esp_build_env.sh travis
- name: Building ESP32 code
run: |
. ~/esp/esp-idf/export.sh
make -C examples -f Makefile.esp32 PROJECT=demos/ssd1306_demo
96 changes: 48 additions & 48 deletions .hash_db
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
./src/lcdgfx.h:4fb456863e82bc2a39ed42f19840541b
./src/lcdgfx.h:8e0efb545002d5e635ac7677743c9a93
./src/nano_engine_v2.h:7cec6b888c2c97b3778249c8987858ad
./src/nano_gfx_types.h:f17d75d58c60c47fe924f9377d7927e3
./src/lcdgfx_gui.h:a4c0288faa35d62e4b33e7ab5c493f6b
Expand All @@ -7,55 +7,55 @@
./src/v2/lcd/lcd_common.inl:b0b396bebdc6af3bf2a981d5d253d54c
./src/v2/lcd/lcd_common.cpp:ccfa7662bc5e64b81ee245980d326f30
./src/v2/lcd/lcd_common.h:807d81afa93406bc662063f8f7cc11e3
./src/v2/lcd/st7789/lcd_st7789.inl:b5c229f2727f635597ef83e50e682c86
./src/v2/lcd/st7789/lcd_st7789.h:19db11c22ca712b276666ca54fd2ed66
./src/v2/lcd/st7789/lcd_st7789.cpp:fbf551d7fec056470f7f1af3c1870727
./src/v2/lcd/ssd1331/lcd_ssd1331.h:21d537e9db5b689963b1a53417c20235
./src/v2/lcd/ssd1331/lcd_ssd1331.cpp:d45d010753ca406f3997ac11c93df4bc
./src/v2/lcd/ssd1331/lcd_ssd1331.inl:e31732dfe8ad334cac77e5cb8cb333cb
./src/v2/lcd/st7735/lcd_st7735.h:a49dc501acd3ff7a969e3b5cf20a0110
./src/v2/lcd/st7735/lcd_st7735.cpp:283f7790811490e10edbfbe62d2bf607
./src/v2/lcd/st7735/lcd_st7735.inl:51d002288dc01e4101a6ef7dbf2d7772
./src/v2/lcd/ssd1327/lcd_ssd1327.cpp:0ba6ac7de4030c2759c38c00f1a8ce91
./src/v2/lcd/ssd1327/lcd_ssd1327.h:e8ca94301e12e6f03deaae418f8e09dd
./src/v2/lcd/ssd1327/lcd_ssd1327.inl:c977c20b8ff48705d30977d52f4c4c1e
./src/v2/lcd/il9163/lcd_il9163.cpp:43153a1449359880fbf5fa38ec476683
./src/v2/lcd/il9163/lcd_il9163.inl:37e71151beb72483050b89f6f7534efb
./src/v2/lcd/il9163/lcd_il9163.h:53a31d720aa82720d56a667c74606fe8
./src/v2/lcd/sh1107/lcd_sh1107.inl:02ca451de627d12096c4f9bf4855f8ea
./src/v2/lcd/sh1107/lcd_sh1107.cpp:7864bd0c2c4429bcf400fb6405acf922
./src/v2/lcd/sh1107/lcd_sh1107.h:c4600dc06a57d063d421bc97e2fa2e1a
./src/v2/lcd/lcdttgo/lcd_ttgo.h:5401bef3fe49a9d454554c7d7dbeae5c
./src/v2/lcd/lcdttgo/lcd_ttgo.cpp:c1dda2b03ba2df78f0151f00ec4b1fdc
./src/v2/lcd/ssd1325/lcd_ssd1325.inl:005f9a02a24a75e33bcb7d9bcc9b5647
./src/v2/lcd/ssd1325/lcd_ssd1325.h:ebc4696c2cf1b9ca926ee39165cdf8ab
./src/v2/lcd/ssd1325/lcd_ssd1325.cpp:d9fc9eb5657d075f3d7f1ecc2a739b2c
./src/v2/lcd/st7789/lcd_st7789.inl:48a8927f1f5d1f9ca9dcaa28d6add6ca
./src/v2/lcd/st7789/lcd_st7789.h:20263c550c44a5574cdc99e40dd98dc9
./src/v2/lcd/st7789/lcd_st7789.cpp:f19b6ea18bc7a0273ba0089d452c27a2
./src/v2/lcd/ssd1331/lcd_ssd1331.h:a6cc54d65c367e84b9a73a5d1a7fd62b
./src/v2/lcd/ssd1331/lcd_ssd1331.cpp:d62984c4213562c04411b9bec7e34a8b
./src/v2/lcd/ssd1331/lcd_ssd1331.inl:d701dc0d94cadb08d0eea064beabf076
./src/v2/lcd/st7735/lcd_st7735.h:c690cd38c5fe42e5bc658d683cd6ec57
./src/v2/lcd/st7735/lcd_st7735.cpp:a4910f09b12e422f45b3f4b1e1a66157
./src/v2/lcd/st7735/lcd_st7735.inl:6d498f8e600fdf67f1d1c9c6bcc535f2
./src/v2/lcd/ssd1327/lcd_ssd1327.cpp:91106287a58ed61512a84dea753a6cca
./src/v2/lcd/ssd1327/lcd_ssd1327.h:5b13d5008c7ebd4290e6f5b0fd820819
./src/v2/lcd/ssd1327/lcd_ssd1327.inl:34a5af724eba320d206ec846ee386a42
./src/v2/lcd/il9163/lcd_il9163.cpp:72a5ed60332e120c31d4250c10ccbf1b
./src/v2/lcd/il9163/lcd_il9163.inl:f1d070550f99e54dad9fbd1e329aabf0
./src/v2/lcd/il9163/lcd_il9163.h:69e4d98c80fc4e23526fc2d1aa336302
./src/v2/lcd/sh1107/lcd_sh1107.inl:b0e518875b0c122e021a4d806dc9cde3
./src/v2/lcd/sh1107/lcd_sh1107.cpp:ae169d538033ea46a0158f4c9fd59187
./src/v2/lcd/sh1107/lcd_sh1107.h:55163953d0791afc15cb1ba999b2577f
./src/v2/lcd/lcdttgo/lcd_ttgo.h:808be27c8d83fcf17b4db68bd4c5fa3a
./src/v2/lcd/lcdttgo/lcd_ttgo.cpp:c0dd2037d909326cf522d760f2d13e23
./src/v2/lcd/ssd1325/lcd_ssd1325.inl:6771812249a205b6f30d888486d2f0fb
./src/v2/lcd/ssd1325/lcd_ssd1325.h:681a383d359e117e56a906b7b4045ade
./src/v2/lcd/ssd1325/lcd_ssd1325.cpp:49e14a62ed99c793a85ad965ded0236f
./src/v2/lcd/base/ssd1306_8bit.inl:625c216d3eddda39b615df1190e6405c
./src/v2/lcd/base/display.h:4b205e029669ad3905826cb252c19697
./src/v2/lcd/base/ssd1306_16bit.inl:d745d468425a12ded2392fcc5020b375
./src/v2/lcd/base/ssd1306_common.inl:a6fa4cad6927e165ebeeb50a08711d5a
./src/v2/lcd/base/ssd1306_1bit.inl:ef5d399674793998f06485d088b4fe92
./src/v2/lcd/base/ssd1306_4bit.inl:299f4a89633d3ba76af4d0e4563305d2
./src/v2/lcd/base/display_base.h:e718b06f121e999fd97163a23e93c1b6
./src/v2/lcd/ssd1351/lcd_ssd1351.cpp:c27acf17fbff7734b4bee14113ab01bc
./src/v2/lcd/ssd1351/lcd_ssd1351.h:e06e7c343f1f148e3f641b059c649d25
./src/v2/lcd/ssd1351/lcd_ssd1351.inl:c6a977e71716577a91a3c498bb93bb75
./src/v2/lcd/ssd1351/lcd_ssd1351.cpp:0e47fb3209de1f045b3faa4903f89c13
./src/v2/lcd/ssd1351/lcd_ssd1351.h:a87fdd84977f25493041c01a782d22ca
./src/v2/lcd/ssd1351/lcd_ssd1351.inl:60d07239abd6fda9e52c7d760e5c7dc2
./src/v2/lcd/lcdwio/lcd_wio.cpp:e509541c1119c451d12bbf08b0b3e7dd
./src/v2/lcd/lcdwio/lcd_wio.h:765aad6e01a48bfcecfe5dd3cda61df6
./src/v2/lcd/pcd8544/lcd_pcd8544.inl:c0f2eb5eed6b4697c36f87fdce8a5f55
./src/v2/lcd/pcd8544/lcd_pcd8544.h:f257c694e0311d38a2adf4720725477b
./src/v2/lcd/pcd8544/lcd_pcd8544.cpp:40507d68b085ff9ad832ed02f81b4425
./src/v2/lcd/ili9341/lcd_ili9341.cpp:36a4f23708db743256d2f605e5269ec8
./src/v2/lcd/ili9341/lcd_ili9341.h:8f31f40112dd054c00ac39d6535303e6
./src/v2/lcd/ili9341/lcd_ili9341.inl:ccf1cf321873238fd08c75568fd10f50
./src/v2/lcd/pcd8544/lcd_pcd8544.inl:def5745fd1aaa4f8cd77bb45d060f48d
./src/v2/lcd/pcd8544/lcd_pcd8544.h:eeccceaa4f61e2ef51668c3508ee5b57
./src/v2/lcd/pcd8544/lcd_pcd8544.cpp:09f94d002d124b113f8d835fbc7e8d84
./src/v2/lcd/ili9341/lcd_ili9341.cpp:52a863e359a15653bdb29f5623482e62
./src/v2/lcd/ili9341/lcd_ili9341.h:e73d25ddf0a089c24b9443d7b2b1ea90
./src/v2/lcd/ili9341/lcd_ili9341.inl:97be355a49a9b2883ea473e981f35fe2
./src/v2/lcd/lcdany/lcd_any.h:701d75d83c39268aa3f36037917b1c3b
./src/v2/lcd/lcdany/lcd_any.cpp:49e2f62717cb5c1b7dccaebe610a6111
./src/v2/lcd/ssd1306/lcd_ssd1306.cpp:1abfb33a446e83b930ab880b46cd03b6
./src/v2/lcd/ssd1306/lcd_ssd1306.inl:3a035a130fe9c809af99e432b7bf12a1
./src/v2/lcd/ssd1306/lcd_ssd1306.h:4829d544b77e1fc31829bf81e92cb64f
./src/v2/lcd/sh1106/lcd_sh1106.cpp:881ea63b96322cc5244537014504eb92
./src/v2/lcd/sh1106/lcd_sh1106.inl:8ffe574a30c1cc7b70596ee08d69f0bd
./src/v2/lcd/sh1106/lcd_sh1106.h:0c3dc9eda5f33e4a5225cd66dfaf7b96
./src/v2/lcd/ssd1306/lcd_ssd1306.cpp:831a864f200de7e7eae1cac52cc2a9cb
./src/v2/lcd/ssd1306/lcd_ssd1306.inl:f5bece8b744dd57bdb9174d6337d5d42
./src/v2/lcd/ssd1306/lcd_ssd1306.h:8a22f215c74798260163ad8ad965a8ba
./src/v2/lcd/sh1106/lcd_sh1106.cpp:3d58dc2773a5a138aa3066df3cd2533f
./src/v2/lcd/sh1106/lcd_sh1106.inl:3ee80dea38384c9586e17b20c3717e6d
./src/v2/lcd/sh1106/lcd_sh1106.h:a93e179b0dd8be835215e5aa41f86e51
./src/v2/gui/menu.cpp:6925995c60cd59f17c4272ce50d610f4
./src/v2/gui/menu.h:5b773b87d7957828869c13f61674a53b
./src/v2/gui/button.cpp:e121d09c4e3bcddf0baceb35ee9740bc
Expand All @@ -71,9 +71,9 @@
./src/v2/nano_engine/core.cpp:a4b670c0764f366f2312e280b7d95fea
./src/canvas/point.h:41d206a884a28d3a87895d562ff1a80e
./src/canvas/canvas_types.h:ba4e00b8f860dd739c6b27436af8ec9e
./src/canvas/canvas.cpp:05356f2e18677457aa79c2095bad8925
./src/canvas/canvas.cpp:d4c0ae70cbde4b081e7cf64f540272a6
./src/canvas/font.h:d3c5bbdb7b88260a6f0067fefce05a5a
./src/canvas/canvas.h:fa0a49431a1c2229896f6997173abb86
./src/canvas/canvas.h:9aa76c78da768b264514b689103cf50a
./src/canvas/rect.h:64d58089979dcd14e500294ba6ac5dc5
./src/canvas/adafruit.h:f4e7591d09a711cb2e822405e202470a
./src/canvas/UserSettings.h:2099a9c40c31e8a7d0a81ba95e1c0c30
Expand Down Expand Up @@ -105,10 +105,10 @@
./src/lcd_hal/linux/linux_i2c.cpp:5d3d787a0a79bc50462913ef91c96feb
./src/lcd_hal/linux/arduino/Print.h:d1c14acc7f01c283a22f428ea45edc83
./src/lcd_hal/linux/arduino/Arduino.h:d65a24bc05983f251b0e2e8c4c10b197
./src/lcd_hal/linux/arduino/Wire.h:5ec16105e8f1d5104bee052efdb6db31
./src/lcd_hal/linux/arduino/avr/pgmspace.h:5ec16105e8f1d5104bee052efdb6db31
./src/lcd_hal/linux/arduino/avr/interrupt.h:5ec16105e8f1d5104bee052efdb6db31
./src/lcd_hal/linux/arduino/avr/sleep.h:5ec16105e8f1d5104bee052efdb6db31
./src/lcd_hal/linux/arduino/Wire.h:1e5e759f622cc1de11f922734d378bfd
./src/lcd_hal/linux/arduino/avr/pgmspace.h:1e5e759f622cc1de11f922734d378bfd
./src/lcd_hal/linux/arduino/avr/interrupt.h:1e5e759f622cc1de11f922734d378bfd
./src/lcd_hal/linux/arduino/avr/sleep.h:1e5e759f622cc1de11f922734d378bfd
./src/lcd_hal/avr/spi_usi.cpp:079eadb90a0894a45e02d24e67f430ed
./src/lcd_hal/avr/platform.cpp:ae61e44d7fe586adf5a94939b9164dd4
./src/lcd_hal/avr/spi_avr.h:22e143616eb4cfc7114f9efb90e8a2bb
Expand All @@ -121,13 +121,13 @@
./src/lcd_hal/avr/io.h:71e628907d533b0ed9ee393383b23316
./src/lcd_hal/avr/arduino/Print.h:d1c14acc7f01c283a22f428ea45edc83
./src/lcd_hal/avr/arduino/Arduino.h:30433c01f6fad8661e9182dd3d9223da
./src/lcd_hal/avr/arduino/Wire.h:5ec16105e8f1d5104bee052efdb6db31
./src/lcd_hal/avr/arduino/Wire.h:1e5e759f622cc1de11f922734d378bfd
./src/lcd_hal/stm32/platform.cpp:0f91d0bf9feff04d8b419726e0c40430
./src/lcd_hal/stm32/io.h:931e8023bdc70931dcc6bb125ad8e537
./src/lcd_hal/esp/esp8266_spi.h:c8907544250857dfde7dca5971f4afbe
./src/lcd_hal/esp/esp8266_spi.cpp:27bfefdbf72963e58c83ff864b3e070c
./src/lcd_hal/esp/platform.cpp:79d92699f83697576caf3ac2d4592c53
./src/lcd_hal/esp/esp32_spi.cpp:df2146a2d1fc8ee0b0e5f13449ed8dc2
./src/lcd_hal/esp/esp32_spi.cpp:e71a3fbf4e3e4f43b56e04fda3024011
./src/lcd_hal/esp/esp8266_i2c.h:1b9962da0e35e8d7b0603850f6f42af7
./src/lcd_hal/esp/esp32_spi.h:60de23a04648d6fe899cd72e5a09caa9
./src/lcd_hal/esp/esp8266_i2c.cpp:0e622e34fa244fae57bed2f1851df128
Expand Down Expand Up @@ -203,7 +203,7 @@
./examples/gui/button_demo/buttons.cpp:a5b763ee149e989392cc64be079e6dfa
./examples/gui/yesno_demo/buttons.h:74ef4a7eec399eebf86bdc443329e78f
./examples/gui/yesno_demo/buttons.cpp:a5b763ee149e989392cc64be079e6dfa
./examples/test/output.h:72de39c1354f386ad563193458e15c4d
./examples/test/output.h:1cdfec1d03a1ba9952ee178243c03d20
./examples/wio_terminal/lode_runner/wio_hardware.h:abb2bab736710494de151ab03cebf3c4
./examples/wio_terminal/lode_runner/src/main.h:caf5aa57fa63c1d42a3738f8c5868fe9
./examples/wio_terminal/lode_runner/src/game_basic.h:cf5b65ed8d8ea6e1a1379e6028a6a833
Expand Down
5 changes: 4 additions & 1 deletion .travis/refresh_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

exclude_paths = [
'./.git',
'./.github',
'./.travis',
'./tools/templates',
]
Expand Down Expand Up @@ -75,7 +76,9 @@ def check_and_update_license(name, new_license = False):
for i in range(min(10,len(lines))):
if "Copyright" in lines[i]:
now = datetime.datetime.now()
ccc = "C"

# Copyright 2022 (C) Alexey Dynda
ccc = "(C)"
if "(c)" in lines[i]:
ccc = "(c)"
if "Copyright {}".format(ccc) in lines[i]:
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# LCDGFX library for display controllers

[![Build Status](https://circleci.com/gh/lexus2k/lcdgfx.svg?style=svg)](https://circleci.com/gh/lexus2k/lcdgfx)
<!-- [![Build Status](https://circleci.com/gh/lexus2k/lcdgfx.svg?style=svg)](https://circleci.com/gh/lexus2k/lcdgfx) -->
![Github actions](https://github.com/lexus2k/lcdgfx/actions/workflows/c-cpp.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/lexus2k/lcdgfx/badge.svg?branch=master)](https://coveralls.io/github/lexus2k/lcdgfx?branch=master)
[![Doc Status](.travis/code_documented.svg)](https://codedocs.xyz/lexus2k/lcdgfx)
![GitHub](https://img.shields.io/github/license/lexus2k/lcdgfx)
Expand Down Expand Up @@ -71,7 +72,7 @@ void loop()
* i2c (software implementation, Wire library, AVR Twi, Linux i2c-dev)
* spi (4-wire spi via Arduino SPI library, AVR Spi, AVR USI module)
* Primitive graphics functions (lines, rectangles, pixels, bitmaps, drawing canvas)
* Printing text to display (using fonts of different size, [How to add new fonts](https://github.com/lexus2k/lcdgfx/wiki/How-to-create-new-font-for-the-library))
* Printing text to display (using fonts of different size, [How to add new fonts](https://github.com/lexus2k/lcdgfx/wiki/How-to-create-new-font-for-the-library), [Useful tools](#useful-tools))
* Includes [graphics engine](https://github.com/lexus2k/lcdgfx/wiki/Using-NanoEngine-for-systems-with-low-resources2) to support
double buffering on tiny microcontrollers.
* Can be used for game development (bonus examples):
Expand Down Expand Up @@ -188,6 +189,9 @@ This is a little application made by Tim Jackson to edit and create Images and f
[Built-in font generator](https://github.com/lexus2k/lcdgfx/wiki/How-to-create-new-font-for-the-library)
Lcdgfx library has built-in Python script to generate lcd fonts from ttf files.
[Font format converter from bdf fonts by mayopan](https://github.com/mayopan/bdf2lcdgfx)
Font format converter that converts bdf font to lcdgfx c style free
## Projects using lcdgfx
* [GUIslice](https://github.com/ImpulseAdventure/GUIslice) - nice platform independent GUI library for embedded systems
Expand Down
2 changes: 1 addition & 1 deletion src/canvas/canvas.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2018-2021, Alexey Dynda
Copyright 2018-2022 (C) 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
Expand Down
2 changes: 1 addition & 1 deletion src/canvas/canvas.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2018-2020, Alexey Dynda
Copyright 2018-2020,2022 (C) 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
Expand Down
23 changes: 23 additions & 0 deletions src/lcd_hal/avr/arduino/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,29 @@
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.
*/
/*
MIT License
Copyright 2022 (C) 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
Expand Down
2 changes: 1 addition & 1 deletion src/lcd_hal/esp/esp32_spi.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2018-2020,2021 Alexey Dynda
Copyright 2018-2020,2022 (C) 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
Expand Down
23 changes: 23 additions & 0 deletions src/lcd_hal/linux/arduino/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,29 @@
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.
*/
/*
MIT License
Copyright 2022 (C) 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
Expand Down
Loading

0 comments on commit 27d059b

Please sign in to comment.