c4db8b87e2
Restructures the STM port of Circuitpython to be more generic about the STM32 chip lines to support the F7 and H7 series of chips. Adds the new Packages directory to organize different chip layouts between lines. Makes general changes to the Makefile to condense board-level flags to the minimum and support the new chip series. Adds the new chip line to the Peripherals directory, along with new python tools used to generate peripheral text automatically in the tools/ directory.
21 lines
437 B
Makefile
21 lines
437 B
Makefile
USB_VID = 0x239A
|
|
USB_PID = 0x805A
|
|
USB_PRODUCT = "Meowbit"
|
|
USB_MANUFACTURER = "Kittenbot"
|
|
USB_DEVICES = "CDC,MSC"
|
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 1
|
|
EXTERNAL_FLASH_DEVICES = W25Q16JV_IQ
|
|
# INTERNAL_FLASH_FILESYSTEM = 1
|
|
|
|
BOOTLOADER_OFFSET = 0x8010000
|
|
|
|
MCU_SERIES = F4
|
|
MCU_VARIANT = STM32F401xE
|
|
MCU_PACKAGE = LQFP64
|
|
|
|
LD_FILE = boards/STM32F401xe_boot.ld
|
|
# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
|
|
|