-
Notifications
You must be signed in to change notification settings - Fork 0
/
boards.txt
88 lines (73 loc) · 3.42 KB
/
boards.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# Copyright (C) 2022 DJI.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Change Logs:
# Date Author Notes
# 2022-09-27 robomaster first version
#
# =============================================================================
# The MIT License (MIT)
# Copyright (c) 2019 Seeed Technology Inc.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
menu.debug=Generate Debug Info
menu.feature1=Connect RoboMaster EP
menu.feature2=Connect AI Camera
# menu.speedup=Fastest compilation speed
# RM Expansion Module
# ------------------------------
RMEM_01.name=RM Expansion Module (RMEM01)
RMEM_01.vid.0=0x2CA3U
RMEM_01.pid.0=0x6001U
RMEM_01.vid.1=0x2CA3U
RMEM_01.pid.1=0x6001U
RMEM_01.upload.tool=rmaut
RMEM_01.upload.protocol=open-protocol
RMEM_01.upload.maximum_size=3145728
RMEM_01.upload.maximum_data_size=1048576
RMEM_01.upload.offset=0x10000
RMEM_01.upload.use_1200bps_touch=false
RMEM_01.upload.wait_for_upload_port=true
RMEM_01.upload.native_usb=true
RMEM_01.build.mcu=cortex-m7
RMEM_01.build.fpu=fpv5-d16
RMEM_01.build.f_cpu=600000000L
RMEM_01.build.usb_product="Ai Hub"
RMEM_01.build.usb_manufacturer="Dji"
RMEM_01.build.board=RMEM_01
RMEM_01.build.processor=MIMXRT1064
RMEM_01.build.core=arduino
RMEM_01.build.extra_flags=-DCPU_MIMXRT1064DVL6A -DCPU_MIMXRT1064DVL6A_cm7 -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DUSB_STACK_BM -DSERIAL_PORT_TYPE_UART=1 -DSDK_DEBUGCONSOLE=1 -DSDK_OS_FREE_RTOS -DMCUXPRESSO_SDK -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DDEBUG -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING -DSD_ENABLED -DDISABLE_WDOG -D__STARTUP_INITIALIZE_NONCACHEDATA -DI2C_RETRY_TIMES=10
RMEM_01.build.ldscript=MIMXRT1064_Arduino.ld
RMEM_01.build.variant=RMEM_01
RMEM_01.menu.debug.off=OFF
RMEM_01.menu.debug.on=ON
RMEM_01.menu.debug.off.build.flags.debug=-O0
RMEM_01.menu.debug.on.build.flags.debug=-Og -g3
RMEM_01.menu.feature1.off=OFF
RMEM_01.menu.feature1.on=ON
RMEM_01.menu.feature1.off.build.flags.feature1=
RMEM_01.menu.feature1.on.build.flags.feature1=-DCONNECT_EP
RMEM_01.menu.feature2.off=OFF
RMEM_01.menu.feature2.on=ON
RMEM_01.menu.feature2.off.build.flags.feature2=
RMEM_01.menu.feature2.on.build.flags.feature2=-DCONNECT_AI_CAMERA
# RMEM_01.menu.speedup.off=OFF
# RMEM_01.menu.speedup.on=ON
# RMEM_01.menu.speedup.off.build.flags.speedup=
# RMEM_01.menu.speedup.on.build.flags.speedup="{runtime.platform.path}/tools/lib/{build.processor}/librm_func.a" "{runtime.platform.path}/tools/lib/{build.processor}/libarduinocore.a"