Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ There are two methods that you can use to install this BSP. We highly recommend
1. [Download and install the Arduino IDE](https://www.arduino.cc/en/Main/Software) (At least v1.6.12)
2. Start the Arduino IDE
3. Go into Preferences
4. Add "https://raw.githubusercontent.com/pdcook/nRFMicro-Arduino-Core/main/package_nRFMicro_index.json" as an 'Additional Board Manager URL'
4. Add the following lines as 'Additional Board Manager URL'

```
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
https://raw.githubusercontent.com/pdcook/nRFMicro-Arduino-Core/main/package_nRFMicro_index.json
Comment on lines +32 to +33
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
https://raw.githubusercontent.com/pdcook/nRFMicro-Arduino-Core/main/package_nRFMicro_index.json
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json,https://raw.githubusercontent.com/pdcook/nRFMicro-Arduino-Core/main/package_nRFMicro_index.json

The instructions are for the user to enter this into the "Additional Boards Manager URLs" field in Arduino IDE's "Preferences" dialog. That field only accepts a comma-delimited list of URLs.

The URL-per-line format you are suggesting can only be used in the "Additional Boards Manager URLs" dialog which is accessed by clicking the button to the right side of the "Additional Boards Manager URLs" field in the "Preferences" dialog.

If you want to instruct the user to use a URL-per-line format, you must also provide instructions for using the "Additional Boards Manager URLs" dialog. My opinion is that, in this context there isn't a significant advantage to using the "Additional Boards Manager URLs" dialog and the additional steps to access the dialog would make the instructions more difficult for the user to follow. So my suggestion is to simply specify the correct format for use in the "Additional Boards Manager URLs" field.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I could have been more clear on this. But this PR is more than 2 months old and I don't expect it ever to get merged so I don't bother updating to be honest.

```

5. Restart the Arduino IDE
6. Open the Boards Manager from the Tools -> Board menu and install 'nRFMicro Boards'
7. Once the BSP is installed, select 'nRFMicro' or 'SuperMini nRF52840' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.
Expand Down
8 changes: 4 additions & 4 deletions package_nRFMicro_index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages": [
{
"name": "nRFMicro-like Boards",
"name": "nRFMicro-like-Boards",
"maintainer": "pdcook",
"websiteURL": "https://github.com/pdcook/nRFMicro-Arduino-Core",
"email": "",
Expand All @@ -10,7 +10,7 @@
},
"platforms": [
{
"name": "nRFMicro-like Boards",
"name": "nRFMicro-like-Boards",
"architecture": "nrf52",
"version": "1.0.0",
"category": "Contributed",
Expand Down Expand Up @@ -56,7 +56,7 @@
]
},
{
"name": "nRFMicro-like Boards",
"name": "nRFMicro-like-Boards",
"architecture": "nrf52",
"version": "1.0.1",
"category": "Contributed",
Expand Down Expand Up @@ -102,7 +102,7 @@
]
},
{
"name": "nRFMicro-like Boards",
"name": "nRFMicro-like-Boards",
"architecture": "nrf52",
"version": "1.0.2",
"category": "Contributed",
Expand Down