pebri86 / esplay-retro-emulation

Retro Emulation Collection for ESPlay Hardware, an ESP32 based game console
https://www.makerfabs.com/esplay-micro.html
MIT License
444 stars 88 forks source link

Thu 9 May 2019 14:29:14 EDT - added ILI9342 drivers #1

Closed 32teeth closed 5 years ago

32teeth commented 5 years ago

Files Added:

 - [x] /drivers/ili9342.h
 - [x] /drivers/ili9342.c

Modified:

added #define ILI9342

 - [x] /drivers/display.h
 - [x] /drivers/display.c

defining ILI9342 in both .c and .h file allows for include and execution of above ILI9342 SPI drivers to enable 320x240 2.0", 2.2", 2.3", 2.4" and 2.6" displays

it would be better to add this to each of the emulators sdkconfig file but that would be the next pull request

pebri86 commented 5 years ago

Nice contributions, i have merge your pull request manually because of conflict files, but it's ok. There is no need to manually add configuration to each emulator's sdkconfig. Actually, you just need to add new entry to menu config in Kconfig.projbuild files on drivers folder since this folder is simlink to each emulator, then just fire command make menuconfig on each emulator folder when compilation.

Thanks.