circuitpython/ports/rp2/boards/WEACTSTUDIO/weactstudio_4mb.h
Matt Trentini bdbc44474f rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants.
This supports 2, 4, 8 and 16MB flash variants.
2022-09-26 12:40:14 +10:00

19 lines
447 B
C

// A pico-sdk board definition is required since the WeAct Studio boards are
// not officially supported.
//
// Officially supported boards:
// https://github.com/raspberrypi/pico-sdk/tree/master/src/boards/include/boards
#ifndef _BOARDS_WEACTSTUDIO_4MB_H
#define _BOARDS_WEACTSTUDIO_4MB_H
#include "weactstudio_common.h"
#define WEACTSTUDIO_4MB
#ifndef PICO_FLASH_SIZE_BYTES
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024)
#endif
#endif