Skip to content

Nano R4 #475

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

Merged
merged 4 commits into from
Jul 24, 2025
Merged
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
53 changes: 53 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,59 @@ unor4wifi.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd

##############################################################

nanor4.name=Arduino Nano R4
nanor4.build.core=arduino
nanor4.build.crossprefix=arm-none-eabi-
nanor4.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/

nanor4.build.variant=NANOR4
nanor4.build.mcu=cortex-m4
nanor4.build.architecture=cortex-m4
nanor4.build.fpu=-mfpu=fpv4-sp-d16
nanor4.build.float-abi=-mfloat-abi=hard

nanor4.build.board=nanor4
nanor4.build.defines=-DF_CPU=48000000 -DARDUINO_NANO_R4 -DARDUINO_UNOR4_MINIMA
nanor4.vid.0=0x2341
nanor4.pid.0=0x0074
nanor4.vid.1=0x2341
nanor4.pid.1=0x0374
nanor4.upload_port.0.vid=0x2341
nanor4.upload_port.0.pid=0x0074
nanor4.upload_port.1.vid=0x2341
nanor4.upload_port.1.pid=0x0374

nanor4.compiler.fsp.defines={build.variant.path}/defines.txt
nanor4.compiler.fsp.ldflags={build.variant.path}/ldflags.txt
nanor4.compiler.fsp.cflags=-mthumb "@{compiler.fsp.defines}"
nanor4.compiler.fsp.cxxflags=-mthumb "@{compiler.fsp.defines}"
nanor4.compiler.tinyusb.cflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
nanor4.compiler.tinyusb.cxxflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
nanor4.compiler.fsp.includes={build.variant.path}/includes.txt
nanor4.compiler.fsp.extra_ldflags=--specs=nano.specs -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
nanor4.compiler.fsp="{build.variant.path}/libs/libfsp.a"

nanor4.upload.tool=dfu-util
nanor4.upload.tool.default=dfu-util
nanor4.upload.protocol=
nanor4.upload.transport=
nanor4.upload.vid=0x2341
nanor4.upload.pid=0x0374
nanor4.upload.address=0x00010000
nanor4.upload.interface=0
nanor4.upload.use_1200bps_touch=false
nanor4.upload.wait_for_upload_port=false
nanor4.upload.native_usb=true
nanor4.upload.maximum_size=262144
nanor4.upload.maximum_data_size=32768

nanor4.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
nanor4.debug.server.openocd.scripts.1={programmer.transport_script}
nanor4.debug.server.openocd.scripts.2={runtime.platform.path}/debugger/R7FA4M1AB.cfg
nanor4.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd

##############################################################

opta_digital.name=Arduino OPTA DIGITAL
opta_digital.build.core=arduino
opta_digital.build.crossprefix=arm-none-eabi-
Expand Down
Loading
Loading