TommyPROM/TommyPROM/Configure.h

38 lines
1.1 KiB
C
Raw Permalink Normal View History

2024-04-22 14:16:36 +00:00
// Uncomment this to enable extra debugging commands and code
2019-06-09 02:22:58 +00:00
2024-04-22 14:16:36 +00:00
//#define ENABLE_DEBUG_COMMANDS
2019-06-09 02:22:58 +00:00
2024-04-22 14:16:36 +00:00
// Uncomment ONLY ONE of these to choose the PROM device code that will be
// compiled in.
#define PROM_IS_28C
//#define PROM_IS_27
//#define PROM_IS_SST39SF
2022-12-13 22:15:20 +00:00
//#define PROM_IS_SST28SF
//#define PROM_IS_8755A
2024-04-07 11:13:25 +00:00
//#define PROM_IS_23
2024-04-22 14:16:36 +00:00
////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////
2019-06-09 02:22:58 +00:00
// Don't change anything below this comment unless you are adding support for a new device type.
#if defined(PROM_IS_28C)
#include "PromDevice28C.h"
#elif defined(PROM_IS_27)
#include "PromDevice27.h"
#elif defined(PROM_IS_SST39SF)
#include "PromDeviceSST39SF.h"
2022-12-13 22:15:20 +00:00
#elif defined(PROM_IS_SST28SF)
#include "PromDeviceSST28SF.h"
#elif defined(PROM_IS_8755A)
#include "PromDevice8755A.h"
2024-04-07 11:13:25 +00:00
#elif defined(PROM_IS_23)
#include "PromDevice23.h"
// Additional device support goes here...
// Also add matching code in TommyPROM.ino to declare the new device
#else
#error "No Prom Device defined"
#endif