diff --git a/README.md b/README.md index 1b5ec85..d301f13 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ * [Use Arduino Library Manager](#use-arduino-library-manager) * [Manual Install](#manual-install) * [VS Code & PlatformIO](#vs-code--platformio) +* [Packages' Patches](#packages-patches) + * [1. For RP2040-based boards](#1-for-rp2040-based-boards) * [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error) * [More useful Information](#more-useful-information) * [Usage](#usage) @@ -165,6 +167,23 @@ Another way to install is to: --- --- +### Packages' Patches + +#### 1. For RP2040-based boards + + ***To be able to automatically detect and display BOARD_NAME on Seeeduino SAMD (RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc) boards***, you have to copy the file [RP2040 platform.txt](Packages_Patches/rp2040/hardware/rp2040/1.2.1) into rp2040 directory (~/.arduino15/packages/rp2040/hardware/rp2040/1.2.1). + +Supposing the rp2040 core version is 1.2.1. This file must be copied into the directory: + +- `~/.arduino15/packages/rp2040/hardware/rp2040/1.2.1/platform.txt` + +Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz +This file must be copied into the directory: + +- `~/.arduino15/packages/rp2040/hardware/rp2040/x.yy.zz/platform.txt` + +--- +--- ### HOWTO Fix `Multiple Definitions` Linker Error