Skip to content

Commit

Permalink
add phy calibration data
Browse files Browse the repository at this point in the history
  • Loading branch information
pebri86 committed Nov 5, 2019
1 parent 890e202 commit b0434e3
Show file tree
Hide file tree
Showing 25 changed files with 17,936 additions and 17,936 deletions.
108 changes: 54 additions & 54 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
/build
sdkconfig.old

# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
/build
sdkconfig.old

# Prerequisites
*.d

# Object files
*.o
*.ko
*.obj
*.elf

# Linker output
*.ilk
*.map
*.exp

# Precompiled Headers
*.gch
*.pch

# Libraries
*.lib
*.a
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex

# Debug files
*.dSYM/
*.su
*.idb
*.pdb

# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := esplay-base-firmware

include $(IDF_PATH)/make/project.mk

#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := esplay-base-firmware

include $(IDF_PATH)/make/project.mk

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# esplay-base-firmware
Bootloader or sdcard flasher for ESPlay HW ESP32 based device.
The code based on odroid go base firmware, modified using hardware drivers to be compatible with [esplay-hardware].

Compiling
---------
Use esp-idf fork from Odroid-Go 3.2 branch [here]

[esplay-hardware]: https://github.com/pebri86/esplay-hardware
[here]: https://github.com/OtherCrashOverride/esp-idf/tree/release/v3.2-odroid
# esplay-base-firmware
Bootloader or sdcard flasher for ESPlay HW ESP32 based device.
The code based on odroid go base firmware, modified using hardware drivers to be compatible with [esplay-hardware].

Compiling
---------
Use esp-idf fork from Odroid-Go 3.2 branch [here]

[esplay-hardware]: https://github.com/pebri86/esplay-hardware
[here]: https://github.com/OtherCrashOverride/esp-idf/tree/release/v3.2-odroid
2 changes: 1 addition & 1 deletion components/drivers/input/gamepad.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static uint8_t i2c_keypad_read()

i2c_cmd_handle_t cmd = i2c_cmd_link_create();
i2c_master_start(cmd);
i2c_master_write_byte(cmd, 0x38 << 1 | READ_BIT, ACK_CHECK_EN);
i2c_master_write_byte(cmd, 0x20 << 1 | READ_BIT, ACK_CHECK_EN);
i2c_master_read_byte(cmd, data + len - 1, NACK_VAL);
i2c_master_stop(cmd);
esp_err_t ret = i2c_master_cmd_begin(i2c_port, cmd, 1000 / portTICK_RATE_MS);
Expand Down
72 changes: 36 additions & 36 deletions components/ugui/.gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
*.zip
*.exe
*.bak
*bak
*bck
*~

*.pdf

#kicad temp files
*-cache.lib
*.net
_autosave*

# gerber files:
*.grb
*.gbr
*.drl

# platformio temporaries:
.pioenvs
.clang_complete
.gcc-flags.json


#Qt
*.user
*.user.*
*.autosave

.travis.yml

# build directories
b/
build/

*.zip
*.exe
*.bak
*bak
*bck
*~

*.pdf

#kicad temp files
*-cache.lib
*.net
_autosave*

# gerber files:
*.grb
*.gbr
*.drl

# platformio temporaries:
.pioenvs
.clang_complete
.gcc-flags.json


#Qt
*.user
*.user.*
*.autosave

.travis.yml

# build directories
b/
build/

