48#define ESD_TARGET_GRAPHICS(name, ...)
49#define ESD_TARGET_DISPLAY(name, ...)
50#define ESD_TARGET_PLATFORM(name, ...)
51#define ESD_TARGET_FLASH(name, ...)
52#define ESD_TARGET_TOUCH(name, ...)
56#define EVE_FT800 0x10800
57#define EVE_FT801 0x10801
58#define EVE_FT810 0x20810
59#define EVE_FT811 0x20811
60#define EVE_FT812 0x20812
61#define EVE_FT813 0x20813
62#define EVE_BT880 0x20880
63#define EVE_BT881 0x20881
64#define EVE_BT882 0x20882
65#define EVE_BT883 0x20883
66#define EVE_BT815 0x30815
67#define EVE_BT816 0x30816
68#define EVE_BT817 0x40817
69#define EVE_BT818 0x40818
111ESD_TARGET_GRAPHICS(ME810A_HV35R, DisplayName =
"ME810A-HV35R", IntegratedDisplay =
"ILI9488 (320x480)", SupportedFlash =
"(?=a)b", SupportedTouch =
"\b\w+RESISTIVE\w*\b", LibraryTargets =
"\b(FT81X|FT810)\b")
112ESD_TARGET_GRAPHICS(ME812A_WH50R, DisplayName = "ME812A-WH50R", SupportedDisplays = "\
b\w+WVGA\w*\
b", SupportedFlash = "(?=
a)
b", SupportedTouch = "\
b\w+RESISTIVE\w*\
b", LibraryTargets = "\
b(FT81X|FT812)\
b")
113ESD_TARGET_GRAPHICS(ME813A_WH50C, DisplayName = "ME813A-WH50C", SupportedDisplays = "\
b\w+WVGA\w*\
b", SupportedFlash = "(?=
a)
b", SupportedTouch = "\
b\w+FOCAL\w*\
b", LibraryTargets = "\
b(FT81X|FT813)\
b")
122ESD_TARGET_GRAPHICS(EVE_GRAPHICS_VM810C, DisplayName = "VM810C", SupportedFlash = "(?=
a)
b", SupportedTouch = "\
b\w+RESISTIVE\w*\
b", LibraryTargets = "\
b(FT81X|FT810)\
b")
123ESD_TARGET_GRAPHICS(EVE_GRAPHICS_VM816C, DisplayName = "VM816C", IntegratedFlash = "W25Q128", SupportedTouch = "\
b\w+RESISTIVE\w*\
b", LibraryTargets = "\
b(BT81X|BT816)\
b", FirmwareFolder = "BT815")
124ESD_TARGET_GRAPHICS(EVE_GRAPHICS_ME817EV, DisplayName = "ME817EV", IntegratedFlash = "W25Q128", SupportedTouch = "\
b\w+FOCAL\w*\
b|\
b\w+GOODIX\w*\
b", LibraryTargets = "\
b(BT81X|BT818)\
b", FirmwareFolder = "BT817")
126ESD_TARGET_GRAPHICS(EVE_GRAPHICS_GD3X_DAZZLER, DisplayName = "GD3X Dazzler", IntegratedDisplay = "HDMI 720p (1280x720)", IntegratedFlash = "W25Q64", SupportedTouch = "\
b\w+DISABLED\w*\
b", LibraryTargets = "\
b(BT81X|BT815)\
b", FirmwareFolder = "BT815")
127ESD_TARGET_GRAPHICS(EVE_GRAPHICS_IDM2040, DisplayName = "IDM2040", IntegratedFlash = "W25Q128", SupportedTouch = "\
b\w+FOCAL\w*\
b|\
b\w+GOODIX\w*\
b", IntegratedPlatform = "IDM2040EV", LibraryTargets = "\
b(BT81X|BT818)\
b", FirmwareFolder = "BT817")
150ESD_TARGET_PLATFORM(EVE_PLATFORM_BT8XXEMU, DisplayName = "Emulator", Icon = ":/icons/game-monitor.png", OverrideSupport, SupportedFlash = "\
b\w*_W25Q\w*\
b|\
b\w*_MX25L\w*\
b", SupportedArchitectures = "\bBT8XXEMU\
b")
155ESD_TARGET_PLATFORM(MM900EV_LITE, DisplayName = "MM900EV-Lite", SupportedArchitectures = "\bFT32\
b")
159ESD_TARGET_PLATFORM(EVE_PLATFORM_FT4222, DisplayName = "FT4222", Icon = ":/icons/terminal.png", SupportedArchitectures = "\bFT4222\
b")
160ESD_TARGET_PLATFORM(EVE_PLATFORM_MPSSE, DisplayName = "MPSSE", Icon = ":/icons/terminal.png", SupportedArchitectures = "\bMPSSE\
b")
161ESD_TARGET_PLATFORM(EVE_PLATFORM_RP2040, DisplayName = "Rapberry Pi Pico", SupportedArchitectures = "\bPICO\
b")
162ESD_TARGET_PLATFORM(EVE_PLATFORM_MM2040EV, DisplayName = "MM2040EV", SupportedArchitectures = "\bPICO\
b")
173ESD_TARGET_FLASH(EVE_FLASH_MX25L256, DisplayName = "MX25L256", FlashFirmware = "unified.blob")
174ESD_TARGET_FLASH(EVE_FLASH_MX25L512, DisplayName = "MX25L512", FlashFirmware = "unified.blob")
175ESD_TARGET_FLASH(EVE_FLASH_MX25L1024, DisplayName = "MX25L1024", FlashFirmware = "unified.blob")
176ESD_TARGET_FLASH(EVE_FLASH_MX25L2048, DisplayName = "MX25L2048", FlashFirmware = "unified.blob")
280#if defined(BT8XXEMU_PLATFORM)
281#undef BT8XXEMU_PLATFORM
282#define EVE_PLATFORM_BT8XXEMU
283#elif defined(MPSSE_PLATFORM)
285#define EVE_PLATFORM_MPSSE
286#elif defined(FT4222_PLATFORM)
287#undef FT4222_PLATFORM
288#define EVE_PLATFORM_FT4222
296#if defined(VM800B35A_BK) || defined(VM800B43A_BK) \
297 || defined(VM800B50A_BK) || defined(VM801B43A_BK) \
298 || defined(VM801B50A_BK) || defined(VM800C35A_N) \
299 || defined(VM800C43A_N) || defined(VM800C35A_D) \
300 || defined(VM800C43A_D) || defined(VM800C50A_D) \
301 || defined(ME812A_WH50R) || defined(ME812AU_WH50R) \
302 || defined(ME813A_WH50C) || defined(ME813AU_WH50C) \
303 || defined(VM810C50A_D) || defined(VM810C50A_N) \
304 || defined(ME810A_HV35R) || defined(VM816C50A_D) \
305 || defined(VM816C50A_N) || defined(VM816CU50A_D) \
306 || defined(VM816CU50A_N) || defined(ME810AU_HV35R) \
307 || defined(ME813A_WV7C) || defined(EVE_MODULE_PANL) \
309 || defined(EVE_GRAPHICS_VM800C) || defined(EVE_GRAPHICS_VM810C) \
310 || defined(EVE_GRAPHICS_VM816C) || defined(EVE_GRAPHICS_ME817EV) \
311 || defined(EVE_GRAPHICS_FT800) || defined(EVE_GRAPHICS_FT801) \
312 || defined(EVE_GRAPHICS_FT810) || defined(EVE_GRAPHICS_FT811) \
313 || defined(EVE_GRAPHICS_FT812) || defined(EVE_GRAPHICS_FT813) \
314 || defined(EVE_GRAPHICS_BT880) || defined(EVE_GRAPHICS_BT881) \
315 || defined(EVE_GRAPHICS_BT882) || defined(EVE_GRAPHICS_BT883) \
316 || defined(EVE_GRAPHICS_BT815) || defined(EVE_GRAPHICS_BT816) \
317 || defined(EVE_GRAPHICS_BT817) || defined(EVE_GRAPHICS_BT818) \
318 || defined(EVE_GRAPHICS_GD3X_DAZZLER) \
319 || defined(EVE_GRAPHICS_IDM2040)
320#define EVE_GRAPHICS_AVAILABLE
323#if defined(EVE_DISPLAY_QVGA) || defined(EVE_DISPLAY_WQVGA) \
324 || defined(EVE_DISPLAY_WVGA) || defined(EVE_DISPLAY_WSVGA) \
325 || defined(EVE_DISPLAY_WXGA) \
326 || defined(EVE_DISPLAY_ILI9488_HVGA_PORTRAIT) \
327 || defined(EVE_DISPLAY_KD2401_HVGA_PORTRAIT)
328#define EVE_DISPLAY_AVAILABLE
331#if defined(ESD_SIMULATION) || defined(EVE_PLATFORM_BT8XXEMU) \
332 || defined(MM900EV1A) || defined(MM900EV1B) \
333 || defined(MM900EV2A) || defined(MM900EV3A) \
334 || defined(MM900EV_LITE) || defined(MM930MINI) \
335 || defined(MM930LITE) || defined(MM932LC) \
336 || defined(EVE_PLATFORM_FT4222) || defined(EVE_PLATFORM_MPSSE) \
337 || defined(EVE_PLATFORM_RP2040) || defined(EVE_PLATFORM_MM2040EV)
338#define EVE_PLATFORM_AVAILABLE
341#if defined(EVE_FLASH_W25Q16) || defined(EVE_FLASH_W25Q32) \
342 || defined(EVE_FLASH_W25Q64) || defined(EVE_FLASH_W25Q128) \
343 || defined(EVE_FLASH_MX25L16) || defined(EVE_FLASH_MX25L32) \
344 || defined(EVE_FLASH_MX25L64) || defined(EVE_FLASH_MX25L128) \
345 || defined(EVE_FLASH_MX25L256) || defined(EVE_FLASH_MX25L512) \
346 || defined(EVE_FLASH_MX25L1024) || defined(EVE_FLASH_MX25L2048)
347#define EVE_FLASH_AVAILABLE
350#if defined(EVE_TOUCH_FOCAL) || defined(EVE_TOUCH_GOODIX) || defined(EVE_TOUCH_RESISTIVE) || defined(EVE_TOUCH_DISABLED)
351#define EVE_TOUCH_AVAILABLE
354#if !defined(EVE_PLATFORM_AVAILABLE) && defined(WIN32)
355#define EVE_MULTI_PLATFORM_TARGET
384#if defined(VM800P35A_BK)
385#Error Host ATMEGA328P is not supported
387#elif defined(VM800P43A_BK)
388#Host ATMEGA328P is not supported
390#elif defined(VM800P50A_BK)
391#Host ATMEGA328P is not supported
393#elif defined(VM801P43A_BK)
394#Host ATMEGA328P is not supported
396#elif defined(VM801P50A_BK)
397#Host ATMEGA328P is not supported
399#elif defined(VM800B35A_BK)
401#define ENABLE_SPI_SINGLE
402#define RESISTANCE_THRESHOLD (1800)
404#ifndef EVE_DISPLAY_AVAILABLE
405#define EVE_DISPLAY_AVAILABLE
406#define DISPLAY_RESOLUTION_QVGA
409#ifndef EVE_TOUCH_AVAILABLE
410#define EVE_TOUCH_AVAILABLE
411#define EVE_TOUCH_RESISTIVE
414#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
415#define EVE_PLATFORM_AVAILABLE
416#define EVE_PLATFORM_MPSSE
419#elif defined(VM800B43A_BK) || defined(VM800B50A_BK) || defined(VM800C43A_D) || defined(VM800C50A_D)
421#define ENABLE_SPI_SINGLE
422#define RESISTANCE_THRESHOLD (1800)
424#ifndef EVE_DISPLAY_AVAILABLE
425#define EVE_DISPLAY_AVAILABLE
426#define DISPLAY_RESOLUTION_WQVGA
429#ifndef EVE_TOUCH_AVAILABLE
430#define EVE_TOUCH_AVAILABLE
431#define EVE_TOUCH_FOCAL
434#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
435#define EVE_PLATFORM_AVAILABLE
436#define EVE_PLATFORM_MPSSE
439#elif defined(VM801B43A_BK) || defined(VM801B50A_BK)
441#define ENABLE_SPI_SINGLE
443#ifndef EVE_DISPLAY_AVAILABLE
444#define EVE_DISPLAY_AVAILABLE
445#define DISPLAY_RESOLUTION_WQVGA
448#ifndef EVE_TOUCH_AVAILABLE
449#define EVE_TOUCH_AVAILABLE
450#define EVE_TOUCH_FOCAL
453#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
454#define EVE_PLATFORM_AVAILABLE
455#define EVE_PLATFORM_MPSSE
458#elif defined(VM800C35A_N)
461#define ENABLE_SPI_SINGLE
462#define RESISTANCE_THRESHOLD (1800)
464#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
465#define EVE_PLATFORM_AVAILABLE
466#define EVE_PLATFORM_MPSSE
469#if defined(VM800C35A_D)
471#ifndef EVE_DISPLAY_AVAILABLE
472#define EVE_DISPLAY_AVAILABLE
473#define DISPLAY_RESOLUTION_QVGA
476#ifndef EVE_TOUCH_AVAILABLE
477#define EVE_TOUCH_AVAILABLE
478#define EVE_TOUCH_RESISTIVE
483#elif defined(VM800C43A_N)
486#define ENABLE_SPI_SINGLE
487#define RESISTANCE_THRESHOLD (1800)
489#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
490#define EVE_PLATFORM_AVAILABLE
491#define EVE_PLATFORM_MPSSE
494#elif defined(ME812A_WH50R)
497#define ENABLE_SPI_QUAD
498#define RESISTANCE_THRESHOLD (1800)
499#define EVE_USE_INTERNAL_OSC
501#ifndef EVE_DISPLAY_AVAILABLE
502#define EVE_DISPLAY_AVAILABLE
503#define DISPLAY_RESOLUTION_WVGA
508#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
509#define EVE_PLATFORM_AVAILABLE
510#define EVE_PLATFORM_FT4222
513#ifndef EVE_TOUCH_AVAILABLE
514#define EVE_TOUCH_AVAILABLE
515#define EVE_TOUCH_RESISTIVE
520#elif defined(ME813A_WH50C)
523#define ENABLE_SPI_QUAD
524#define EVE_USE_INTERNAL_OSC
526#ifndef EVE_DISPLAY_AVAILABLE
527#define EVE_DISPLAY_AVAILABLE
528#define DISPLAY_RESOLUTION_WVGA
533#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
534#define EVE_PLATFORM_AVAILABLE
535#define EVE_PLATFORM_FT4222
538#ifndef EVE_TOUCH_AVAILABLE
539#define EVE_TOUCH_AVAILABLE
540#define EVE_TOUCH_FOCAL
545#elif defined(VM810C50A_N)
548#define ENABLE_SPI_SINGLE
550#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
551#define EVE_PLATFORM_AVAILABLE
552#define EVE_PLATFORM_MPSSE
555#if defined(VM810C50A_D)
557#ifndef EVE_DISPLAY_AVAILABLE
558#define EVE_DISPLAY_AVAILABLE
559#define DISPLAY_RESOLUTION_WVGA
562#ifndef EVE_TOUCH_AVAILABLE
563#define EVE_TOUCH_AVAILABLE
564#define EVE_TOUCH_RESISTIVE
569#elif defined(ME810A_HV35R)
571#define ENABLE_SPI_QUAD
572#define RESISTANCE_THRESHOLD (1800)
573#define EVE_USE_INTERNAL_OSC
575#ifndef EVE_DISPLAY_AVAILABLE
576#define EVE_DISPLAY_AVAILABLE
577#define DISPLAY_RESOLUTION_HVGA_PORTRAIT
578#define ENABLE_ILI9488_HVGA_PORTRAIT
583#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
584#define EVE_PLATFORM_AVAILABLE
585#define EVE_PLATFORM_FT4222
588#ifndef EVE_TOUCH_AVAILABLE
589#define EVE_TOUCH_AVAILABLE
590#define EVE_TOUCH_RESISTIVE
595#elif defined(VM816C50A_N)
598#define ENABLE_SPI_SINGLE
599#define RESISTANCE_THRESHOLD (1800)
601#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
602#define EVE_PLATFORM_AVAILABLE
603#define EVE_PLATFORM_MPSSE
606#ifndef EVE_FLASH_AVAILABLE
607#define EVE_FLASH_AVAILABLE
608#define EVE_FLASH_MX25L128
611#if defined(VM816C50A_D)
613#ifndef EVE_DISPLAY_AVAILABLE
614#define EVE_DISPLAY_AVAILABLE
615#define DISPLAY_RESOLUTION_WVGA
618#ifndef EVE_TOUCH_AVAILABLE
619#define EVE_TOUCH_AVAILABLE
620#define EVE_TOUCH_RESISTIVE
625#elif defined(VM816CU50A_N)
628#define ENABLE_SPI_QUAD
629#define RESISTANCE_THRESHOLD (1800)
631#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
632#define EVE_PLATFORM_AVAILABLE
633#define EVE_PLATFORM_FT4222
636#ifndef EVE_FLASH_AVAILABLE
637#define EVE_FLASH_AVAILABLE
638#define EVE_FLASH_MX25L128
641#if defined(VM816CU50A_D)
643#ifndef EVE_DISPLAY_AVAILABLE
644#define EVE_DISPLAY_AVAILABLE
645#define DISPLAY_RESOLUTION_WVGA
648#ifndef EVE_TOUCH_AVAILABLE
649#define EVE_TOUCH_AVAILABLE
650#define EVE_TOUCH_RESISTIVE
655#elif defined(ME813A_WV7C)
658#define ENABLE_SPI_QUAD
660#ifndef EVE_DISPLAY_AVAILABLE
661#define EVE_DISPLAY_AVAILABLE
662#define DISPLAY_RESOLUTION_WVGA
667#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
668#define EVE_PLATFORM_AVAILABLE
669#define EVE_PLATFORM_FT4222
672#ifndef EVE_TOUCH_AVAILABLE
673#define EVE_TOUCH_AVAILABLE
674#define EVE_TOUCH_FOCAL
679#elif defined(EVE_GRAPHICS_VM816C)
682#define ENABLE_SPI_QUAD
683#define RESISTANCE_THRESHOLD (1800)
685#ifndef EVE_DISPLAY_AVAILABLE
686#define EVE_DISPLAY_AVAILABLE
687#define DISPLAY_RESOLUTION_WVGA
690#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
691#define EVE_PLATFORM_AVAILABLE
692#define EVE_PLATFORM_FT4222
695#ifndef EVE_FLASH_AVAILABLE
696#define EVE_FLASH_AVAILABLE
697#define EVE_FLASH_W25Q128
700#ifndef EVE_TOUCH_AVAILABLE
701#define EVE_TOUCH_AVAILABLE
702#define EVE_TOUCH_RESISTIVE
705#elif defined(EVE_GRAPHICS_ME817EV)
708#define ENABLE_SPI_QUAD
710#ifndef EVE_DISPLAY_AVAILABLE
711#define EVE_DISPLAY_AVAILABLE
712#define DISPLAY_RESOLUTION_WVGA
715#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
716#define EVE_PLATFORM_AVAILABLE
717#define EVE_PLATFORM_FT4222
720#ifndef EVE_FLASH_AVAILABLE
721#define EVE_FLASH_AVAILABLE
722#define EVE_FLASH_W25Q128
725#ifndef EVE_TOUCH_AVAILABLE
726#define EVE_TOUCH_AVAILABLE
727#ifdef DISPLAY_RESOLUTION_WXGA
728#define EVE_TOUCH_GOODIX
730#define EVE_TOUCH_FOCAL
734#elif defined(EVE_GRAPHICS_VM810C)
737#define ENABLE_SPI_QUAD
738#define RESISTANCE_THRESHOLD (1800)
740#ifndef EVE_DISPLAY_AVAILABLE
741#define EVE_DISPLAY_AVAILABLE
742#define DISPLAY_RESOLUTION_WVGA
745#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
746#define EVE_PLATFORM_AVAILABLE
747#define EVE_PLATFORM_FT4222
750#ifndef EVE_TOUCH_AVAILABLE
751#define EVE_TOUCH_AVAILABLE
752#define EVE_TOUCH_RESISTIVE
755#elif defined(EVE_GRAPHICS_VM800C)
758#define ENABLE_SPI_QUAD
759#define RESISTANCE_THRESHOLD (1800)
761#ifndef EVE_DISPLAY_AVAILABLE
762#define EVE_DISPLAY_AVAILABLE
763#define DISPLAY_RESOLUTION_WQVGA
766#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
767#define EVE_PLATFORM_AVAILABLE
768#define EVE_PLATFORM_MPSSE
771#ifndef EVE_TOUCH_AVAILABLE
772#define EVE_TOUCH_AVAILABLE
773#define EVE_TOUCH_RESISTIVE
776#elif defined(EVE_GRAPHICS_GD3X_DAZZLER)
779#define ENABLE_SPI_QUAD
780#define EVE_USE_INTERNAL_OSC
782#ifndef EVE_DISPLAY_AVAILABLE
783#define EVE_DISPLAY_AVAILABLE
784#define DISPLAY_RESOLUTION_HDTV
787#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
788#define EVE_PLATFORM_AVAILABLE
789#define EVE_PLATFORM_RP2040
792#ifndef EVE_FLASH_AVAILABLE
793#define EVE_FLASH_AVAILABLE
794#define EVE_FLASH_W25Q64
797#ifndef EVE_TOUCH_AVAILABLE
798#define EVE_TOUCH_AVAILABLE
799#define EVE_TOUCH_DISABLED
802#elif defined(EVE_GRAPHICS_IDM2040)
805#define ENABLE_SPI_QUAD
807#ifndef EVE_DISPLAY_AVAILABLE
808#define EVE_DISPLAY_AVAILABLE
809#define DISPLAY_RESOLUTION_WVGA
812#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
813#define EVE_PLATFORM_AVAILABLE
814#define EVE_PLATFORM_RP2040
817#ifndef EVE_FLASH_AVAILABLE
818#define EVE_FLASH_AVAILABLE
819#define EVE_FLASH_W25Q128
822#ifndef EVE_TOUCH_AVAILABLE
823#define EVE_TOUCH_AVAILABLE
824#ifdef DISPLAY_RESOLUTION_WXGA
825#define EVE_TOUCH_GOODIX
827#define EVE_TOUCH_FOCAL
834#define ENABLE_SPI_QUAD
836#ifndef EVE_DISPLAY_AVAILABLE
837#define EVE_DISPLAY_AVAILABLE
838#define DISPLAY_RESOLUTION_HVGA_PORTRAIT
839#define ENABLE_KD2401_HVGA_PORTRAIT
842#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
843#define EVE_PLATFORM_AVAILABLE
844#ifndef FT900_PLATFORM
845#define FT900_PLATFORM
847#define EVE_MODULE_PANL
848#define malloc pvPortMalloc
849#define calloc vPortCalloc
850#define free vPortFree
851#define PANL_HEAP_SIZE (20 * 1024)
852#define TINYPRINTF_OVERRIDE_LIBC (0)
858#define ENABLE_SPI_QUAD
860#ifndef EVE_DISPLAY_AVAILABLE
861#define EVE_DISPLAY_AVAILABLE
862#define DISPLAY_RESOLUTION_WVGA
865#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
866#define EVE_PLATFORM_AVAILABLE
867#ifndef FT900_PLATFORM
868#define FT900_PLATFORM
870#define EVE_MODULE_PANL
871#define malloc pvPortMalloc
872#define calloc vPortCalloc
873#define free vPortFree
874#define PANL_HEAP_SIZE (20 * 1024)
875#define TINYPRINTF_OVERRIDE_LIBC (0)
878#elif defined(PANL70PLUS)
881#define ENABLE_SPI_QUAD
883#ifndef EVE_DISPLAY_AVAILABLE
884#define EVE_DISPLAY_AVAILABLE
885#define DISPLAY_RESOLUTION_WVGA
888#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
889#define EVE_PLATFORM_AVAILABLE
890#ifndef FT900_PLATFORM
891#define FT900_PLATFORM
893#define EVE_MODULE_PANL
894#define malloc pvPortMalloc
895#define calloc vPortCalloc
896#define free vPortFree
897#define PANL_HEAP_SIZE (20 * 1024)
898#define TINYPRINTF_OVERRIDE_LIBC (0)
903#define ENABLE_SPI_QUAD
905#ifndef EVE_DISPLAY_AVAILABLE
906#define EVE_DISPLAY_AVAILABLE
907#define DISPLAY_RESOLUTION_WVGA
910#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
911#define EVE_PLATFORM_AVAILABLE
913#ifndef FT900_PLATFORM
914#define FT900_PLATFORM
916#define EVE_MODULE_PANL
917#define malloc pvPortMalloc
918#define calloc vPortCalloc
919#define free vPortFree
921#define printf tfp_printf
922#define iprintf tfp_printf
923#define PANL_HEAP_SIZE (20 * 1024)
924#define TINYPRINTF_OVERRIDE_LIBC (0)
927#elif defined(EVE_GRAPHICS_FT800)
930#define ENABLE_SPI_QUAD
931#define RESISTANCE_THRESHOLD (1800)
933#ifndef EVE_DISPLAY_AVAILABLE
934#define EVE_DISPLAY_AVAILABLE
935#define DISPLAY_RESOLUTION_QVGA
938#ifndef EVE_TOUCH_AVAILABLE
939#define EVE_TOUCH_AVAILABLE
940#define EVE_TOUCH_RESISTIVE
943#elif defined(EVE_GRAPHICS_FT801)
947#ifndef EVE_DISPLAY_AVAILABLE
948#define EVE_DISPLAY_AVAILABLE
949#define DISPLAY_RESOLUTION_WQVGA
952#elif defined(EVE_GRAPHICS_FT810)
956#ifndef EVE_DISPLAY_AVAILABLE
957#define EVE_DISPLAY_AVAILABLE
958#define DISPLAY_RESOLUTION_QVGA
961#ifndef EVE_TOUCH_AVAILABLE
962#define EVE_TOUCH_AVAILABLE
963#define EVE_TOUCH_RESISTIVE
966#elif defined(EVE_GRAPHICS_FT811)
969#define ENABLE_SPI_QUAD
971#ifndef EVE_DISPLAY_AVAILABLE
972#define EVE_DISPLAY_AVAILABLE
973#define DISPLAY_RESOLUTION_WVGA
976#elif defined(EVE_GRAPHICS_FT812)
978#ifndef EVE_DISPLAY_AVAILABLE
979#define EVE_DISPLAY_AVAILABLE
980#define DISPLAY_RESOLUTION_QVGA
983#ifndef EVE_TOUCH_AVAILABLE
984#define EVE_TOUCH_AVAILABLE
985#define EVE_TOUCH_RESISTIVE
988#elif defined(EVE_GRAPHICS_FT813)
990#ifndef EVE_DISPLAY_AVAILABLE
991#define EVE_DISPLAY_AVAILABLE
992#define DISPLAY_RESOLUTION_QVGA
995#elif defined(EVE_GRAPHICS_BT880)
999#ifndef EVE_DISPLAY_AVAILABLE
1000#define EVE_DISPLAY_AVAILABLE
1001#define DISPLAY_RESOLUTION_QVGA
1004#ifndef EVE_TOUCH_AVAILABLE
1005#define EVE_TOUCH_AVAILABLE
1006#define EVE_TOUCH_RESISTIVE
1009#elif defined(EVE_GRAPHICS_BT881)
1012#define ENABLE_SPI_QUAD
1014#ifndef EVE_DISPLAY_AVAILABLE
1015#define EVE_DISPLAY_AVAILABLE
1016#define DISPLAY_RESOLUTION_WVGA
1019#elif defined(EVE_GRAPHICS_BT882)
1021#ifndef EVE_DISPLAY_AVAILABLE
1022#define EVE_DISPLAY_AVAILABLE
1023#define DISPLAY_RESOLUTION_QVGA
1026#ifndef EVE_TOUCH_AVAILABLE
1027#define EVE_TOUCH_AVAILABLE
1028#define EVE_TOUCH_RESISTIVE
1031#elif defined(EVE_GRAPHICS_BT883)
1033#ifndef EVE_DISPLAY_AVAILABLE
1034#define EVE_DISPLAY_AVAILABLE
1035#define DISPLAY_RESOLUTION_QVGA
1038#elif defined(EVE_GRAPHICS_BT815)
1041#define ENABLE_SPI_QUAD
1043#ifndef EVE_DISPLAY_AVAILABLE
1044#define EVE_DISPLAY_AVAILABLE
1045#define DISPLAY_RESOLUTION_WVGA
1048#ifndef EVE_FLASH_AVAILABLE
1049#define EVE_FLASH_AVAILABLE
1050#define EVE_FLASH_MX25L128
1052#ifndef EVE_TOUCH_AVAILABLE
1053#define EVE_TOUCH_AVAILABLE
1054#define EVE_TOUCH_FOCAL
1057#elif defined(EVE_GRAPHICS_BT816)
1060#define ENABLE_SPI_QUAD
1061#define RESISTANCE_THRESHOLD (-1)
1063#ifndef EVE_DISPLAY_AVAILABLE
1064#define EVE_DISPLAY_AVAILABLE
1065#define DISPLAY_RESOLUTION_WVGA
1068#ifndef EVE_FLASH_AVAILABLE
1069#define EVE_FLASH_AVAILABLE
1070#define EVE_FLASH_MX25L128
1073#ifndef EVE_TOUCH_AVAILABLE
1074#define EVE_TOUCH_AVAILABLE
1075#define EVE_TOUCH_RESISTIVE
1078#elif defined(EVE_GRAPHICS_BT817)
1081#define ENABLE_SPI_QUAD
1083#ifndef EVE_DISPLAY_AVAILABLE
1084#define EVE_DISPLAY_AVAILABLE
1085#define DISPLAY_RESOLUTION_WVGA
1088#ifndef EVE_FLASH_AVAILABLE
1089#define EVE_FLASH_AVAILABLE
1090#define EVE_FLASH_MX25L128
1093#ifndef EVE_TOUCH_AVAILABLE
1094#define EVE_TOUCH_AVAILABLE
1095#define EVE_TOUCH_FOCAL
1098#elif defined(EVE_GRAPHICS_BT818)
1101#define ENABLE_SPI_QUAD
1102#define RESISTANCE_THRESHOLD (1800)
1104#ifndef EVE_DISPLAY_AVAILABLE
1105#define EVE_DISPLAY_AVAILABLE
1106#define DISPLAY_RESOLUTION_WVGA
1109#ifndef EVE_FLASH_AVAILABLE
1110#define EVE_FLASH_AVAILABLE
1111#define EVE_FLASH_MX25L128
1114#ifndef EVE_TOUCH_AVAILABLE
1115#define EVE_TOUCH_AVAILABLE
1116#define EVE_TOUCH_RESISTIVE
1122#if defined(FT800_ENABLE) || defined(FT801_ENABLE)
1127#if defined(FT810_ENABLE) || defined(FT811_ENABLE) || defined(FT812_ENABLE) || defined(FT813_ENABLE)
1132#if defined(BT880_ENABLE) || defined(BT881_ENABLE) || defined(BT882_ENABLE) || defined(BT883_ENABLE)
1137#if defined(BT815_ENABLE) || defined(BT816_ENABLE)
1142#if defined(BT817_ENABLE) || defined(BT818_ENABLE)
1143#define BT81XA_ENABLE
1147#if defined(FT800_ENABLE)
1148#define EVE_SUPPORT_CHIPID EVE_FT800
1149#define EVE_SUPPORT_GEN EVE1
1150#define FT_800_ENABLE
1151#elif defined(FT801_ENABLE)
1152#define EVE_SUPPORT_CHIPID EVE_FT801
1153#define EVE_SUPPORT_GEN EVE1
1154#define FT_801_ENABLE
1155#elif defined(FT810_ENABLE)
1156#define EVE_SUPPORT_CHIPID EVE_FT810
1157#define EVE_SUPPORT_GEN EVE2
1158#define FT_810_ENABLE
1159#elif defined(FT811_ENABLE)
1160#define EVE_SUPPORT_CHIPID EVE_FT811
1161#define EVE_SUPPORT_GEN EVE2
1162#define FT_811_ENABLE
1163#elif defined(FT812_ENABLE)
1164#define EVE_SUPPORT_CHIPID EVE_FT812
1165#define EVE_SUPPORT_GEN EVE2
1166#define FT_812_ENABLE
1167#elif defined(FT813_ENABLE)
1168#define EVE_SUPPORT_CHIPID EVE_FT813
1169#define EVE_SUPPORT_GEN EVE2
1170#define FT_813_ENABLE
1171#elif defined(BT880_ENABLE)
1172#define EVE_SUPPORT_CHIPID EVE_BT880
1173#define EVE_SUPPORT_GEN EVE2
1174#define BT_880_ENABLE
1175#elif defined(BT881_ENABLE)
1176#define EVE_SUPPORT_CHIPID EVE_BT881
1177#define EVE_SUPPORT_GEN EVE2
1178#define BT_881_ENABLE
1179#elif defined(BT882_ENABLE)
1180#define EVE_SUPPORT_CHIPID EVE_BT882
1181#define EVE_SUPPORT_GEN EVE2
1182#define BT_882_ENABLE
1183#elif defined(BT883_ENABLE)
1184#define EVE_SUPPORT_CHIPID EVE_BT883
1185#define EVE_SUPPORT_GEN EVE2
1186#define BT_883_ENABLE
1187#elif defined(BT815_ENABLE)
1188#define EVE_SUPPORT_CHIPID EVE_BT815
1189#define EVE_SUPPORT_GEN EVE3
1190#define BT_815_ENABLE
1191#elif defined(BT816_ENABLE)
1192#define EVE_SUPPORT_CHIPID EVE_BT816
1193#define EVE_SUPPORT_GEN EVE3
1194#define BT_816_ENABLE
1195#elif defined(BT817_ENABLE)
1196#define EVE_SUPPORT_CHIPID EVE_BT817
1197#define EVE_SUPPORT_GEN EVE4
1198#define BT_817_ENABLE
1199#elif defined(BT818_ENABLE)
1200#define EVE_SUPPORT_CHIPID EVE_BT818
1201#define EVE_SUPPORT_GEN EVE4
1202#define BT_818_ENABLE
1205#if defined(FT80X_ENABLE)
1206#define FT_80X_ENABLE
1207#elif defined(FT81X_ENABLE)
1208#define FT_81X_ENABLE
1209#elif defined(BT88X_ENABLE)
1210#define BT_88X_ENABLE
1211#elif defined(BT81X_ENABLE)
1212#define BT_81X_ENABLE
1213#elif defined(BT81XA_ENABLE)
1214#define BT_81XA_ENABLE
1221#if defined(EVE_DISPLAY_QVGA)
1222#define DISPLAY_RESOLUTION_QVGA
1223#elif defined(EVE_DISPLAY_WQVGA)
1224#define DISPLAY_RESOLUTION_WQVGA
1225#elif defined(EVE_DISPLAY_WVGA)
1226#define DISPLAY_RESOLUTION_WVGA
1227#elif defined(EVE_DISPLAY_WSVGA)
1228#define DISPLAY_RESOLUTION_WSVGA
1229#elif defined(EVE_DISPLAY_WXGA)
1230#define DISPLAY_RESOLUTION_WXGA
1231#elif defined(EVE_DISPLAY_ILI9488_HVGA_PORTRAIT)
1232#define DISPLAY_RESOLUTION_HVGA_PORTRAIT
1233#define ENABLE_ILI9488_HVGA_PORTRAIT
1234#elif defined(EVE_DISPLAY_KD2401_HVGA_PORTRAIT)
1235#define DISPLAY_RESOLUTION_HVGA_PORTRAIT
1236#define ENABLE_KD2401_HVGA_PORTRAIT
1239#ifndef EVE_DISPLAY_REFRESH
1240#define EVE_DISPLAY_REFRESH 0
1248#if defined(ESD_SIMULATION) || defined(EVE_DEFINE_FLASH)
1249#if defined(EVE_FLASH_W25Q16)
1250#define EVE_FLASH_W25Q
1251#define EVE_FLASH_SIZE 2
1252#elif defined(EVE_FLASH_W25Q32)
1253#define EVE_FLASH_W25Q
1254#define EVE_FLASH_SIZE 4
1255#elif defined(EVE_FLASH_W25Q64)
1256#define EVE_FLASH_W25Q
1257#define EVE_FLASH_SIZE 8
1258#elif defined(EVE_FLASH_W25Q128)
1259#define EVE_FLASH_W25Q
1260#define EVE_FLASH_SIZE 16
1261#elif defined(EVE_FLASH_GOODIX)
1262#define EVE_FLASH_SIZE 16
1263#elif defined(EVE_FLASH_MX25L16)
1264#define EVE_FLASH_MX25L
1265#define EVE_FLASH_SIZE 2
1266#elif defined(EVE_FLASH_MX25L32)
1267#define EVE_FLASH_MX25L
1268#define EVE_FLASH_SIZE 4
1269#elif defined(EVE_FLASH_MX25L64)
1270#define EVE_FLASH_MX25L
1271#define EVE_FLASH_SIZE 8
1272#elif defined(EVE_FLASH_MX25L128)
1273#define EVE_FLASH_MX25L
1274#define EVE_FLASH_SIZE 16
1275#elif defined(EVE_FLASH_MX25L256)
1276#define EVE_FLASH_MX25L
1277#define EVE_FLASH_SIZE 32
1278#elif defined(EVE_FLASH_MX25L512)
1279#define EVE_FLASH_MX25L
1280#define EVE_FLASH_SIZE 64
1281#elif defined(EVE_FLASH_MX25L1024)
1282#define EVE_FLASH_MX25L
1283#define EVE_FLASH_SIZE 128
1284#elif defined(EVE_FLASH_MX25L2048)
1285#define EVE_FLASH_MX25L
1286#define EVE_FLASH_SIZE 256
1289#if defined(ESD_SIMULATION)
1290#if (EVE_SUPPORT_CHIPID >= EVE_BT817)
1292#define EVE_FLASH_FIRMWARE L"BT817/unified.blob"
1294#define EVE_FLASH_FIRMWARE "BT817/unified.blob"
1298#define EVE_FLASH_FIRMWARE L"BT815/unified.blob"
1300#define EVE_FLASH_FIRMWARE "BT815/unified.blob"
1321#if defined(ESD_SIMULATION) || defined(EVE_PLATFORM_BT8XXEMU)
1322#define BT8XXEMU_PLATFORM
1323#define EVE_HOST EVE_HOST_BT8XXEMU
1325#elif defined(__FT900__) || defined(MM900EV1A) || defined(MM900EV1B) || defined(MM900EV2A) || defined(MM900EV3A) || defined(MM900EV_LITE)
1326#ifndef FT900_PLATFORM
1327#define FT900_PLATFORM
1330#elif defined(__FT930__) || defined(MM930MINI) || defined(MM930LITE) || defined(MM932LC)
1331#ifndef FT93X_PLATFORM
1332#define FT93X_PLATFORM
1335#elif defined(EVE_PLATFORM_FT4222)
1336#define FT4222_PLATFORM
1338#elif defined(EVE_PLATFORM_MPSSE)
1339#define MPSSE_PLATFORM
1341#elif defined(EVE_PLATFORM_RP2040) || defined(EVE_PLATFORM_MM2040EV)
1342#define RP2040_PLATFORM
1346#if defined(FT4222_PLATFORM)
1347#define MSVC_PLATFORM
1348#define EVE_HOST EVE_HOST_FT4222
1351#if defined(MPSSE_PLATFORM)
1352#define MSVC_PLATFORM
1353#define EVE_HOST EVE_HOST_MPSSE
1356#if defined(FT900_PLATFORM) || defined(FT93X_PLATFORM)
1357#define FT9XX_PLATFORM
1358#define EMBEDDED_PLATFORM
1359#define EVE_HOST EVE_HOST_EMBEDDED
1362#if defined(RP2040_PLATFORM)
1363#define EMBEDDED_PLATFORM
1364#define EVE_HOST EVE_HOST_EMBEDDED
1367#define EVE_CONFIG__STR(x) #x
1368#define EVE_CONFIG_STR(x) EVE_CONFIG__STR(x)
1374#if defined(FT9XX_PLATFORM) \
1375 || defined(FT4222_PLATFORM) \
1376 || defined(MPSSE_PLATFORM) \
1377 || defined(BT8XXEMU_PLATFORM) \
1378 || defined(RP2040_PLATFORM)
1379#define EVE_PLATFORM_AVAILABLE
1382#if defined(EVE_MULTI_PLATFORM_TARGET) && defined(EVE_PLATFORM_AVAILABLE)
1383#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): warning PLATFORM: " \
1384 "Multi platform incorrectly overridden by defaults")
1387#if !defined(EVE_SUPPORT_CHIPID)
1388#define EVE_MULTI_GRAPHICS_TARGET
1391#if defined(EVE_MULTI_PLATFORM_TARGET) || defined(EVE_MULTI_GRAPHICS_TARGET)
1392#define EVE_MULTI_TARGET
1401#if defined(EVE_MULTI_TARGET) && defined(_WIN32)
1402#ifdef EVE_HAL_EXPORT
1403#undef EVE_HAL_EXPORT
1404#define EVE_HAL_EXPORT _declspec(dllexport)
1406#define EVE_HAL_EXPORT _declspec(dllimport)
1409#ifndef EVE_HAL_EXPORT
1410#define EVE_HAL_EXPORT
1416#ifdef EVE_MULTI_PLATFORM_TARGET
1417#define FT4222_PLATFORM
1418#define MPSSE_PLATFORM
1419#define BT8XXEMU_PLATFORM
1420#define EVE_HOST phost->Host
1422#ifdef EVE_MULTI_GRAPHICS_TARGET
1423#define EVE_FLASH_AVAILABLE
1424#define EVE_SUPPORT_HSF
1425#define EVE_SUPPORT_FLASH
1426#define EVE_SUPPORT_UNICODE
1427#define EVE_SUPPORT_ASTC
1428#define EVE_SUPPORT_PNG
1429#define EVE_SUPPORT_VIDEO
1430#define EVE_SUPPORT_CMDB
1431#define EVE_SUPPORT_CAPACITIVE
1432#define EVE_SUPPORT_RESISTIVE
1433#define EVE_SUPPORT_CHIPID EVE_BT818
1434#define EVE_SUPPORT_GEN EVE4
1435#define RESISTANCE_THRESHOLD (1800)
1436#define EVE_CHIPID phost->ChipId
1437#define EVE_GEN EVE_gen(EVE_CHIPID)
1439#define EVE_CHIPID EVE_SUPPORT_CHIPID
1440#define EVE_GEN EVE_SUPPORT_GEN
1452#if (EVE_SUPPORT_CHIPID >= EVE_BT817)
1453#define EVE_SUPPORT_HSF
1455#if (EVE_SUPPORT_CHIPID >= EVE_BT815)
1456#define EVE_SUPPORT_FLASH
1457#define EVE_SUPPORT_UNICODE
1458#define EVE_SUPPORT_ASTC
1460#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
1461#define EVE_SUPPORT_PNG
1462#define EVE_SUPPORT_VIDEO
1463#define EVE_SUPPORT_CMDB
1464#define EVE_SUPPORT_MEDIAFIFO
1465#if !(EVE_SUPPORT_CHIPID >= EVE_BT880 && EVE_SUPPORT_CHIPID <= EVE_BT883)
1466#define EVE_SUPPORT_LARGEFONT
1469#ifndef EVE_MULTI_GRAPHICS_TARGET
1470#if ((EVE_SUPPORT_CHIPID & 0x01) == 0x01)
1471#define EVE_SUPPORT_CAPACITIVE
1473#define EVE_SUPPORT_RESISTIVE
1482#define EVE_DL_OPTIMIZE 1
1483#define EVE_DL_CACHE_SCISSOR 1
1484#define EVE_DL_END_PRIMITIVE 0
1485#define EVE_DL_STATE_STACK_SIZE 4
1486#define EVE_DL_STATE_STACK_MASK 3
1488#define EVE_CMD_HOOKS 0
1494#if defined(FT900_PLATFORM) || defined(FT93X_PLATFORM)
1495#define eve_progmem __flash__ const
1496#define eve_progmem_const __flash__ const
1499#define eve_progmem_const const
1506#ifndef EVE_TCHAR_DEFINED
1507#define EVE_TCHAR_DEFINED
1517#define strcpy_s(dst, sz, src) strcpy(dst, src)
1521#define inline __inline
1524#if !defined(NDEBUG) && !defined(_DEBUG)
1528#if defined(__GNUC__)
1529#define DO_PRAGMA_(x) _Pragma(#x)
1530#define eve_pragma_warning(msg) DO_PRAGMA_("GCC warning \"" msg "\"")
1531#elif defined(_MSC_VER)
1532#define eve_pragma_warning(msg) __pragma(message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): warning EVE_Hal: " msg))
1534#define eve_pragma_warning(msg)
1537#if defined(__GNUC__)
1538#define eve_pragma_error(msg) _Pragma("GCC error \"" msg "\"")
1539#elif defined(_MSC_VER)
1540#define eve_pragma_error(msg) __pragma(message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): error EVE_Hal: " msg))
1542#define eve_pragma_error(msg)
1550#if defined(FT4222_PLATFORM) || defined(MPSSE_PLATFORM)
1551#define EVE_BUFFER_WRITES
1555#if defined(ENABLE_ILI9488_HVGA_PORTRAIT) && !defined(FT9XX_PLATFORM) && !defined(RP2040_PLATFORM)
1556#undef ENABLE_ILI9488_HVGA_PORTRAIT
1558#if defined(ENABLE_KD2401_HVGA_PORTRAIT) && !defined(FT9XX_PLATFORM) && !defined(RP2040_PLATFORM)
1559#undef ENABLE_KD2401_HVGA_PORTRAIT
1563#if defined(FT9XX_PLATFORM) || defined(RP2040_PLATFORM)
1564#ifndef EVE_ENABLE_FATFS
1565#define EVE_ENABLE_FATFS 1
1569#if defined(ESD_SIMULATION)
1570#ifdef EVE_ENABLE_FATFS
1571#undef EVE_ENABLE_FATFS
1575#ifndef EVE_ENABLE_FATFS
1576#define EVE_ENABLE_FATFS 0
1580#ifdef RP2040_PLATFORM
1581#ifdef ENABLE_SPI_QUAD
1582#undef ENABLE_SPI_QUAD
1584#ifdef ENABLE_SPI_DUAL
1585#undef ENABLE_SPI_DUAL
1594#if defined(PANL_APPLET) && defined(EVE_MULTI_TARGET)
1595#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): error PANL_APPLET: " \
1596 "Cannot target PANL_APPLET with EVE_MULTI_TARGET")
1598#if !defined(EVE_SUPPORT_CHIPID) && !defined(EVE_MULTI_GRAPHICS_TARGET)
1599#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): error EVE_SUPPORT_CHIPID: " \
1600 "No EVE device model has been selected")
1602#if !defined(EVE_DISPLAY_AVAILABLE) && !defined(EVE_MULTI_GRAPHICS_TARGET)
1603#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): error EVE_DISPLAY_AVAILABLE: " \
1604 "No display model has been selected")
1606#if !defined(EVE_SUPPORT_FLASH) && defined(EVE_FLASH_AVAILABLE)
1607#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): warning EVE_FLASH_AVAILABLE: " \
1608 "Cannot enable flash on EVE model which doesn't support flash")
1609#undef EVE_FLASH_AVAILABLE
1611#ifndef EVE_MULTI_PLATFORM_TARGET
1612#if ((defined(FT9XX_PLATFORM) ? 1 : 0) \
1613 + (defined(FT4222_PLATFORM) ? 1 : 0) \
1614 + (defined(MPSSE_PLATFORM) ? 1 : 0) \
1615 + (defined(BT8XXEMU_PLATFORM) ? 1 : 0) \
1616 + (defined(RP2040_PLATFORM) ? 1 : 0)) \
1618#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): warning PLATFORM: " \
1619 "More than one platform has been selected")
1622#if !defined(EVE_PLATFORM_AVAILABLE) && !defined(EVE_MULTI_PLATFORM_TARGET)
1623#pragma message(__FILE__ "(" EVE_CONFIG_STR(__LINE__) "): warning PLATFORM: " \
1624 "No platform was selected")
#define ESD_TARGET_PLATFORM(name,...)
eve_progmem uint8_t eve_prog_uint8_t
eve_progmem int8_t eve_prog_int8_t
#define ESD_TARGET_FLASH(name,...)
eve_progmem uint16_t eve_prog_uint16_t
#define ESD_TARGET_TOUCH(name,...)
#define ESD_TARGET_GRAPHICS(name,...)
#define EVE_FLASH_MX25L128
#define ESD_TARGET_DISPLAY(name,...)