mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
gfx: renamed GFX headers to avoid overlap on install
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
cf2b8c9a6e
commit
a88ec4237d
@ -1,5 +1,5 @@
|
||||
set (libname "ili9341")
|
||||
set (libdescription "libupm ILI9341 SPI LCD")
|
||||
set (module_src gfx.cxx ili9341.cxx)
|
||||
set (module_h gfx.h ili9341.h)
|
||||
set (module_src ili9341_gfx.cxx ili9341.cxx)
|
||||
set (module_h ili9341_gfx.h ili9341.h)
|
||||
upm_module_init()
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <mraa/common.hpp>
|
||||
#include <mraa/gpio.hpp>
|
||||
#include <mraa/spi.hpp>
|
||||
#include "gfx.h"
|
||||
#include "ili9341_gfx.h"
|
||||
|
||||
// Defines
|
||||
#define ILI9341_TFTWIDTH 240
|
||||
|
@ -24,7 +24,7 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "gfx.h"
|
||||
#include "ili9341_gfx.h"
|
||||
|
||||
using namespace upm;
|
||||
|
@ -5,9 +5,9 @@
|
||||
|
||||
%apply uint8_t *INPUT { uint8_t *addr }
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ili9341_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ili9341_gfx.h"
|
||||
%}
|
||||
|
||||
%{
|
||||
|
@ -1,9 +1,9 @@
|
||||
%module jsupm_ili9341
|
||||
%include "../upm.i"
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ili9341_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ili9341_gfx.h"
|
||||
%}
|
||||
|
||||
%include "ili9341.h"
|
||||
|
@ -6,9 +6,9 @@
|
||||
%feature("autodoc", "3");
|
||||
%rename("printString") print(std::string msg);
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ili9341_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ili9341_gfx.h"
|
||||
%}
|
||||
|
||||
%include "ili9341.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
set (libname "ssd1351")
|
||||
set (libdescription "libupm SSD1351 SPI LCD")
|
||||
set (module_src gfx.cxx ssd1351.cxx)
|
||||
set (module_h gfx.h ssd1351.h)
|
||||
set (module_src ssd1351_gfx.cxx ssd1351.cxx)
|
||||
set (module_h ssd1351_gfx.h ssd1351.h)
|
||||
upm_module_init()
|
||||
|
@ -6,9 +6,9 @@
|
||||
%ignore m_map;
|
||||
%ignore font;
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ssd1351_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ssd1351_gfx.h"
|
||||
%}
|
||||
|
||||
%include "ssd1351.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
%module jsupm_ssd1351
|
||||
%include "../upm.i"
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ssd1351_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ssd1351_gfx.h"
|
||||
%}
|
||||
|
||||
%include "ssd1351.h"
|
||||
|
@ -6,9 +6,9 @@
|
||||
%feature("autodoc", "3");
|
||||
%rename("printString") print(std::string msg);
|
||||
|
||||
%include "gfx.h"
|
||||
%include "ssd1351_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "ssd1351_gfx.h"
|
||||
%}
|
||||
|
||||
%include "ssd1351.h"
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <mraa/common.hpp>
|
||||
#include <mraa/gpio.hpp>
|
||||
#include <mraa/spi.hpp>
|
||||
#include "gfx.h"
|
||||
#include "ssd1351_gfx.h"
|
||||
|
||||
// Display Size
|
||||
#define SSD1351WIDTH 128
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gfx.h"
|
||||
#include "ssd1351_gfx.h"
|
||||
|
||||
using namespace upm;
|
||||
|
@ -1,5 +1,5 @@
|
||||
set (libname "st7735")
|
||||
set (libdescription "libupm SPI LCD")
|
||||
set (module_src gfx.cxx st7735.cxx)
|
||||
set (module_h gfx.h st7735.h)
|
||||
set (module_src st7735_gfx.cxx st7735.cxx)
|
||||
set (module_h st7735_gfx.h st7735.h)
|
||||
upm_module_init()
|
||||
|
@ -35,9 +35,9 @@
|
||||
$1 = (unsigned char *)JCALL2(GetByteArrayElements, jenv, $input, NULL);
|
||||
}
|
||||
|
||||
%include "gfx.h"
|
||||
%include "st7735_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "st7735_gfx.h"
|
||||
%}
|
||||
|
||||
%include "st7735.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
%module jsupm_st7735
|
||||
%include "../upm.i"
|
||||
|
||||
%include "gfx.h"
|
||||
%include "st7735_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "st7735_gfx.h"
|
||||
%}
|
||||
|
||||
%include "st7735.h"
|
||||
|
@ -6,9 +6,9 @@
|
||||
%feature("autodoc", "3");
|
||||
%rename("printString") print(std::string msg);
|
||||
|
||||
%include "gfx.h"
|
||||
%include "st7735_gfx.h"
|
||||
%{
|
||||
#include "gfx.h"
|
||||
#include "st7735_gfx.h"
|
||||
%}
|
||||
|
||||
%include "st7735.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <mraa/gpio.hpp>
|
||||
|
||||
#include <mraa/spi.hpp>
|
||||
#include "gfx.h"
|
||||
#include "st7735_gfx.h"
|
||||
|
||||
#define INITR_GREENTAB 0x0
|
||||
#define INITR_REDTAB 0x1
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gfx.h"
|
||||
#include "st7735_gfx.h"
|
||||
|
||||
using namespace upm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user