diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/CMakeLists.txt b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/CMakeLists.txt new file mode 100644 index 00000000000..6f8905123b1 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/CMakeLists.txt @@ -0,0 +1,21 @@ +# Copyright (c) 2020 ARM Limited. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +set(LINKER_FILE ../TOOLCHAIN_GCC_ARM/memmap_default.ld) + +add_library(mbed-sfe-rp2040-micromod INTERFACE) + +target_sources(mbed-sfe-rp2040-micromod + INTERFACE + board.c + bs2_default_padded_checksummed.S +) + +target_include_directories(mbed-sfe-rp2040-micromod + INTERFACE + . +) + +mbed_set_linker_script(mbed-sfe-rp2040-micromod ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE}) + +target_link_libraries(mbed-sfe-rp2040-micromod INTERFACE mbed-rp2040) diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/PinNames.h b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/PinNames.h new file mode 100644 index 00000000000..1fa6267d6c8 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/PinNames.h @@ -0,0 +1,70 @@ +#ifndef MBED_PINNAMES_H +#define MBED_PINNAMES_H + +#include "PeripheralNames.h" +#include "boards/pico.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + p0 = 0, + p1 = 1, + p2 = 2, + p3 = 3, + p4 = 4, + p5 = 5, + p6 = 6, + p7 = 7, + p8 = 8, + p9 = 9, + p10 = 10, + p11 = 11, + p12 = 12, + p13 = 13, + p14 = 14, + p15 = 15, + p16 = 16, + p17 = 17, + p18 = 18, + p19 = 19, + p20 = 20, + p21 = 21, + p22 = 22, + p23 = 23, + p24 = 24, + p25 = 25, + p26 = 26, + p27 = 27, + p28 = 28, + p29 = 29, + + // ADC internal channels + ADC_TEMP = 0xF0, + ADC_VREF = 0xF1, + +#ifndef ARDUINO_ARCH_MBED + DO = 8; + D1 = 9; + A0 = 38, + A1 = 39, +#endif + + CONSOLE_TX = p0, + CONSOLE_RX = p1, + + LED1 = p25, + LED2 = p25, + LED3 = p25, + LED4 = p25, + + // Not connected + NC = (int)0xFFFFFFFF +} PinName; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/board.c b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/board.c new file mode 100644 index 00000000000..1f775638f9b --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/board.c @@ -0,0 +1,3 @@ +#include "PinNames.h" + +uint32_t SystemCoreClock = 120000000; \ No newline at end of file diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/bs2_default_padded_checksummed.S b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/bs2_default_padded_checksummed.S new file mode 100644 index 00000000000..fc6bea7df62 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_MICROMOD/bs2_default_padded_checksummed.S @@ -0,0 +1,23 @@ +// Padded and checksummed version of: /ssd/rp2040/pico-examples/build/pico-sdk/src/rp2_common/boot_stage2/bs2_default.bin + +.cpu cortex-m0plus +.thumb + +.section .boot2, "ax" + +.byte 0x00, 0xb5, 0x32, 0x4b, 0x21, 0x20, 0x58, 0x60, 0x98, 0x68, 0x02, 0x21, 0x88, 0x43, 0x98, 0x60 +.byte 0xd8, 0x60, 0x18, 0x61, 0x58, 0x61, 0x2e, 0x4b, 0x00, 0x21, 0x99, 0x60, 0x02, 0x21, 0x59, 0x61 +.byte 0x01, 0x21, 0xf0, 0x22, 0x99, 0x50, 0x2b, 0x49, 0x19, 0x60, 0x01, 0x21, 0x99, 0x60, 0x35, 0x20 +.byte 0x00, 0xf0, 0x44, 0xf8, 0x02, 0x22, 0x90, 0x42, 0x14, 0xd0, 0x06, 0x21, 0x19, 0x66, 0x00, 0xf0 +.byte 0x34, 0xf8, 0x19, 0x6e, 0x01, 0x21, 0x19, 0x66, 0x00, 0x20, 0x18, 0x66, 0x1a, 0x66, 0x00, 0xf0 +.byte 0x2c, 0xf8, 0x19, 0x6e, 0x19, 0x6e, 0x19, 0x6e, 0x05, 0x20, 0x00, 0xf0, 0x2f, 0xf8, 0x01, 0x21 +.byte 0x08, 0x42, 0xf9, 0xd1, 0x00, 0x21, 0x99, 0x60, 0x1b, 0x49, 0x19, 0x60, 0x00, 0x21, 0x59, 0x60 +.byte 0x1a, 0x49, 0x1b, 0x48, 0x01, 0x60, 0x01, 0x21, 0x99, 0x60, 0xeb, 0x21, 0x19, 0x66, 0xa0, 0x21 +.byte 0x19, 0x66, 0x00, 0xf0, 0x12, 0xf8, 0x00, 0x21, 0x99, 0x60, 0x16, 0x49, 0x14, 0x48, 0x01, 0x60 +.byte 0x01, 0x21, 0x99, 0x60, 0x01, 0xbc, 0x00, 0x28, 0x00, 0xd0, 0x00, 0x47, 0x12, 0x48, 0x13, 0x49 +.byte 0x08, 0x60, 0x03, 0xc8, 0x80, 0xf3, 0x08, 0x88, 0x08, 0x47, 0x03, 0xb5, 0x99, 0x6a, 0x04, 0x20 +.byte 0x01, 0x42, 0xfb, 0xd0, 0x01, 0x20, 0x01, 0x42, 0xf8, 0xd1, 0x03, 0xbd, 0x02, 0xb5, 0x18, 0x66 +.byte 0x18, 0x66, 0xff, 0xf7, 0xf2, 0xff, 0x18, 0x6e, 0x18, 0x6e, 0x02, 0xbd, 0x00, 0x00, 0x02, 0x40 +.byte 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x07, 0x00, 0x00, 0x03, 0x5f, 0x00, 0x21, 0x22, 0x00, 0x00 +.byte 0xf4, 0x00, 0x00, 0x18, 0x22, 0x20, 0x00, 0xa0, 0x00, 0x01, 0x00, 0x10, 0x08, 0xed, 0x00, 0xe0 +.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0xb2, 0x4e, 0x7a diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/CMakeLists.txt b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/CMakeLists.txt new file mode 100644 index 00000000000..72f1069fe38 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/CMakeLists.txt @@ -0,0 +1,21 @@ +# Copyright (c) 2020 ARM Limited. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +set(LINKER_FILE ../TOOLCHAIN_GCC_ARM/memmap_default.ld) + +add_library(mbed-sfe-rp2040-pro-micro INTERFACE) + +target_sources(mbed-sfe-rp2040-pro-micro + INTERFACE + board.c + bs2_default_padded_checksummed.S +) + +target_include_directories(mbed-sfe-rp2040-pro-micro + INTERFACE + . +) + +mbed_set_linker_script(mbed-sfe-rp2040-pro-micro ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE}) + +target_link_libraries(mbed-sfe-rp2040-pro-micro INTERFACE mbed-rp2040) diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/PinNames.h b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/PinNames.h new file mode 100644 index 00000000000..2b2e9463ef5 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/PinNames.h @@ -0,0 +1,70 @@ +#ifndef MBED_PINNAMES_H +#define MBED_PINNAMES_H + +#include "PeripheralNames.h" +#include "boards/pico.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + p0 = 0, + p1 = 1, + p2 = 2, + p3 = 3, + p4 = 4, + p5 = 5, + p6 = 6, + p7 = 7, + p8 = 8, + p9 = 9, + p10 = 10, + p11 = 11, + p12 = 12, + p13 = 13, + p14 = 14, + p15 = 15, + p16 = 16, + p17 = 17, + p18 = 18, + p19 = 19, + p20 = 20, + p21 = 21, + p22 = 22, + p23 = 23, + p24 = 24, + p25 = 25, + p26 = 26, + p27 = 27, + p28 = 28, + p29 = 29, + + // ADC internal channels + ADC_TEMP = 0xF0, + ADC_VREF = 0xF1, + +#ifndef ARDUINO_ARCH_MBED + A0 = 26, + A1 = 27, + A2 = 28, + A3 = 29, +#endif + + CONSOLE_TX = p0, + CONSOLE_RX = p1, + + LED1 = p25, + LED2 = p25, + LED3 = p25, + LED4 = p25, + + // Not connected + NC = (int)0xFFFFFFFF +} PinName; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/board.c b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/board.c new file mode 100644 index 00000000000..1f775638f9b --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/board.c @@ -0,0 +1,3 @@ +#include "PinNames.h" + +uint32_t SystemCoreClock = 120000000; \ No newline at end of file diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/bs2_default_padded_checksummed.S b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/bs2_default_padded_checksummed.S new file mode 100644 index 00000000000..fc6bea7df62 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_PRO_MICRO/bs2_default_padded_checksummed.S @@ -0,0 +1,23 @@ +// Padded and checksummed version of: /ssd/rp2040/pico-examples/build/pico-sdk/src/rp2_common/boot_stage2/bs2_default.bin + +.cpu cortex-m0plus +.thumb + +.section .boot2, "ax" + +.byte 0x00, 0xb5, 0x32, 0x4b, 0x21, 0x20, 0x58, 0x60, 0x98, 0x68, 0x02, 0x21, 0x88, 0x43, 0x98, 0x60 +.byte 0xd8, 0x60, 0x18, 0x61, 0x58, 0x61, 0x2e, 0x4b, 0x00, 0x21, 0x99, 0x60, 0x02, 0x21, 0x59, 0x61 +.byte 0x01, 0x21, 0xf0, 0x22, 0x99, 0x50, 0x2b, 0x49, 0x19, 0x60, 0x01, 0x21, 0x99, 0x60, 0x35, 0x20 +.byte 0x00, 0xf0, 0x44, 0xf8, 0x02, 0x22, 0x90, 0x42, 0x14, 0xd0, 0x06, 0x21, 0x19, 0x66, 0x00, 0xf0 +.byte 0x34, 0xf8, 0x19, 0x6e, 0x01, 0x21, 0x19, 0x66, 0x00, 0x20, 0x18, 0x66, 0x1a, 0x66, 0x00, 0xf0 +.byte 0x2c, 0xf8, 0x19, 0x6e, 0x19, 0x6e, 0x19, 0x6e, 0x05, 0x20, 0x00, 0xf0, 0x2f, 0xf8, 0x01, 0x21 +.byte 0x08, 0x42, 0xf9, 0xd1, 0x00, 0x21, 0x99, 0x60, 0x1b, 0x49, 0x19, 0x60, 0x00, 0x21, 0x59, 0x60 +.byte 0x1a, 0x49, 0x1b, 0x48, 0x01, 0x60, 0x01, 0x21, 0x99, 0x60, 0xeb, 0x21, 0x19, 0x66, 0xa0, 0x21 +.byte 0x19, 0x66, 0x00, 0xf0, 0x12, 0xf8, 0x00, 0x21, 0x99, 0x60, 0x16, 0x49, 0x14, 0x48, 0x01, 0x60 +.byte 0x01, 0x21, 0x99, 0x60, 0x01, 0xbc, 0x00, 0x28, 0x00, 0xd0, 0x00, 0x47, 0x12, 0x48, 0x13, 0x49 +.byte 0x08, 0x60, 0x03, 0xc8, 0x80, 0xf3, 0x08, 0x88, 0x08, 0x47, 0x03, 0xb5, 0x99, 0x6a, 0x04, 0x20 +.byte 0x01, 0x42, 0xfb, 0xd0, 0x01, 0x20, 0x01, 0x42, 0xf8, 0xd1, 0x03, 0xbd, 0x02, 0xb5, 0x18, 0x66 +.byte 0x18, 0x66, 0xff, 0xf7, 0xf2, 0xff, 0x18, 0x6e, 0x18, 0x6e, 0x02, 0xbd, 0x00, 0x00, 0x02, 0x40 +.byte 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x07, 0x00, 0x00, 0x03, 0x5f, 0x00, 0x21, 0x22, 0x00, 0x00 +.byte 0xf4, 0x00, 0x00, 0x18, 0x22, 0x20, 0x00, 0xa0, 0x00, 0x01, 0x00, 0x10, 0x08, 0xed, 0x00, 0xe0 +.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0xb2, 0x4e, 0x7a diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/CMakeLists.txt b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/CMakeLists.txt new file mode 100644 index 00000000000..8118bbf1d66 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/CMakeLists.txt @@ -0,0 +1,21 @@ +# Copyright (c) 2020 ARM Limited. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +set(LINKER_FILE ../TOOLCHAIN_GCC_ARM/memmap_default.ld) + +add_library(mbed-sfe-rp2040-thing-plus INTERFACE) + +target_sources(mbed-sfe-rp2040-thing-plus + INTERFACE + board.c + bs2_default_padded_checksummed.S +) + +target_include_directories(mbed-sfe-rp2040-thing-plus + INTERFACE + . +) + +mbed_set_linker_script(mbed-sfe-rp2040-thing-plus ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE}) + +target_link_libraries(mbed-sfe-rp2040-thing-plus INTERFACE mbed-rp2040) diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/PinNames.h b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/PinNames.h new file mode 100644 index 00000000000..2b2e9463ef5 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/PinNames.h @@ -0,0 +1,70 @@ +#ifndef MBED_PINNAMES_H +#define MBED_PINNAMES_H + +#include "PeripheralNames.h" +#include "boards/pico.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + p0 = 0, + p1 = 1, + p2 = 2, + p3 = 3, + p4 = 4, + p5 = 5, + p6 = 6, + p7 = 7, + p8 = 8, + p9 = 9, + p10 = 10, + p11 = 11, + p12 = 12, + p13 = 13, + p14 = 14, + p15 = 15, + p16 = 16, + p17 = 17, + p18 = 18, + p19 = 19, + p20 = 20, + p21 = 21, + p22 = 22, + p23 = 23, + p24 = 24, + p25 = 25, + p26 = 26, + p27 = 27, + p28 = 28, + p29 = 29, + + // ADC internal channels + ADC_TEMP = 0xF0, + ADC_VREF = 0xF1, + +#ifndef ARDUINO_ARCH_MBED + A0 = 26, + A1 = 27, + A2 = 28, + A3 = 29, +#endif + + CONSOLE_TX = p0, + CONSOLE_RX = p1, + + LED1 = p25, + LED2 = p25, + LED3 = p25, + LED4 = p25, + + // Not connected + NC = (int)0xFFFFFFFF +} PinName; + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/board.c b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/board.c new file mode 100644 index 00000000000..1f775638f9b --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/board.c @@ -0,0 +1,3 @@ +#include "PinNames.h" + +uint32_t SystemCoreClock = 120000000; \ No newline at end of file diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/bs2_default_padded_checksummed.S b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/bs2_default_padded_checksummed.S new file mode 100644 index 00000000000..fc6bea7df62 --- /dev/null +++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_SFE_RP2040_THING_PLUS/bs2_default_padded_checksummed.S @@ -0,0 +1,23 @@ +// Padded and checksummed version of: /ssd/rp2040/pico-examples/build/pico-sdk/src/rp2_common/boot_stage2/bs2_default.bin + +.cpu cortex-m0plus +.thumb + +.section .boot2, "ax" + +.byte 0x00, 0xb5, 0x32, 0x4b, 0x21, 0x20, 0x58, 0x60, 0x98, 0x68, 0x02, 0x21, 0x88, 0x43, 0x98, 0x60 +.byte 0xd8, 0x60, 0x18, 0x61, 0x58, 0x61, 0x2e, 0x4b, 0x00, 0x21, 0x99, 0x60, 0x02, 0x21, 0x59, 0x61 +.byte 0x01, 0x21, 0xf0, 0x22, 0x99, 0x50, 0x2b, 0x49, 0x19, 0x60, 0x01, 0x21, 0x99, 0x60, 0x35, 0x20 +.byte 0x00, 0xf0, 0x44, 0xf8, 0x02, 0x22, 0x90, 0x42, 0x14, 0xd0, 0x06, 0x21, 0x19, 0x66, 0x00, 0xf0 +.byte 0x34, 0xf8, 0x19, 0x6e, 0x01, 0x21, 0x19, 0x66, 0x00, 0x20, 0x18, 0x66, 0x1a, 0x66, 0x00, 0xf0 +.byte 0x2c, 0xf8, 0x19, 0x6e, 0x19, 0x6e, 0x19, 0x6e, 0x05, 0x20, 0x00, 0xf0, 0x2f, 0xf8, 0x01, 0x21 +.byte 0x08, 0x42, 0xf9, 0xd1, 0x00, 0x21, 0x99, 0x60, 0x1b, 0x49, 0x19, 0x60, 0x00, 0x21, 0x59, 0x60 +.byte 0x1a, 0x49, 0x1b, 0x48, 0x01, 0x60, 0x01, 0x21, 0x99, 0x60, 0xeb, 0x21, 0x19, 0x66, 0xa0, 0x21 +.byte 0x19, 0x66, 0x00, 0xf0, 0x12, 0xf8, 0x00, 0x21, 0x99, 0x60, 0x16, 0x49, 0x14, 0x48, 0x01, 0x60 +.byte 0x01, 0x21, 0x99, 0x60, 0x01, 0xbc, 0x00, 0x28, 0x00, 0xd0, 0x00, 0x47, 0x12, 0x48, 0x13, 0x49 +.byte 0x08, 0x60, 0x03, 0xc8, 0x80, 0xf3, 0x08, 0x88, 0x08, 0x47, 0x03, 0xb5, 0x99, 0x6a, 0x04, 0x20 +.byte 0x01, 0x42, 0xfb, 0xd0, 0x01, 0x20, 0x01, 0x42, 0xf8, 0xd1, 0x03, 0xbd, 0x02, 0xb5, 0x18, 0x66 +.byte 0x18, 0x66, 0xff, 0xf7, 0xf2, 0xff, 0x18, 0x6e, 0x18, 0x6e, 0x02, 0xbd, 0x00, 0x00, 0x02, 0x40 +.byte 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x07, 0x00, 0x00, 0x03, 0x5f, 0x00, 0x21, 0x22, 0x00, 0x00 +.byte 0xf4, 0x00, 0x00, 0x18, 0x22, 0x20, 0x00, 0xa0, 0x00, 0x01, 0x00, 0x10, 0x08, 0xed, 0x00, 0xe0 +.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0xb2, 0x4e, 0x7a diff --git a/targets/targets.json b/targets/targets.json index 2081b372540..706ab2b964d 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -8041,6 +8041,39 @@ "PICO_ON_DEVICE=1", "PICO_UART_ENABLE_CRLF_SUPPORT=0" ] + }, + "SFE_RP2040_PRO_MICRO": { + "inherits": ["RP2040"], + "macros_add": [ + "PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1", + "PICO_NO_BINARY_INFO=1", + "MBED_MPU_CUSTOM", + "PICO_TIME_DEFAULT_ALARM_POOL_DISABLED", + "PICO_ON_DEVICE=1", + "PICO_UART_ENABLE_CRLF_SUPPORT=0" + ] + }, + "SFE_RP2040_MICROMOD": { + "inherits": ["RP2040"], + "macros_add": [ + "PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1", + "PICO_NO_BINARY_INFO=1", + "MBED_MPU_CUSTOM", + "PICO_TIME_DEFAULT_ALARM_POOL_DISABLED", + "PICO_ON_DEVICE=1", + "PICO_UART_ENABLE_CRLF_SUPPORT=0" + ] + }, + "SFE_RP2040_THING_PLUS": { + "inherits": ["RP2040"], + "macros_add": [ + "PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1", + "PICO_NO_BINARY_INFO=1", + "MBED_MPU_CUSTOM", + "PICO_TIME_DEFAULT_ALARM_POOL_DISABLED", + "PICO_ON_DEVICE=1", + "PICO_UART_ENABLE_CRLF_SUPPORT=0" + ] }, "__build_tools_metadata__": { "version": "1",