Flash and display control
This commit is contained in:
parent
e9f9cee4d6
commit
d8bc57c1dc
@ -22,7 +22,7 @@
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
#DEBUG = 1
|
||||
DEBUG = 1
|
||||
|
||||
# Select the board to build for.
|
||||
ifeq ($(BOARD),)
|
||||
|
@ -40,7 +40,7 @@
|
||||
//#define BOARD_VTOR_DEFER //Leave VTOR relocation to bootloader
|
||||
|
||||
// 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)
|
||||
|
@ -4,15 +4,15 @@ 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
|
||||
|
||||
# BOOTLOADER_OFFSET = 0x8010000
|
||||
|
||||
INTERNAL_FLASH_FILESYSTEM = 1
|
||||
LONGINT_IMPL = NONE
|
||||
# INTERNAL_FLASH_FILESYSTEM = 1
|
||||
# LONGINT_IMPL = NONE
|
||||
|
||||
MCU_SERIES = m4
|
||||
MCU_VARIANT = stm32f4
|
||||
|
@ -60,6 +60,6 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR_P0), MP_ROM_PTR(&pin_PA00) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_P3), MP_ROM_PTR(&pin_PB00) },
|
||||
|
||||
//{ MP_ROM_QSTR(MP_QSTR_INTERNAL_SPI), MP_ROM_PTR(&spi) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INTERNAL_SPI), MP_ROM_PTR(&spi) },
|
||||
};
|
||||
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
|
||||
|
Loading…
Reference in New Issue
Block a user