98 changes: 49 additions & 49 deletions components/ugui/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
/* -------------------------------------------------------------------------------- */
/* -- µGUI - Generic GUI module (C)Achim Döbler, 2015 -- */
/* -------------------------------------------------------------------------------- */
// µGUI is a generic GUI module for embedded systems.
// This is a free software that is open for education, research and commercial
// developments under license policy of following terms.
//
// Copyright (C) 2015, Achim Döbler, all rights reserved.
// URL: http://www.embeddedlightning.com/
//
// * The µGUI module is a free software and there is NO WARRANTY.
// * No restriction on use. You can use, modify and redistribute it for
// personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
// * Redistributions of source code must retain the above copyright notice.
//
/* -------------------------------------------------------------------------------- */
/* -- MY SPECIAL THANKS GO TO -- */
/* -------------------------------------------------------------------------------- */
// Andrey Filimonov (-->https://github.com/Sermus)
// for giving valuable suggestions, reporting bugs and adding several new features.
// Andrey also put a lot of work in the implementaion of anti-aliased font support.
//
// Mikhail Podkur (-->https://github.com/MikhailPodkur)
// for adding cyrillic 8x12 font, checkbox feature and RGB565 support.
//
// Gustavo Denardin
// for giving valuable suggestions regarding real-time os support.
//
// Samuel Kleiser
// for reporting bugs and giving examples how to improve µGUI.
/* -------------------------------------------------------------------------------- */
/* -- REVISION HISTORY -- */
/* -------------------------------------------------------------------------------- */
// Dec 20, 2015 V0.31 Checkbox component with all funtions added.
// Cyrillic font 8x12 added.
// RGB565 color schema added.
// Windows components font could be getted from current GUI by default
// Mar 18, 2015 V0.3 Driver support added.
// Window and object support added.
// Touch support added.
// Fixed some minor bugs.
//
// Oct 20, 2014 V0.2 Function UG_DrawRoundFrame() added.
// Function UG_FillRoundFrame() added.
// Function UG_DrawArc() added.
// Fixed some minor bugs.
//
// Oct 11, 2014 V0.1 First release.
/* -------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
/* -- µGUI - Generic GUI module (C)Achim Döbler, 2015 -- */
/* -------------------------------------------------------------------------------- */
// µGUI is a generic GUI module for embedded systems.
// This is a free software that is open for education, research and commercial
// developments under license policy of following terms.
//
// Copyright (C) 2015, Achim Döbler, all rights reserved.
// URL: http://www.embeddedlightning.com/
//
// * The µGUI module is a free software and there is NO WARRANTY.
// * No restriction on use. You can use, modify and redistribute it for
// personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
// * Redistributions of source code must retain the above copyright notice.
//
/* -------------------------------------------------------------------------------- */
/* -- MY SPECIAL THANKS GO TO -- */
/* -------------------------------------------------------------------------------- */
// Andrey Filimonov (-->https://github.com/Sermus)
// for giving valuable suggestions, reporting bugs and adding several new features.
// Andrey also put a lot of work in the implementaion of anti-aliased font support.
//
// Mikhail Podkur (-->https://github.com/MikhailPodkur)
// for adding cyrillic 8x12 font, checkbox feature and RGB565 support.
//
// Gustavo Denardin
// for giving valuable suggestions regarding real-time os support.
//
// Samuel Kleiser
// for reporting bugs and giving examples how to improve µGUI.
/* -------------------------------------------------------------------------------- */
/* -- REVISION HISTORY -- */
/* -------------------------------------------------------------------------------- */
// Dec 20, 2015 V0.31 Checkbox component with all funtions added.
// Cyrillic font 8x12 added.
// RGB565 color schema added.
// Windows components font could be getted from current GUI by default
// Mar 18, 2015 V0.3 Driver support added.
// Window and object support added.
// Touch support added.
// Fixed some minor bugs.
//
// Oct 20, 2014 V0.2 Function UG_DrawRoundFrame() added.
// Function UG_FillRoundFrame() added.
// Function UG_DrawArc() added.
// Fixed some minor bugs.
//
// Oct 11, 2014 V0.1 First release.
/* -------------------------------------------------------------------------------- */
56 changes: 28 additions & 28 deletions components/ugui/README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Introduction
## What is µGUI?
µGUI is a free and open source graphic library for embedded systems. It is platform-independent
and can be easily ported to almost any microcontroller system. As long as the display is capable
of showing graphics, µGUI is not restricted to a certain display technology. Therefore, display
technologies such as LCD, TFT, E-Paper, LED or OLED are supported. The whole module
consists of three files: **ugui.c**, **ugui.h** and **ugui_config.h**.

## µGUI Features
* µGUI supports any color, grayscale or monochrome display
* µGUI supports any display resolution
* µGUI supports multiple different displays
* µGUI supports any touch screen technology (e.g. AR, PCAP)
* µGUI supports windows and objects (e.g. button, textbox)
* µGUI supports platform-specific hardware acceleration
* 16 different fonts available
* cyrillic fonts supported
* TrueType font converter available ([https://github.com/AriZuu](https://github.com/AriZuu))
* integrated and free scalable system console
* basic geometric functions (e.g. line, circle, frame etc.)
* can be easily ported to almost any microcontroller system
* no risky dynamic memory allocation required

## µGUI Requirements
µGUI is platform-independent, so there is no need to use a certain embedded system. In order to
use µGUI, only two requirements are necessary:
* a C-function which is able to control pixels of the target display.
* integer types for the target platform have to be adjusted in ugui_config.h.
# Introduction
## What is µGUI?
µGUI is a free and open source graphic library for embedded systems. It is platform-independent
and can be easily ported to almost any microcontroller system. As long as the display is capable
of showing graphics, µGUI is not restricted to a certain display technology. Therefore, display
technologies such as LCD, TFT, E-Paper, LED or OLED are supported. The whole module
consists of three files: **ugui.c**, **ugui.h** and **ugui_config.h**.

## µGUI Features
* µGUI supports any color, grayscale or monochrome display
* µGUI supports any display resolution
* µGUI supports multiple different displays
* µGUI supports any touch screen technology (e.g. AR, PCAP)
* µGUI supports windows and objects (e.g. button, textbox)
* µGUI supports platform-specific hardware acceleration
* 16 different fonts available
* cyrillic fonts supported
* TrueType font converter available ([https://github.com/AriZuu](https://github.com/AriZuu))
* integrated and free scalable system console
* basic geometric functions (e.g. line, circle, frame etc.)
* can be easily ported to almost any microcontroller system
* no risky dynamic memory allocation required

## µGUI Requirements
µGUI is platform-independent, so there is no need to use a certain embedded system. In order to
use µGUI, only two requirements are necessary:
* a C-function which is able to control pixels of the target display.
* integer types for the target platform have to be adjusted in ugui_config.h.
Loading

0 comments on commit b0434e3

Please sign in to comment.