From 3c918d0f5817a32acf28831017b0873771810f06 Mon Sep 17 00:00:00 2001 From: Jan Jurgen Griesfeller Date: Thu, 29 Apr 2021 09:26:38 +0200 Subject: [PATCH] rp2/boards: Add board definition for SparkFun Thing Plus RP2040. --- ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.cmake | 1 + ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.h | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.cmake create mode 100644 ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.h diff --git a/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.cmake b/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.cmake new file mode 100644 index 0000000000..b9090bbcec --- /dev/null +++ b/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.cmake @@ -0,0 +1 @@ +# cmake file for SparkFun Thing Plus RP2040 diff --git a/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.h b/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.h new file mode 100644 index 0000000000..9749acd25a --- /dev/null +++ b/ports/rp2/boards/SPARKFUN_THINGPLUS/mpconfigboard.h @@ -0,0 +1,3 @@ +// Board and hardware specific configuration +#define MICROPY_HW_BOARD_NAME "SparkFun Thing Plus RP2040" +#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)