-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Asynchronous Graphics Library (#2357)
An asynchronous graphics management library intended for SPI-based displays. On first use several required python modules must be installed. Try building a sample application: ``` cd $SMING_HOME make fetch Graphics cd Libraries/Graphics/samples/Basic_Graphics make python-requirements make ``` Currently only the ILI9341 display has a driver, but you can use the virtual screen for testing. This is a display device for use by the Host Emulator. The 'display' is a python application which communicates with the Sming :cpp:class:`Graphics::Display::Virtual` display driver using a TCP socket. Graphics processing is handled using SDL2. To start the virtual screen server type ``make virtual-screen`` from your project directory. The default TCP port is 7780. If you need to change this, use:: make virtual-screen VSPORT=7780 The screen server's IP address is shown in the caption bar. Build and run your project in host mode as follows:: make SMING_ARCH=Host make run VSADDR=192.1.2.3
- Loading branch information
Showing
11 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule HardwareSPI
updated
17 files
+23 −22 | README.rst | |
+6 −0 | component.mk | |
+81 −37 | src/Arch/Esp8266/Controller.cpp | |
+236 −11 | src/Arch/Host/Controller.cpp | |
+15 −6 | src/Common.cpp | |
+67 −0 | src/Request.cpp | |
+18 −8 | src/StreamAdapter.cpp | |
+15 −6 | src/include/HSPI/Common.h | |
+25 −13 | src/include/HSPI/Controller.h | |
+27 −12 | src/include/HSPI/Data.h | |
+48 −9 | src/include/HSPI/Device.h | |
+16 −7 | src/include/HSPI/MemoryDevice.h | |
+18 −9 | src/include/HSPI/RAM/IS62-65.h | |
+18 −9 | src/include/HSPI/RAM/PSRAM64.h | |
+43 −26 | src/include/HSPI/Request.h | |
+17 −8 | src/include/HSPI/StreamAdapter.h | |
+189 −0 | src/include/HSPI/Test/MemCheckState.h |
Submodule TFT_S1D13781
updated
5 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This directory is for commonly-used python modules. Example usage: | ||
|
||
import os, sys | ||
|
||
sys.path.insert(1, os.path.expandvars('${SMING_HOME}/../Tools/Python')) | ||
|
||
from rjsmin import jsmin |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters