From d3982f98dc9934841ebdde2eba8d9dfe882dc882 Mon Sep 17 00:00:00 2001 From: mdlewisfb Date: Mon, 1 Oct 2018 07:41:37 -0700 Subject: [PATCH] Renaming Devices to devices for consistent directory naming. --- .../ec/src/{Devices => devices}/adt7481.c | 0 firmware/ec/src/{Devices => devices}/eeprom.c | 0 firmware/ec/src/{Devices => devices}/eth_sw.c | 0 firmware/ec/src/{Devices => devices}/g510.c | 0 .../src/{Devices => devices}/i2c/XR20M1170.c | 0 .../src/{Devices => devices}/i2c/XR20M1170.h | 0 .../i2c/XR20M1170_Registers.h | 0 .../{Devices => devices}/i2c/threaded_int.c | 0 .../{Devices => devices}/i2c/threaded_int.h | 0 firmware/ec/src/{Devices => devices}/i2cbus.c | 0 firmware/ec/src/{Devices => devices}/ina226.c | 0 firmware/ec/src/{Devices => devices}/led.c | 0 .../ec/src/{Devices => devices}/ltc4015.c | 0 .../{Devices => devices}/ltc4015_registers.h | 0 .../ec/src/{Devices => devices}/ltc4274.c | 0 .../ec/src/{Devices => devices}/ltc4275.c | 0 .../ocmp_wrappers/ocmp_adt7481.c | 0 .../ocmp_wrappers/ocmp_cat24c04.c | 0 .../ocmp_wrappers/ocmp_dat-xxr5a-pp.c | 0 .../ocmp_wrappers/ocmp_debugi2c.c | 0 .../ocmp_wrappers/ocmp_debugmdio.c | 0 .../ocmp_wrappers/ocmp_debugocgpio.c | 0 .../ocmp_wrappers/ocmp_eth_sw.c | 0 .../ocmp_wrappers/ocmp_fe.c | 0 .../ocmp_wrappers/ocmp_ina226.c | 0 .../ocmp_wrappers/ocmp_iridium.c | 0 .../ocmp_wrappers/ocmp_led.c | 0 .../ocmp_wrappers/ocmp_ltc4015.c | 0 .../ocmp_wrappers/ocmp_ltc4274.c | 0 .../ocmp_wrappers/ocmp_ltc4275.c | 0 .../ocmp_wrappers/ocmp_mac.c | 0 .../ocmp_wrappers/ocmp_powerSource.c | 0 .../ocmp_wrappers/ocmp_rfpowermonitor.c | 0 .../ocmp_wrappers/ocmp_rfwatchdog.c | 0 .../ocmp_wrappers/ocmp_se98a.c | 0 .../ocmp_wrappers/ocmp_syncio.c | 0 .../ocmp_wrappers/ocmp_testmodule.c | 0 .../ec/src/{Devices => devices}/pca9557.c | 0 .../ec/src/{Devices => devices}/powerSource.c | 0 .../ec/src/{Devices => devices}/sbdn9603.c | 0 firmware/ec/src/{Devices => devices}/se98a.c | 0 firmware/ec/src/{Devices => devices}/sx1509.c | 0 .../src/{Devices => devices}/uart/UartMon.c | 0 .../src/{Devices => devices}/uart/UartMon.h | 0 .../ec/src/{Devices => devices}/uart/at_cmd.c | 0 .../ec/src/{Devices => devices}/uart/at_cmd.h | 0 .../ec/src/{Devices => devices}/uart/gsm.c | 0 .../ec/src/{Devices => devices}/uart/gsm.h | 0 .../ec/src/{Devices => devices}/uart/sbd.c | 0 .../ec/src/{Devices => devices}/uart/sbd.h | 0 firmware/ec/test/Makefile | 28 +++++++++---------- firmware/ec/test/fake/fake_ThreadedISR.c | 2 +- 52 files changed, 15 insertions(+), 15 deletions(-) rename firmware/ec/src/{Devices => devices}/adt7481.c (100%) rename firmware/ec/src/{Devices => devices}/eeprom.c (100%) rename firmware/ec/src/{Devices => devices}/eth_sw.c (100%) rename firmware/ec/src/{Devices => devices}/g510.c (100%) rename firmware/ec/src/{Devices => devices}/i2c/XR20M1170.c (100%) rename firmware/ec/src/{Devices => devices}/i2c/XR20M1170.h (100%) rename firmware/ec/src/{Devices => devices}/i2c/XR20M1170_Registers.h (100%) rename firmware/ec/src/{Devices => devices}/i2c/threaded_int.c (100%) rename firmware/ec/src/{Devices => devices}/i2c/threaded_int.h (100%) rename firmware/ec/src/{Devices => devices}/i2cbus.c (100%) rename firmware/ec/src/{Devices => devices}/ina226.c (100%) rename firmware/ec/src/{Devices => devices}/led.c (100%) rename firmware/ec/src/{Devices => devices}/ltc4015.c (100%) rename firmware/ec/src/{Devices => devices}/ltc4015_registers.h (100%) rename firmware/ec/src/{Devices => devices}/ltc4274.c (100%) rename firmware/ec/src/{Devices => devices}/ltc4275.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_adt7481.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_cat24c04.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_dat-xxr5a-pp.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_debugi2c.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_debugmdio.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_debugocgpio.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_eth_sw.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_fe.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_ina226.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_iridium.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_led.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_ltc4015.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_ltc4274.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_ltc4275.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_mac.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_powerSource.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_rfpowermonitor.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_rfwatchdog.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_se98a.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_syncio.c (100%) rename firmware/ec/src/{Devices => devices}/ocmp_wrappers/ocmp_testmodule.c (100%) rename firmware/ec/src/{Devices => devices}/pca9557.c (100%) rename firmware/ec/src/{Devices => devices}/powerSource.c (100%) rename firmware/ec/src/{Devices => devices}/sbdn9603.c (100%) rename firmware/ec/src/{Devices => devices}/se98a.c (100%) rename firmware/ec/src/{Devices => devices}/sx1509.c (100%) rename firmware/ec/src/{Devices => devices}/uart/UartMon.c (100%) rename firmware/ec/src/{Devices => devices}/uart/UartMon.h (100%) rename firmware/ec/src/{Devices => devices}/uart/at_cmd.c (100%) rename firmware/ec/src/{Devices => devices}/uart/at_cmd.h (100%) rename firmware/ec/src/{Devices => devices}/uart/gsm.c (100%) rename firmware/ec/src/{Devices => devices}/uart/gsm.h (100%) rename firmware/ec/src/{Devices => devices}/uart/sbd.c (100%) rename firmware/ec/src/{Devices => devices}/uart/sbd.h (100%) diff --git a/firmware/ec/src/Devices/adt7481.c b/firmware/ec/src/devices/adt7481.c similarity index 100% rename from firmware/ec/src/Devices/adt7481.c rename to firmware/ec/src/devices/adt7481.c diff --git a/firmware/ec/src/Devices/eeprom.c b/firmware/ec/src/devices/eeprom.c similarity index 100% rename from firmware/ec/src/Devices/eeprom.c rename to firmware/ec/src/devices/eeprom.c diff --git a/firmware/ec/src/Devices/eth_sw.c b/firmware/ec/src/devices/eth_sw.c similarity index 100% rename from firmware/ec/src/Devices/eth_sw.c rename to firmware/ec/src/devices/eth_sw.c diff --git a/firmware/ec/src/Devices/g510.c b/firmware/ec/src/devices/g510.c similarity index 100% rename from firmware/ec/src/Devices/g510.c rename to firmware/ec/src/devices/g510.c diff --git a/firmware/ec/src/Devices/i2c/XR20M1170.c b/firmware/ec/src/devices/i2c/XR20M1170.c similarity index 100% rename from firmware/ec/src/Devices/i2c/XR20M1170.c rename to firmware/ec/src/devices/i2c/XR20M1170.c diff --git a/firmware/ec/src/Devices/i2c/XR20M1170.h b/firmware/ec/src/devices/i2c/XR20M1170.h similarity index 100% rename from firmware/ec/src/Devices/i2c/XR20M1170.h rename to firmware/ec/src/devices/i2c/XR20M1170.h diff --git a/firmware/ec/src/Devices/i2c/XR20M1170_Registers.h b/firmware/ec/src/devices/i2c/XR20M1170_Registers.h similarity index 100% rename from firmware/ec/src/Devices/i2c/XR20M1170_Registers.h rename to firmware/ec/src/devices/i2c/XR20M1170_Registers.h diff --git a/firmware/ec/src/Devices/i2c/threaded_int.c b/firmware/ec/src/devices/i2c/threaded_int.c similarity index 100% rename from firmware/ec/src/Devices/i2c/threaded_int.c rename to firmware/ec/src/devices/i2c/threaded_int.c diff --git a/firmware/ec/src/Devices/i2c/threaded_int.h b/firmware/ec/src/devices/i2c/threaded_int.h similarity index 100% rename from firmware/ec/src/Devices/i2c/threaded_int.h rename to firmware/ec/src/devices/i2c/threaded_int.h diff --git a/firmware/ec/src/Devices/i2cbus.c b/firmware/ec/src/devices/i2cbus.c similarity index 100% rename from firmware/ec/src/Devices/i2cbus.c rename to firmware/ec/src/devices/i2cbus.c diff --git a/firmware/ec/src/Devices/ina226.c b/firmware/ec/src/devices/ina226.c similarity index 100% rename from firmware/ec/src/Devices/ina226.c rename to firmware/ec/src/devices/ina226.c diff --git a/firmware/ec/src/Devices/led.c b/firmware/ec/src/devices/led.c similarity index 100% rename from firmware/ec/src/Devices/led.c rename to firmware/ec/src/devices/led.c diff --git a/firmware/ec/src/Devices/ltc4015.c b/firmware/ec/src/devices/ltc4015.c similarity index 100% rename from firmware/ec/src/Devices/ltc4015.c rename to firmware/ec/src/devices/ltc4015.c diff --git a/firmware/ec/src/Devices/ltc4015_registers.h b/firmware/ec/src/devices/ltc4015_registers.h similarity index 100% rename from firmware/ec/src/Devices/ltc4015_registers.h rename to firmware/ec/src/devices/ltc4015_registers.h diff --git a/firmware/ec/src/Devices/ltc4274.c b/firmware/ec/src/devices/ltc4274.c similarity index 100% rename from firmware/ec/src/Devices/ltc4274.c rename to firmware/ec/src/devices/ltc4274.c diff --git a/firmware/ec/src/Devices/ltc4275.c b/firmware/ec/src/devices/ltc4275.c similarity index 100% rename from firmware/ec/src/Devices/ltc4275.c rename to firmware/ec/src/devices/ltc4275.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_adt7481.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_adt7481.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_adt7481.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_adt7481.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_cat24c04.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_cat24c04.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_cat24c04.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_cat24c04.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_dat-xxr5a-pp.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_dat-xxr5a-pp.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_dat-xxr5a-pp.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_dat-xxr5a-pp.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugi2c.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_debugi2c.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugi2c.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_debugi2c.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugmdio.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_debugmdio.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugmdio.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_debugmdio.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugocgpio.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_debugocgpio.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_debugocgpio.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_debugocgpio.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_eth_sw.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_eth_sw.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_eth_sw.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_eth_sw.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_fe.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_fe.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_fe.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_fe.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_ina226.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_ina226.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_ina226.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_ina226.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_iridium.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_iridium.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_iridium.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_iridium.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_led.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_led.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_led.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_led.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4015.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4015.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4015.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4015.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4274.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4274.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4274.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4274.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4275.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4275.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_ltc4275.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_ltc4275.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_mac.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_mac.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_mac.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_mac.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_powerSource.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_powerSource.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_powerSource.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_powerSource.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_rfpowermonitor.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_rfpowermonitor.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_rfpowermonitor.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_rfpowermonitor.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_rfwatchdog.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_rfwatchdog.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_rfwatchdog.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_rfwatchdog.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_se98a.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_se98a.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_se98a.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_se98a.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_syncio.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_syncio.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_syncio.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_syncio.c diff --git a/firmware/ec/src/Devices/ocmp_wrappers/ocmp_testmodule.c b/firmware/ec/src/devices/ocmp_wrappers/ocmp_testmodule.c similarity index 100% rename from firmware/ec/src/Devices/ocmp_wrappers/ocmp_testmodule.c rename to firmware/ec/src/devices/ocmp_wrappers/ocmp_testmodule.c diff --git a/firmware/ec/src/Devices/pca9557.c b/firmware/ec/src/devices/pca9557.c similarity index 100% rename from firmware/ec/src/Devices/pca9557.c rename to firmware/ec/src/devices/pca9557.c diff --git a/firmware/ec/src/Devices/powerSource.c b/firmware/ec/src/devices/powerSource.c similarity index 100% rename from firmware/ec/src/Devices/powerSource.c rename to firmware/ec/src/devices/powerSource.c diff --git a/firmware/ec/src/Devices/sbdn9603.c b/firmware/ec/src/devices/sbdn9603.c similarity index 100% rename from firmware/ec/src/Devices/sbdn9603.c rename to firmware/ec/src/devices/sbdn9603.c diff --git a/firmware/ec/src/Devices/se98a.c b/firmware/ec/src/devices/se98a.c similarity index 100% rename from firmware/ec/src/Devices/se98a.c rename to firmware/ec/src/devices/se98a.c diff --git a/firmware/ec/src/Devices/sx1509.c b/firmware/ec/src/devices/sx1509.c similarity index 100% rename from firmware/ec/src/Devices/sx1509.c rename to firmware/ec/src/devices/sx1509.c diff --git a/firmware/ec/src/Devices/uart/UartMon.c b/firmware/ec/src/devices/uart/UartMon.c similarity index 100% rename from firmware/ec/src/Devices/uart/UartMon.c rename to firmware/ec/src/devices/uart/UartMon.c diff --git a/firmware/ec/src/Devices/uart/UartMon.h b/firmware/ec/src/devices/uart/UartMon.h similarity index 100% rename from firmware/ec/src/Devices/uart/UartMon.h rename to firmware/ec/src/devices/uart/UartMon.h diff --git a/firmware/ec/src/Devices/uart/at_cmd.c b/firmware/ec/src/devices/uart/at_cmd.c similarity index 100% rename from firmware/ec/src/Devices/uart/at_cmd.c rename to firmware/ec/src/devices/uart/at_cmd.c diff --git a/firmware/ec/src/Devices/uart/at_cmd.h b/firmware/ec/src/devices/uart/at_cmd.h similarity index 100% rename from firmware/ec/src/Devices/uart/at_cmd.h rename to firmware/ec/src/devices/uart/at_cmd.h diff --git a/firmware/ec/src/Devices/uart/gsm.c b/firmware/ec/src/devices/uart/gsm.c similarity index 100% rename from firmware/ec/src/Devices/uart/gsm.c rename to firmware/ec/src/devices/uart/gsm.c diff --git a/firmware/ec/src/Devices/uart/gsm.h b/firmware/ec/src/devices/uart/gsm.h similarity index 100% rename from firmware/ec/src/Devices/uart/gsm.h rename to firmware/ec/src/devices/uart/gsm.h diff --git a/firmware/ec/src/Devices/uart/sbd.c b/firmware/ec/src/devices/uart/sbd.c similarity index 100% rename from firmware/ec/src/Devices/uart/sbd.c rename to firmware/ec/src/devices/uart/sbd.c diff --git a/firmware/ec/src/Devices/uart/sbd.h b/firmware/ec/src/devices/uart/sbd.h similarity index 100% rename from firmware/ec/src/Devices/uart/sbd.h rename to firmware/ec/src/devices/uart/sbd.h diff --git a/firmware/ec/test/Makefile b/firmware/ec/test/Makefile index 6beb57d3ef..b21a917e37 100644 --- a/firmware/ec/test/Makefile +++ b/firmware/ec/test/Makefile @@ -88,59 +88,59 @@ $(RUNNER_PATH)Test_%_Runner.c: $(PATHT)Test_%.c # Test-specific build rules (add entries here for each new test suite) # ============================================================================= -TEST_PCA9557_SRC=$(OCWARE_ROOT)/src/Devices/pca9557.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c +TEST_PCA9557_SRC=$(OCWARE_ROOT)/src/devices/pca9557.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c $(PATHB)Test_pca9557$(TARGET_EXTENSION): $(STD_FILES) $(TEST_PCA9557_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_SE98A_SRC=$(OCWARE_ROOT)/src/Devices/se98a.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c +TEST_SE98A_SRC=$(OCWARE_ROOT)/src/devices/se98a.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c $(PATHB)Test_se98a$(TARGET_EXTENSION): $(STD_FILES) $(TEST_SE98A_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_GpioPCA9557_SRC=$(OCWARE_ROOT)/src/Devices/pca9557.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c $(OCWARE_ROOT)/src/drivers/GpioPCA9557.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c +TEST_GpioPCA9557_SRC=$(OCWARE_ROOT)/src/devices/pca9557.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c $(OCWARE_ROOT)/src/drivers/GpioPCA9557.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c $(PATHB)Test_GpioPCA9557$(TARGET_EXTENSION): $(STD_FILES) $(TEST_GpioPCA9557_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_INA226_SRC=$(OCWARE_ROOT)/src/Devices/ina226.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/post/post_util.c +TEST_INA226_SRC=$(OCWARE_ROOT)/src/devices/ina226.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/post/post_util.c $(PATHB)Test_ina226$(TARGET_EXTENSION): $(STD_FILES) $(TEST_INA226_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_SX1509_SRC=$(OCWARE_ROOT)/src/Devices/sx1509.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c +TEST_SX1509_SRC=$(OCWARE_ROOT)/src/devices/sx1509.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c $(PATHB)Test_sx1509$(TARGET_EXTENSION): $(STD_FILES) $(TEST_SX1509_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_GpioSX1509_SRC=$(OCWARE_ROOT)/src/Devices/sx1509.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c +TEST_GpioSX1509_SRC=$(OCWARE_ROOT)/src/devices/sx1509.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c $(PATHB)Test_GpioSX1509$(TARGET_EXTENSION): $(STD_FILES) $(TEST_GpioSX1509_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_LTC4015_SRC=$(OCWARE_ROOT)/src/Devices/ltc4015.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/post/post_util.c +TEST_LTC4015_SRC=$(OCWARE_ROOT)/src/devices/ltc4015.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/post/post_util.c $(PATHB)Test_ltc4015$(TARGET_EXTENSION): $(STD_FILES) $(TEST_LTC4015_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_powerSource_SRC=$(OCWARE_ROOT)/src/Devices/powerSource.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/Devices/sx1509.c $(OCWARE_ROOT)/src/helpers/memory.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c +TEST_powerSource_SRC=$(OCWARE_ROOT)/src/devices/powerSource.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/devices/sx1509.c $(OCWARE_ROOT)/src/helpers/memory.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(PATHB)Test_powerSource$(TARGET_EXTENSION): $(STD_FILES) $(TEST_powerSource_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_EEPROM_SRC=$(OCWARE_ROOT)/src/Devices/eeprom.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/Devices/sx1509.c $(OCWARE_ROOT)/src/helpers/memory.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c +TEST_EEPROM_SRC=$(OCWARE_ROOT)/src/devices/eeprom.c $(OCWARE_ROOT)/src/drivers/GpioSX1509.c $(OCWARE_ROOT)/src/devices/sx1509.c $(OCWARE_ROOT)/src/helpers/memory.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(PATHB)Test_eeprom$(TARGET_EXTENSION): $(STD_FILES) $(TEST_EEPROM_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_LTC4275_SRC=$(OCWARE_ROOT)/src/Devices/ltc4275.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c +TEST_LTC4275_SRC=$(OCWARE_ROOT)/src/devices/ltc4275.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(PATHB)Test_ltc4275$(TARGET_EXTENSION): $(STD_FILES) $(TEST_LTC4275_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_OCMP_ADT7481_SRC=$(OCWARE_ROOT)/src/devices/ocmp_wrappers/ocmp_adt7481.c $(OCWARE_ROOT)/src/Devices/adt7481.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c +TEST_OCMP_ADT7481_SRC=$(OCWARE_ROOT)/src/devices/ocmp_wrappers/ocmp_adt7481.c $(OCWARE_ROOT)/src/devices/adt7481.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c $(PATHB)Test_ocmp_adt7481$(TARGET_EXTENSION): $(STD_FILES) $(TEST_OCMP_ADT7481_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_OCMP_LTC4274_SRC=$(OCWARE_ROOT)/src/devices/ocmp_wrappers/ocmp_ltc4274.c $(OCWARE_ROOT)/src/Devices/ltc4274.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c +TEST_OCMP_LTC4274_SRC=$(OCWARE_ROOT)/src/devices/ocmp_wrappers/ocmp_ltc4274.c $(OCWARE_ROOT)/src/devices/ltc4274.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_GPIO.c fake/fake_I2C.c fake/fake_ThreadedISR.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/post/post_util.c $(PATHB)Test_ocmp_ltc4274$(TARGET_EXTENSION): $(STD_FILES) $(TEST_OCMP_LTC4274_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -lm -o $@ -TEST_PINGROUP_SRC=$(OCWARE_ROOT)/src/drivers/PinGroup.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/drivers/GpioPCA9557.c $(OCWARE_ROOT)/src/Devices/pca9557.c +TEST_PINGROUP_SRC=$(OCWARE_ROOT)/src/drivers/PinGroup.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c $(OCWARE_ROOT)/src/drivers/GpioPCA9557.c $(OCWARE_ROOT)/src/devices/pca9557.c $(PATHB)Test_PinGroup_driver$(TARGET_EXTENSION): $(STD_FILES) $(TEST_PINGROUP_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ -TEST_OCGPIO_SRC=$(OCWARE_ROOT)/src/drivers/OcGpio.c $(OCWARE_ROOT)/src/Devices/i2cbus.c fake/fake_I2C.c fake/fake_GPIO.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c +TEST_OCGPIO_SRC=$(OCWARE_ROOT)/src/drivers/OcGpio.c $(OCWARE_ROOT)/src/devices/i2cbus.c fake/fake_I2C.c fake/fake_GPIO.c fake/fake_ThreadedISR.c $(OCWARE_ROOT)/src/helpers/memory.c stub/stub_GateMutex.c $(PATHB)Test_OcGpio$(TARGET_EXTENSION): $(STD_FILES) $(TEST_OCGPIO_SRC) $(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $^ -o $@ diff --git a/firmware/ec/test/fake/fake_ThreadedISR.c b/firmware/ec/test/fake/fake_ThreadedISR.c index 71f5d1628e..607a464f23 100644 --- a/firmware/ec/test/fake/fake_ThreadedISR.c +++ b/firmware/ec/test/fake/fake_ThreadedISR.c @@ -8,7 +8,7 @@ */ #include "fake_ThreadedISR.h" -#include "Devices/i2c/threaded_int.h" +#include "devices/i2c/threaded_int.h" #include "helpers/attribute.h" /* We'll statically allocate a circular queue so we can be lazy and not worry