-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Makerdiary nRF52840 MDK dongle #46
Open
Brezensalzer
wants to merge
9
commits into
soburi:master
Choose a base branch
from
Brezensalzer:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f0b0389
added vriant for Makerdiary nRF52840 MDK USB Dongle
b4944de
added new variant to boards.txt
8b6f024
added bootloader for new board
ee078cd
fixed pins 20/21 not usable?)
2620dbb
fixed obfuscated pin numbering
a551761
added SPI pin definition
23a05ab
added bootloader firmware
1befd05
fixed analog pin definition
d4c470c
fixed board definition
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
||
menu.softdevice=SoftDevice | ||
menu.softdevice=Bootloader | ||
menu.debug=Debug | ||
|
||
# ---------------------------------- | ||
|
@@ -57,7 +57,7 @@ feather52840.build.vid=0x239A | |
feather52840.build.pid=0x8029 | ||
|
||
# SofDevice Menu | ||
feather52840.menu.softdevice.s140v7=S140 7.0.1 | ||
feather52840.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. |
||
feather52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
feather52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
feather52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -75,9 +75,9 @@ feather52840.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1 | |
|
||
|
||
# ---------------------------------- | ||
# Feather nRF52840 sense | ||
# Feather Bluefruit sense | ||
# ---------------------------------- | ||
feather52840sense.name=Adafruit Feather nRF52840 Sense | ||
feather52840sense.name=Adafruit Feather Bluefruit Sense | ||
|
||
# VID/PID for bootloader with/without UF2, Arduino + Circuitpython App | ||
feather52840sense.vid.0=0x239A | ||
|
@@ -112,7 +112,7 @@ feather52840sense.build.vid=0x239A | |
feather52840sense.build.pid=0x8087 | ||
|
||
# SofDevice Menu | ||
feather52840sense.menu.softdevice.s140v7=S140 7.0.1 | ||
feather52840sense.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
feather52840sense.menu.softdevice.s140v7.build.sd_name=s140 | ||
feather52840sense.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
feather52840sense.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -167,7 +167,7 @@ itsybitsy52840.build.vid=0x239A | |
itsybitsy52840.build.pid=0x8051 | ||
|
||
# SofDevice Menu | ||
itsybitsy52840.menu.softdevice.s140v7=S140 7.0.1 | ||
itsybitsy52840.menu.softdevice.s140v7=0.2.11 SoftDevice s140 7.0.1 | ||
itsybitsy52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
itsybitsy52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
itsybitsy52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -221,7 +221,7 @@ cplaynrf52840.build.vid=0x239A | |
cplaynrf52840.build.pid=0x8045 | ||
|
||
# SofDevice Menu | ||
cplaynrf52840.menu.softdevice.s140v7=S140 7.0.1 | ||
cplaynrf52840.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
cplaynrf52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
cplaynrf52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
cplaynrf52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -276,7 +276,7 @@ cluenrf52840.build.vid=0x239A | |
cluenrf52840.build.pid=0x8071 | ||
|
||
# SofDevice Menu | ||
cluenrf52840.menu.softdevice.s140v7=S140 7.0.1 | ||
cluenrf52840.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
cluenrf52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
cluenrf52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
cluenrf52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -293,9 +293,9 @@ cluenrf52840.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 | |
cluenrf52840.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1 | ||
|
||
# ---------------------------------- | ||
# Metro nRF52840 Express | ||
# Bluefruit Metro nRF52840 Express | ||
# ---------------------------------- | ||
metro52840.name=Adafruit Metro nRF52840 Express | ||
metro52840.name=Adafruit Bluefruit Metro nRF52840 Express | ||
|
||
# VID/PID for bootloader with/without UF2, Arduino + Circuitpython App | ||
metro52840.vid.0=0x239A | ||
|
@@ -330,7 +330,7 @@ metro52840.build.vid=0x239A | |
metro52840.build.pid=0x803F | ||
|
||
# SofDevice Menu | ||
metro52840.menu.softdevice.s140v7=S140 7.0.1 | ||
metro52840.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
metro52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
metro52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
metro52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -384,7 +384,7 @@ pca10056.build.vid=0x239A | |
pca10056.build.pid=0x8029 | ||
|
||
# SofDevice Menu | ||
pca10056.menu.softdevice.s140v7=S140 7.0.1 | ||
pca10056.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
pca10056.menu.softdevice.s140v7.build.sd_name=s140 | ||
pca10056.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
pca10056.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -438,7 +438,7 @@ particle_xenon.build.vid=0x239A | |
particle_xenon.build.pid=0x8029 | ||
|
||
# SofDevice Menu | ||
particle_xenon.menu.softdevice.s140v7=S140 7.0.1 | ||
particle_xenon.menu.softdevice.s140v7=0.2.11 SoftDevice s140 7.0.1 | ||
particle_xenon.menu.softdevice.s140v7.build.sd_name=s140 | ||
particle_xenon.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
particle_xenon.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -459,13 +459,15 @@ particle_xenon.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1 | |
# ---------------------------------- | ||
mdbt50qrx.name=Raytac MDBT50Q-RX Dongle | ||
|
||
# VID/PID for bootloader, Arduino + Circuitpython App | ||
# VID/PID for bootloader with/without UF2, Arduino + Circuitpython App | ||
mdbt50qrx.vid.0=0x239A | ||
mdbt50qrx.pid.0=0x810B | ||
mdbt50qrx.pid.0=0x8029 | ||
mdbt50qrx.vid.1=0x239A | ||
mdbt50qrx.pid.1=0x010B | ||
mdbt50qrx.pid.1=0x0029 | ||
mdbt50qrx.vid.2=0x239A | ||
mdbt50qrx.pid.2=0x810C | ||
mdbt50qrx.pid.2=0x002A | ||
mdbt50qrx.vid.3=0x239A | ||
mdbt50qrx.pid.3=0x802A | ||
|
||
# Upload | ||
mdbt50qrx.bootloader.tool=bootburn | ||
|
@@ -482,15 +484,15 @@ mdbt50qrx.build.f_cpu=64000000 | |
mdbt50qrx.build.board=MDBT50Q_RX | ||
mdbt50qrx.build.core=nRF5 | ||
mdbt50qrx.build.variant=raytac_mdbt50q_rx | ||
mdbt50qrx.build.usb_manufacturer="Raytac" | ||
mdbt50qrx.build.usb_product="nRF52840 Dongle" | ||
mdbt50qrx.build.usb_manufacturer="Raytac Corporation" | ||
mdbt50qrx.build.usb_product="Raytac MDBT50Q - RX" | ||
mdbt50qrx.build.extra_flags=-DNRF52840_XXAA {build.flags.usb} | ||
mdbt50qrx.build.ldscript=nrf52840_s140_v7.ld | ||
mdbt50qrx.build.vid=0x239A | ||
mdbt50qrx.build.pid=0x810B | ||
mdbt50qrx.build.pid=0x8029 | ||
|
||
# SofDevice Menu | ||
mdbt50qrx.menu.softdevice.s140v7=S140 7.0.1 | ||
mdbt50qrx.menu.softdevice.s140v7=0.3.2 SoftDevice s140 7.0.1 | ||
mdbt50qrx.menu.softdevice.s140v7.build.sd_name=s140 | ||
mdbt50qrx.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
mdbt50qrx.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
@@ -505,3 +507,57 @@ mdbt50qrx.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 | |
mdbt50qrx.menu.debug.l3=Level 3 (Segger SystemView) | ||
mdbt50qrx.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 | ||
mdbt50qrx.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1 | ||
|
||
# ---------------------------------- | ||
# Makerdiary nRF52840 MDK USB Dongle | ||
# ---------------------------------- | ||
mdk52840.name=Makerdiary nRF52840 MDK Dongle | ||
|
||
# VID/PID for bootloader with/without UF2, Arduino + Circuitpython App | ||
mdk52840.vid.0=0x239A | ||
mdk52840.pid.0=0x80DD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Confirmation: Where did the values 0x80DD and 0x802A come from? (I couldn't found in the bootloader source.) |
||
mdk52840.vid.1=0x239A | ||
mdk52840.pid.1=0x0029 | ||
mdk52840.vid.2=0x239A | ||
mdk52840.pid.2=0x002A | ||
mdk52840.vid.3=0x239A | ||
mdk52840.pid.3=0x802A | ||
|
||
# Upload | ||
mdk52840.bootloader.tool=bootburn | ||
mdk52840.upload.tool=nrfutil | ||
mdk52840.upload.protocol=nrfutil | ||
mdk52840.upload.use_1200bps_touch=true | ||
mdk52840.upload.wait_for_upload_port=true | ||
mdk52840.upload.maximum_size=815104 | ||
mdk52840.upload.maximum_data_size=237568 | ||
|
||
# Build | ||
mdk52840.build.mcu=cortex-m4 | ||
mdk52840.build.f_cpu=64000000 | ||
mdk52840.build.board=MDK_NRF52840 | ||
mdk52840.build.core=nRF5 | ||
mdk52840.build.variant=mdk_nrf52840 | ||
mdk52840.build.usb_manufacturer="Makerdiary" | ||
mdk52840.build.usb_product="Makerdiary nRF52840 MDK" | ||
mdk52840.build.extra_flags=-DNRF52840_XXAA {build.flags.usb} | ||
mdk52840.build.ldscript=nrf52840_s140_v7.ld | ||
mdk52840.build.vid=0x239A | ||
mdk52840.build.pid=0x80DD | ||
|
||
# SofDevice Menu | ||
mdk52840.menu.softdevice.s140v7=0.6.3 SoftDevice s140 7.0.1 | ||
mdk52840.menu.softdevice.s140v7.build.sd_name=s140 | ||
mdk52840.menu.softdevice.s140v7.build.sd_version=7.0.1 | ||
mdk52840.menu.softdevice.s140v7.build.sd_fwid=0x00CA | ||
|
||
# Debug Menu | ||
mdk52840.menu.debug.l0=Level 0 (Release) | ||
mdk52840.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0 | ||
mdk52840.menu.debug.l1=Level 1 (Error Message) | ||
mdk52840.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1 | ||
mdk52840.menu.debug.l2=Level 2 (Full Debug) | ||
mdk52840.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 | ||
mdk52840.menu.debug.l3=Level 3 (Segger SystemView) | ||
mdk52840.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 | ||
mdk52840.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it need to change?