attempt to get control going again

This commit is contained in:
Hierophect 2020-01-10 12:56:22 -05:00
parent 0bbeae1786
commit 1229de4499
2 changed files with 11 additions and 13 deletions

View File

@ -39,7 +39,7 @@
#define BOARD_NO_VBUS_SENSE
// On-board flash
#define SPI_FLASH_MOSI_PIN (&pin_PB15)
#define SPI_FLASH_MISO_PIN (&pin_PB14)
#define SPI_FLASH_SCK_PIN (&pin_PB13)
#define SPI_FLASH_CS_PIN (&pin_PB01)
// #define SPI_FLASH_MOSI_PIN (&pin_PB15)
// #define SPI_FLASH_MISO_PIN (&pin_PB14)
// #define SPI_FLASH_SCK_PIN (&pin_PB13)
// #define SPI_FLASH_CS_PIN (&pin_PB01)

View File

@ -4,13 +4,13 @@ USB_PRODUCT = "Meowbit"
USB_MANUFACTURER = "Kittenbot"
USB_DEVICES = "CDC,MSC"
SPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 1
EXTERNAL_FLASH_DEVICES = W25Q16JV_IQ
LONGINT_IMPL = MPZ
# SPI_FLASH_FILESYSTEM = 1
# EXTERNAL_FLASH_DEVICE_COUNT = 1
# EXTERNAL_FLASH_DEVICES = W25Q16JV_IQ
# LONGINT_IMPL = MPZ
# INTERNAL_FLASH_FILESYSTEM = 1
# LONGINT_IMPL = NONE
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
MCU_SERIES = m4
MCU_VARIANT = stm32f4
@ -18,6 +18,4 @@ MCU_SUB_VARIANT = stm32f401xe
MCU_PACKAGE = 64
CMSIS_MCU = STM32F401xE
# LD_FILE = boards/STM32F401_boot.ld
LD_FILE = boards/STM32F401_fs.ld
TEXT0_ADDR = 0x08010000
TEXT1_ADDR = 0x08040000
LD_FILE = boards/STM32F401_fs.ld