Newer
Older
Tardis / src / MainBD.cpp
@Jookia Jookia 21 days ago 427 bytes Bump copyright year
/*
SPDX-License-Identifier: MIT
Copyright (c) 2024 Casey Reeves and the LuminaSensum contributors
*/

#if !DEVICE_QSPI
#error[NOT_SUPPORTED] QSPI not supported for this target
#endif

#include "MainBD.h"
#include "mbed.h"

// set up the QSPI flash
QSPIFBlockDevice mainBD(QSPI_FLASH1_IO0, QSPI_FLASH1_IO1, QSPI_FLASH1_IO2,
	QSPI_FLASH1_IO3, QSPI_FLASH1_SCK, QSPI_FLASH1_CSN,
	QSPIF_POLARITY_MODE_0, MBED_CONF_QSPIF_QSPI_FREQ);