Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5cfd860

Browse files
facchinmpennam
authored andcommitted
boards: add Nano R4
Shares many features with Minima, so most of the support code is copied (not regenerated)
1 parent 4ebe747 commit 5cfd860

File tree

191 files changed

+420047
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+420047
-0
lines changed

‎boards.txt‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,59 @@ unor4wifi.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd
158158

159159
##############################################################
160160

161+
nanor4.name=Arduino Nano R4
162+
nanor4.build.core=arduino
163+
nanor4.build.crossprefix=arm-none-eabi-
164+
nanor4.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
165+
166+
nanor4.build.variant=NANOR4
167+
nanor4.build.mcu=cortex-m4
168+
nanor4.build.architecture=cortex-m4
169+
nanor4.build.fpu=-mfpu=fpv4-sp-d16
170+
nanor4.build.float-abi=-mfloat-abi=hard
171+
172+
nanor4.build.board=nanor4
173+
nanor4.build.defines=-DF_CPU=48000000 -DARDUINO_NANO_R4 -DARDUINO_UNOR4_MINIMA
174+
nanor4.vid.0=0x2341
175+
nanor4.pid.0=0x0074
176+
nanor4.vid.1=0x2341
177+
nanor4.pid.1=0x0374
178+
nanor4.upload_port.0.vid=0x2341
179+
nanor4.upload_port.0.pid=0x0074
180+
nanor4.upload_port.1.vid=0x2341
181+
nanor4.upload_port.1.pid=0x0374
182+
183+
nanor4.compiler.fsp.defines={build.variant.path}/defines.txt
184+
nanor4.compiler.fsp.ldflags={build.variant.path}/ldflags.txt
185+
nanor4.compiler.fsp.cflags=-mthumb "@{compiler.fsp.defines}"
186+
nanor4.compiler.fsp.cxxflags=-mthumb "@{compiler.fsp.defines}"
187+
nanor4.compiler.tinyusb.cflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
188+
nanor4.compiler.tinyusb.cxxflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
189+
nanor4.compiler.fsp.includes={build.variant.path}/includes.txt
190+
nanor4.compiler.fsp.extra_ldflags=--specs=nano.specs -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
191+
nanor4.compiler.fsp="{build.variant.path}/libs/libfsp.a"
192+
193+
nanor4.upload.tool=dfu-util
194+
nanor4.upload.tool.default=dfu-util
195+
nanor4.upload.protocol=
196+
nanor4.upload.transport=
197+
nanor4.upload.vid=0x2341
198+
nanor4.upload.pid=0x0374
199+
nanor4.upload.address=0x00010000
200+
nanor4.upload.interface=0
201+
nanor4.upload.use_1200bps_touch=false
202+
nanor4.upload.wait_for_upload_port=false
203+
nanor4.upload.native_usb=true
204+
nanor4.upload.maximum_size=262144
205+
nanor4.upload.maximum_data_size=32768
206+
207+
nanor4.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
208+
nanor4.debug.server.openocd.scripts.1={programmer.transport_script}
209+
nanor4.debug.server.openocd.scripts.2={runtime.platform.path}/debugger/R7FA4M1AB.cfg
210+
nanor4.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd
211+
212+
##############################################################
213+
161214
opta_digital.name=Arduino OPTA DIGITAL
162215
opta_digital.build.core=arduino
163216
opta_digital.build.crossprefix=arm-none-eabi-

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /