diff options
author | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:34:15 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2017-02-18 16:34:15 +0100 |
commit | 170869dea9a544335d2b0d98bb74eddc2afdc7e6 (patch) | |
tree | de35d2ba304bd813858d73f29b137e178f0e3295 /boards/base/Altera-MAX10-Neek/board_alteraframereader.h | |
parent | d3e995549655106a24d1089add89c1f674aa5d60 (diff) | |
download | uGFX-170869dea9a544335d2b0d98bb74eddc2afdc7e6.tar.gz uGFX-170869dea9a544335d2b0d98bb74eddc2afdc7e6.tar.bz2 uGFX-170869dea9a544335d2b0d98bb74eddc2afdc7e6.zip |
Added complete support for Altera Terasic MAX10 NEEK board
Diffstat (limited to 'boards/base/Altera-MAX10-Neek/board_alteraframereader.h')
-rw-r--r-- | boards/base/Altera-MAX10-Neek/board_alteraframereader.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/boards/base/Altera-MAX10-Neek/board_alteraframereader.h b/boards/base/Altera-MAX10-Neek/board_alteraframereader.h new file mode 100644 index 00000000..af6dca82 --- /dev/null +++ b/boards/base/Altera-MAX10-Neek/board_alteraframereader.h @@ -0,0 +1,30 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +#define SCREEN_WIDTH 800 +#define SCREEN_HEIGHT 480 +#define FRAMEREADER_BASE ALT_VIP_VFR_0_BASE + +#if GDISP_NEED_CONTROL + static void board_backlight(GDisplay* g, uint8_t percent) + { + (void) g; + (void) percent; + } + + static void board_contrast(GDisplay* g, uint8_t percent) + { + (void) g; + (void) percent; + } + + static void board_power(GDisplay* g, powermode_t pwr) + { + (void) g; + (void) pwr; + } +#endif |