From 109f182b0c16e2ebb50fbae746550730151d8913 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 7 Nov 2009 10:48:05 +0000 Subject: Introduce new config header 'config-sim.h' that takes care of undefining things that shouldn't be defined for sims so that the target configs no longer need to have #ifndef SIMULATOR sections and to bring some consistency for what is and is not included for sims. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23547 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-sim.h | 80 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 firmware/export/config-sim.h (limited to 'firmware/export/config-sim.h') diff --git a/firmware/export/config-sim.h b/firmware/export/config-sim.h new file mode 100644 index 0000000000..0656da3ac4 --- /dev/null +++ b/firmware/export/config-sim.h @@ -0,0 +1,80 @@ +/* This config file is for all simulators, and is used in addition to the + target specific configs */ + +#undef CONFIG_CPU + +#undef HAVE_FMADC + +#undef NEED_ATA_POWER_BATT_MEASURE + +#undef CONFIG_I2C + +#undef HAVE_PCM_DMA_ADDRESS + +#undef FLASH_SIZE + +#undef CPU_FREQ + +#undef HAVE_ATA_POWER_OFF + +#undef CONFIG_LCD + +#undef CONFIG_LED + +#undef ROM_START + +#undef FIRMWARE_OFFSET_FILE_LENGTH +#undef FIRMWARE_OFFSET_FILE_CRC +#undef FIRMWARE_OFFSET_FILE_DATA + +#undef AMS_OF_SIZE + +#undef HAVE_MULTIDRIVE +#undef NUM_DRIVES +#undef HAVE_HOTSWAP + +#undef CONFIG_STORAGE + +#undef CONFIG_USBOTG + +#undef USB_HANDLED_BY_OF + +#undef HAVE_USBSTACK +#undef USE_ROCKBOX_USB +#undef USB_VENDOR_ID +#undef USB_PRODUCT_ID +#undef USB_NUM_ENDPOINTS +#undef HAVE_USB_HID_MOUSE + +#undef HAVE_ADJUSTABLE_CPU_FREQ + +#undef MI4_FORMAT +#undef BOOTFILE_EXT +#undef BOOTFILE +#undef BOOTDIR + +#undef BOOTLOADER_ENTRYPOINT + +#undef FLASH_ENTRYPOINT + +#undef FLASH_MAGIC + +#undef HAVE_EEPROM +#undef HAVE_EEPROM_SETTINGS + +#undef HAVE_HARDWARE_BEEP + +#undef HAVE_POWEROFF_WHILE_CHARGING + +#undef INCLUDE_TIMEOUT_API + +#undef HAVE_FLASHED_ROCKBOX + +#undef IPOD_ACCESSORY_PROTOCOL + +#undef HAVE_WHEEL_POSITION + +#undef HAVE_LCD_MODES + +#undef HAVE_SPEAKER + -- cgit v1.2.3