You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
775 B

  1. eeprom_stm32_DEFS := -DFLASH_STM32_MOCKED -DNO_PRINT -DFEE_FLASH_BASE=FlashBuf
  2. eeprom_stm32_tiny_DEFS := $(eeprom_stm32_DEFS) \
  3. -DFEE_MCU_FLASH_SIZE=1 \
  4. -DMOCK_FLASH_SIZE=1024 \
  5. -DFEE_PAGE_SIZE=512 \
  6. -DFEE_DENSITY_PAGES=1
  7. eeprom_stm32_large_DEFS := $(eeprom_stm32_DEFS) \
  8. -DFEE_MCU_FLASH_SIZE=64 \
  9. -DMOCK_FLASH_SIZE=65536 \
  10. -DFEE_PAGE_SIZE=2048 \
  11. -DFEE_DENSITY_PAGES=16
  12. eeprom_stm32_INC := \
  13. $(TMK_PATH)/common/chibios/
  14. eeprom_stm32_tiny_INC := $(eeprom_stm32_INC)
  15. eeprom_stm32_large_INC := $(eeprom_stm32_INC)
  16. eeprom_stm32_SRC := \
  17. $(TMK_PATH)/common/test/eeprom_stm32_tests.cpp \
  18. $(TMK_PATH)/common/test/flash_stm32_mock.c \
  19. $(TMK_PATH)/common/chibios/eeprom_stm32.c
  20. eeprom_stm32_tiny_SRC := $(eeprom_stm32_SRC)
  21. eeprom_stm32_large_SRC := $(eeprom_stm32_SRC)