A small script that installs or updates RAKwireless WisBlock modules in PlatformIO BSP's This script does not install the required BSP's (platform and package), it only patches already installed BSP's.
REMARK Tested only on Windows 10 and Ubuntu!
Before you can use the WisBlock Core modules with PlatformIO you need to install the original platforms:
- RAK4631 => install nRF52 platform
After the required platforms are installed, follow the steps as shown in Update
After updating or installing the nRF52, ESP32 or Raspberry Pi RP2040 package do the following steps:
- Ignore the Unknown board ID or variant.h: No such file or directory errors until the following patch has been applied
Unzip the contents of RAK_PATCH.zip into folder RAK_PATCH in your PlatformIO installation folder.
Paths on different OS: | |
---|---|
Windows | %USER%\.platformio\ |
Linux | ~/.platformio/ |
MacOS | /Users/{Your_User_id}/.platformio/ |
Install the patch
Open a terminal in the .platformio folder and execute python ./rak_patch.py
Example (Windows 10 terminal):
Example (Linux terminal):
Download the complete package from RAK_PATCH.zip