181 lines
6.2 KiB
Plaintext
181 lines
6.2 KiB
Plaintext
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
|
|
# Copyright (c) 2016 Sandeep Mistry All right reserved.
|
|
# Copyright (c) 2017 Adafruit Industries. All right reserved.
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
# See the GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# 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=Bootloader
|
|
menu.debug=Debug Mode
|
|
|
|
#**********************************************
|
|
# Feather nRF52832 Board
|
|
#**********************************************
|
|
feather52832.name=Adafruit Bluefruit nRF52832 Feather
|
|
feather52832.bootloader.tool=bootburn
|
|
|
|
# Upload
|
|
feather52832.upload.tool=nrfutil
|
|
feather52832.upload.protocol=nrfutil
|
|
feather52832.upload.use_1200bps_touch=false
|
|
feather52832.upload.wait_for_upload_port=false
|
|
feather52832.upload.native_usb=false
|
|
|
|
# Build
|
|
feather52832.build.mcu=cortex-m4
|
|
feather52832.build.f_cpu=64000000
|
|
feather52832.build.board=NRF52_FEATHER
|
|
feather52832.build.core=nRF5
|
|
feather52832.build.variant=feather52832
|
|
feather52832.build.extra_flags=-DNRF52832_XXAA -DNRF52
|
|
|
|
# SofDevice Menu
|
|
# Ram & ROM size varies depending on SoftDevice (check linker script)
|
|
|
|
feather52832.menu.softdevice.s132v6=s132 6.1.0 r0
|
|
feather52832.menu.softdevice.s132v6.build.sd_flags=-DS132
|
|
feather52832.menu.softdevice.s132v6.build.sd_name=s132
|
|
feather52832.menu.softdevice.s132v6.build.sd_version=6.1.0
|
|
feather52832.menu.softdevice.s132v6.build.sd_fwid=0x00AF
|
|
feather52832.menu.softdevice.s132v6.build.ldscript=nrf52832_s132_v6.ld
|
|
feather52832.menu.softdevice.s132v6.upload.maximum_size=290816
|
|
feather52832.menu.softdevice.s132v6.upload.maximum_data_size=51072
|
|
|
|
# Debug Menu
|
|
feather52832.menu.debug.l0=Level 0 (Release)
|
|
feather52832.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0 -Os
|
|
feather52832.menu.debug.l1=Level 1 (Error Message)
|
|
feather52832.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1 -Os
|
|
feather52832.menu.debug.l2=Level 2 (Full Debug)
|
|
feather52832.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 -Os
|
|
feather52832.menu.debug.l3=Level 3 (Segger SystemView)
|
|
feather52832.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 -Os
|
|
|
|
|
|
|
|
#**********************************************
|
|
# Feather nRF52840 Board
|
|
#**********************************************
|
|
feather52840.name=Adafruit Bluefruit nRF52840 Feather
|
|
|
|
# DFU Mode with CDC only
|
|
feather52840.vid.0=0x239A
|
|
feather52840.pid.0=0x002A
|
|
|
|
# DFU Mode with CDC + MSC (UF2)
|
|
feather52840.vid.1=0x239A
|
|
feather52840.pid.1=0x0029
|
|
|
|
# Application with CDC + MSC
|
|
feather52840.vid.2=0x239A
|
|
feather52840.pid.2=0x8029
|
|
|
|
feather52840.bootloader.tool=bootburn
|
|
|
|
# Upload
|
|
feather52840.upload.tool=nrfutil
|
|
feather52840.upload.protocol=nrfutil
|
|
feather52840.upload.use_1200bps_touch=true
|
|
feather52840.upload.wait_for_upload_port=false
|
|
#feather52840.upload.native_usb=true
|
|
|
|
|
|
# Build
|
|
feather52840.build.mcu=cortex-m4
|
|
feather52840.build.f_cpu=64000000
|
|
feather52840.build.board=NRF52840_FEATHER
|
|
feather52840.build.core=nRF5
|
|
feather52840.build.variant=feather52840
|
|
feather52840.build.extra_flags=-DNRF52840_XXAA
|
|
|
|
# SofDevice Menu
|
|
# Ram & ROM size varies depending on SoftDevice (check linker script)
|
|
|
|
feather52840.menu.softdevice.s140v6=s140 6.1.0 r0
|
|
feather52840.menu.softdevice.s140v6.build.sd_flags=-DS140
|
|
feather52840.menu.softdevice.s140v6.build.sd_name=s140
|
|
feather52840.menu.softdevice.s140v6.build.sd_version=6.1.0
|
|
feather52840.menu.softdevice.s140v6.build.sd_fwid=0x00AE
|
|
feather52840.menu.softdevice.s140v6.build.ldscript=nrf52840_s140_v6.ld
|
|
feather52840.menu.softdevice.s140v6.upload.maximum_size=303104
|
|
feather52840.menu.softdevice.s140v6.upload.maximum_data_size=51072
|
|
|
|
# Debug Menu
|
|
feather52840.menu.debug.l0=Level 0 (Release)
|
|
feather52840.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0 -Os
|
|
feather52840.menu.debug.l1=Level 1 (Error Message)
|
|
feather52840.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1 -Os
|
|
feather52840.menu.debug.l2=Level 2 (Full Debug)
|
|
feather52840.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 -Os
|
|
feather52840.menu.debug.l3=Level 3 (Segger SystemView)
|
|
feather52840.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 -Os
|
|
|
|
#**********************************************
|
|
# PCA10056 ( to be remove )
|
|
#**********************************************
|
|
pca10056.name=Bluefruit on PCA10056
|
|
|
|
# DFU Mode with CDC only
|
|
pca10056.vid.0=0x239A
|
|
pca10056.pid.0=0x002A
|
|
|
|
# DFU Mode with CDC + MSC (UF2)
|
|
pca10056.vid.1=0x239A
|
|
pca10056.pid.1=0x0029
|
|
|
|
# Application with CDC + MSC
|
|
pca10056.vid.2=0x239A
|
|
pca10056.pid.2=0x8029
|
|
|
|
pca10056.bootloader.tool=bootburn
|
|
|
|
# Upload
|
|
pca10056.upload.tool=nrfutil
|
|
pca10056.upload.protocol=nrfutil
|
|
pca10056.upload.use_1200bps_touch=true
|
|
pca10056.upload.wait_for_upload_port=false
|
|
#pca10056.upload.native_usb=true
|
|
|
|
# Build
|
|
pca10056.build.mcu=cortex-m4
|
|
pca10056.build.f_cpu=64000000
|
|
pca10056.build.board=NRF52840_FEATHER
|
|
pca10056.build.core=nRF5
|
|
pca10056.build.variant=pca10056
|
|
pca10056.build.extra_flags=-DNRF52840_XXAA
|
|
|
|
# SofDevice Menu
|
|
# Ram & ROM size varies depending on SoftDevice (check linker script)
|
|
|
|
pca10056.menu.softdevice.s140v6=s140 6.1.0 r0
|
|
pca10056.menu.softdevice.s140v6.build.sd_flags=-DS140
|
|
pca10056.menu.softdevice.s140v6.build.sd_name=s140
|
|
pca10056.menu.softdevice.s140v6.build.sd_version=6.1.0
|
|
pca10056.menu.softdevice.s140v6.build.sd_fwid=0x00AE
|
|
pca10056.menu.softdevice.s140v6.build.ldscript=nrf52840_s140_v6.ld
|
|
pca10056.menu.softdevice.s140v6.upload.maximum_size=303104
|
|
pca10056.menu.softdevice.s140v6.upload.maximum_data_size=51072
|
|
|
|
# Debug Menu
|
|
pca10056.menu.debug.l0=Level 0 (Release)
|
|
pca10056.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0 -Os
|
|
pca10056.menu.debug.l1=Level 1 (Error Message)
|
|
pca10056.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1 -Os
|
|
pca10056.menu.debug.l2=Level 2 (Full Debug)
|
|
pca10056.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2 -Os
|
|
pca10056.menu.debug.l3=Level 3 (Segger SystemView)
|
|
pca10056.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3 -Os
|
|
|
|
|