|
| 1 | +# Copyright (c) 2014-2015 Arduino LLC. All right reserved. |
| 2 | +# Copyright (c) 2016 Sandeep Mistry All right reserved. |
| 3 | +# Copyright (c) 2017 Frank Holtz All right reserved. |
| 4 | +# |
| 5 | +# This library is free software; you can redistribute it and/or |
| 6 | +# modify it under the terms of the GNU Lesser General Public |
| 7 | +# License as published by the Free Software Foundation; either |
| 8 | +# version 2.1 of the License, or (at your option) any later version. |
| 9 | +# |
| 10 | +# This library is distributed in the hope that it will be useful, |
| 11 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | +# See the GNU Lesser General Public License for more details. |
| 14 | +# |
| 15 | +# You should have received a copy of the GNU Lesser General Public |
| 16 | +# License along with this library; if not, write to the Free Software |
| 17 | +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | + |
| 19 | +menu.chip=Chip |
| 20 | +menu.bootcode=Bootloader/SD |
| 21 | +menu.lfclk=Low Frequency Clock |
| 22 | +menu.reset=Reset |
| 23 | + |
| 24 | +# MyNRF5Board nRF52832 |
| 25 | +# Board definition is expected in |
| 26 | +# MyBoard.cpp and MyBoard.h as part |
| 27 | +# of the sketch |
| 28 | +################################### |
| 29 | + |
| 30 | +MyBoard_nRF52832.name=MyNRF5Board nRF52832 |
| 31 | + |
| 32 | +MyBoard_nRF52832.bootloader.tool=sandeepmistry:openocd |
| 33 | + |
| 34 | +MyBoard_nRF52832.upload.tool=sandeepmistry:openocd |
| 35 | +MyBoard_nRF52832.upload.target=nrf52 |
| 36 | +MyBoard_nRF52832.upload.maximum_size=524288 |
| 37 | + |
| 38 | +MyBoard_nRF52832.build.mcu=cortex-m4 |
| 39 | +MyBoard_nRF52832.build.f_cpu=16000000 |
| 40 | +MyBoard_nRF52832.build.board=GENERIC |
| 41 | +MyBoard_nRF52832.build.core=sandeepmistry:nRF5 |
| 42 | +MyBoard_nRF52832.build.variant=MyNRF5Board |
| 43 | +MyBoard_nRF52832.build.variant_system_lib= |
| 44 | +# -I{build.path} and -DMYNRF5BOARD is only required by MyNRF5Board |
| 45 | +MyBoard_nRF52832.build.extra_flags=-DNRF52 -DMYNRF5BOARD -I{build.path} |
| 46 | +MyBoard_nRF52832.build.float_flags=-mfloat-abi=hard -mfpu=fpv4-sp-d16 |
| 47 | +MyBoard_nRF52832.build.ldscript=nrf52_xxaa.ld |
| 48 | + |
| 49 | +MyBoard_nRF52832.menu.bootcode.none=None |
| 50 | +MyBoard_nRF52832.menu.bootcode.none.softdevice=none |
| 51 | +MyBoard_nRF52832.menu.bootcode.s132=S132 (SoftDevice) |
| 52 | +MyBoard_nRF52832.menu.bootcode.s132.softdevice=s132 |
| 53 | +MyBoard_nRF52832.menu.bootcode.s132.softdeviceversion=2.0.1 |
| 54 | +MyBoard_nRF52832.menu.bootcode.s132.upload.maximum_size=409600 |
| 55 | +MyBoard_nRF52832.menu.bootcode.s132.build.extra_flags=-DNRF52 -DS132 -DNRF51_S132 -DSOFTDEVICE_PRESENT |
| 56 | +MyBoard_nRF52832.menu.bootcode.s132.build.ldscript=armgcc_s132_nrf52832_xxaa.ld |
| 57 | + |
| 58 | +MyBoard_nRF52832.menu.lfclk.lfxo=Crystal Oscillator |
| 59 | +MyBoard_nRF52832.menu.lfclk.lfxo.build.lfclk_flags=-DUSE_LFXO |
| 60 | +MyBoard_nRF52832.menu.lfclk.lfrc=RC Oscillator |
| 61 | +MyBoard_nRF52832.menu.lfclk.lfrc.build.lfclk_flags=-DUSE_LFRC |
| 62 | +MyBoard_nRF52832.menu.lfclk.lfsynt=Synthesized |
| 63 | +MyBoard_nRF52832.menu.lfclk.lfsynt.build.lfclk_flags=-DUSE_LFSYNT |
| 64 | + |
| 65 | +MyBoard_nRF52832.menu.reset.notenable=Don't enable |
| 66 | +MyBoard_nRF52832.menu.reset.enabled=Enable |
| 67 | +MyBoard_nRF52832.menu.reset.enabled.build.reset_flags=-DCONFIG_GPIO_AS_PINRESET |
| 68 | + |
| 69 | + |
| 70 | +# MyNRF5Board nRF51822 |
| 71 | +# Board definition is expected in |
| 72 | +# MyBoard.cpp and MyBoard.h as part |
| 73 | +# of the sketch |
| 74 | +################################### |
| 75 | + |
| 76 | +MyBoard_nRF51822.name=MyNRF5Board nRF51822 |
| 77 | +MyBoard_nRF51822.bootloader.tool=sandeepmistry:openocd |
| 78 | +MyBoard_nRF51822.upload.tool=sandeepmistry:openocd |
| 79 | +MyBoard_nRF51822.upload.target=nrf51 |
| 80 | +MyBoard_nRF51822.upload.maximum_size=262144 |
| 81 | + |
| 82 | +MyBoard_nRF51822.build.mcu=cortex-m0 |
| 83 | +MyBoard_nRF51822.build.f_cpu=16000000 |
| 84 | +MyBoard_nRF51822.build.board=GENERIC |
| 85 | +MyBoard_nRF51822.build.core=sandeepmistry:nRF5 |
| 86 | +MyBoard_nRF51822.build.variant=MyNRF5Board |
| 87 | +MyBoard_nRF51822.build.variant_system_lib= |
| 88 | +# -I{build.path} and -DMYNRF5BOARD is only required by MyNRF5Board |
| 89 | +MyBoard_nRF51822.build.extra_flags=-DNRF51 -DMYNRF5BOARD -I{build.path} |
| 90 | +MyBoard_nRF51822.build.float_flags= |
| 91 | +MyBoard_nRF51822.build.ldscript=nrf51_{build.chip}.ld |
| 92 | + |
| 93 | +MyBoard_nRF51822.menu.chip.xxaa=16 kB RAM, 256 kB flash (xxaa) |
| 94 | +MyBoard_nRF51822.menu.chip.xxaa.build.chip=xxaa |
| 95 | +MyBoard_nRF51822.menu.chip.xxac=32 kB RAM, 256 kB flash (xxac) |
| 96 | +MyBoard_nRF51822.menu.chip.xxac.build.chip=xxac |
| 97 | + |
| 98 | +MyBoard_nRF51822.menu.bootcode.none=None |
| 99 | +MyBoard_nRF51822.menu.bootcode.none.softdevice=none |
| 100 | +MyBoard_nRF51822.menu.bootcode.s110=S110 (SoftDevice) |
| 101 | +MyBoard_nRF51822.menu.bootcode.s110.softdevice=s110 |
| 102 | +MyBoard_nRF51822.menu.bootcode.s110.softdeviceversion=8.0.0 |
| 103 | +MyBoard_nRF51822.menu.bootcode.s110.upload.maximum_size=151552 |
| 104 | +MyBoard_nRF51822.menu.bootcode.s110.build.extra_flags=-DNRF51 -DS110 -DNRF51_S110 -DSOFTDEVICE_PRESENT |
| 105 | +MyBoard_nRF51822.menu.bootcode.s110.build.ldscript=armgcc_s110_nrf51822_{build.chip}.ld |
| 106 | +MyBoard_nRF51822.menu.bootcode.s130=S130 (SoftDevice) |
| 107 | +MyBoard_nRF51822.menu.bootcode.s130.softdevice=s130 |
| 108 | +MyBoard_nRF51822.menu.bootcode.s130.softdeviceversion=2.0.1 |
| 109 | +MyBoard_nRF51822.menu.bootcode.s130.upload.maximum_size=151552 |
| 110 | +MyBoard_nRF51822.menu.bootcode.s130.build.extra_flags=-DNRF51 -DS130 -DNRF51_S130 -DSOFTDEVICE_PRESENT |
| 111 | +MyBoard_nRF51822.menu.bootcode.s130.build.ldscript=armgcc_s130_nrf51822_{build.chip}.ld |
| 112 | + |
| 113 | +MyBoard_nRF51822.menu.lfclk.lfxo=Crystal Oscillator |
| 114 | +MyBoard_nRF51822.menu.lfclk.lfxo.build.lfclk_flags=-DUSE_LFXO |
| 115 | +MyBoard_nRF51822.menu.lfclk.lfrc=RC Oscillator |
| 116 | +MyBoard_nRF51822.menu.lfclk.lfrc.build.lfclk_flags=-DUSE_LFRC |
| 117 | +MyBoard_nRF51822.menu.lfclk.lfsynt=Synthesized |
| 118 | +MyBoard_nRF51822.menu.lfclk.lfsynt.build.lfclk_flags=-DUSE_LFSYNT |
0 commit comments