@@ -786,7 +786,6 @@ Eval.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
786
786
787
787
################################################################################
788
788
# STM32MP1 microprocessor series (MPU + MCU)
789
-
790
789
STM32MP1.name=STM32MP1 series coprocessor
791
790
792
791
STM32MP1.build.core=arduino
@@ -803,24 +802,21 @@ STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_size=131072
803
802
STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_data_size=131072
804
803
STM32MP1.menu.pnum.STM32MP157A_DK1.build.board=STM32MP157A_DK1
805
804
STM32MP1.menu.pnum.STM32MP157A_DK1.build.product_line=STM32MP157Axx
806
- STM32MP1.menu.pnum.STM32MP157A_DK1.build.variant=STM32MP1xx/STM32MP157_DK
805
+ STM32MP1.menu.pnum.STM32MP157A_DK1.build.variant=STM32MP1xx/STM32MP157xACx
807
806
808
807
# STM32MP157C-DK2 board
809
808
STM32MP1.menu.pnum.STM32MP157C_DK2=STM32MP157C-DK2
810
809
STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_size=131072
811
810
STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_data_size=131072
812
811
STM32MP1.menu.pnum.STM32MP157C_DK2.build.board=STM32MP157C_DK2
813
812
STM32MP1.menu.pnum.STM32MP157C_DK2.build.product_line=STM32MP157Cxx
814
- STM32MP1.menu.pnum.STM32MP157C_DK2.build.variant=STM32MP1xx/STM32MP157_DK
813
+ STM32MP1.menu.pnum.STM32MP157C_DK2.build.variant=STM32MP1xx/STM32MP157xACx
815
814
816
815
# Upload menu
817
816
STM32MP1.menu.upload_method.MassStorage=Generate run_arduino.sh (You need to copy this manually)
818
817
STM32MP1.menu.upload_method.MassStorage.upload.protocol=
819
818
STM32MP1.menu.upload_method.MassStorage.upload.tool=remoteproc_gen
820
819
821
- ################################################################################
822
- # Other boards
823
-
824
820
###############################
825
821
# Generic F0
826
822
GenF0.name=Generic STM32F0 series
@@ -2196,6 +2192,39 @@ GenL4.menu.upload_method.dfuMethod.upload.protocol=2
2196
2192
GenL4.menu.upload_method.dfuMethod.upload.options=-g
2197
2193
GenL4.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
2198
2194
2195
+ #################################################################################
2196
+ ## Generic MP1 microprocessor series (MPU + MCU)
2197
+ #GenMP1.name=Generic STM32MP1 series coprocessor
2198
+ #
2199
+ #GenMP1.build.core=arduino
2200
+ #GenMP1.build.board=GenMP1
2201
+ #GenMP1.build.mcu=cortex-m4
2202
+ #GenMP1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
2203
+ #GenMP1.build.series=STM32MP1xx
2204
+ #GenMP1.build.cmsis_lib_gcc=arm_cortexM4l_math
2205
+ #GenMP1.build.extra_flags=-DCORE_CM4 -DUSE_FULL_LL_DRIVER -D{build.product_line} {build.enable_virtio} {build.xSerial}
2206
+ #
2207
+ ## Generic MP157AAC board
2208
+ #GenMP1.menu.pnum.GENERIC_MP157AAC=Generic MP157AAC
2209
+ #GenMP1.menu.pnum.GENERIC_MP157AAC.upload.maximum_size=131072
2210
+ #GenMP1.menu.pnum.GENERIC_MP157AAC.upload.maximum_data_size=131072
2211
+ #GenMP1.menu.pnum.GENERIC_MP157AAC.build.board=GENERIC_MP157AAC
2212
+ #GenMP1.menu.pnum.GENERIC_MP157AAC.build.product_line=STM32MP157Axx
2213
+ #GenMP1.menu.pnum.GENERIC_MP157AAC.build.variant=STM32MP1xx/STM32MP157xACx
2214
+ #
2215
+ ## Generic MP157CAC board
2216
+ #GenMP1.menu.pnum.GENERIC_MP157CAC=Generic MP157CAC
2217
+ #GenMP1.menu.pnum.GENERIC_MP157CAC.upload.maximum_size=131072
2218
+ #GenMP1.menu.pnum.GENERIC_MP157CAC.upload.maximum_data_size=131072
2219
+ #GenMP1.menu.pnum.GENERIC_MP157CAC.build.board=GENERIC_MP157CAC
2220
+ #GenMP1.menu.pnum.GENERIC_MP157CAC.build.product_line=STM32MP157Cxx
2221
+ #GenMP1.menu.pnum.GENERIC_MP157CAC.build.variant=STM32MP1xx/STM32MP157xACx
2222
+ #
2223
+ ## Upload menu
2224
+ #GenMP1.menu.upload_method.MassStorage=Generate run_arduino.sh (You need to copy this manually)
2225
+ #GenMP1.menu.upload_method.MassStorage.upload.protocol=
2226
+ #GenMP1.menu.upload_method.MassStorage.upload.tool=remoteproc_gen
2227
+
2199
2228
################################################################################
2200
2229
# Electronic Speed Controller boards
2201
2230
@@ -2776,6 +2805,20 @@ GenL4.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
2776
2805
GenL4.menu.xserial.disabled=Disabled (no Serial support)
2777
2806
GenL4.menu.xserial.disabled.build.xSerial=
2778
2807
2808
+ #GenMP1.menu.virtio.disable=Disabled (no SerialVirtIO nor /dev/ttyRPMSG0 available)
2809
+ #GenMP1.menu.virtio.disable.build.enable_virtio=
2810
+ #GenMP1.menu.virtio.generic=SerialVirtIO (= generic 'Serial') <=> /dev/ttyRPMSG0
2811
+ #GenMP1.menu.virtio.generic.build.enable_virtio={build.virtio_flags}
2812
+ #GenMP1.menu.virtio.enabled=SerialVirtIO <=> /dev/ttyRPMSG0
2813
+ #GenMP1.menu.virtio.enabled.build.enable_virtio={build.virtio_flags} -DDISABLE_GENERIC_SERIALVIRTIO
2814
+
2815
+ #GenMP1.menu.xserial.generic=UART only (generic 'Serial')
2816
+ #GenMP1.menu.xserial.generic.build.xSerial=-DHAL_UART_MODULE_ENABLED
2817
+ #GenMP1.menu.xserial.none=UART only (no generic 'Serial')
2818
+ #GenMP1.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
2819
+ #GenMP1.menu.xserial.disabled=Disabled (no Serial support)
2820
+ #GenMP1.menu.xserial.disabled.build.xSerial=
2821
+
2779
2822
ESC_board.menu.xserial.generic=Enabled (generic 'Serial')
2780
2823
ESC_board.menu.xserial.none=Enabled (no generic 'Serial')
2781
2824
ESC_board.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
@@ -3258,6 +3301,24 @@ GenL4.menu.opt.o3lto.build.flags.optimize=-O3 -flto
3258
3301
GenL4.menu.opt.ogstd=Debug (-g)
3259
3302
GenL4.menu.opt.ogstd.build.flags.optimize=-g -Og
3260
3303
3304
+ #GenMP1.menu.opt.osstd=Smallest (-Os default)
3305
+ #GenMP1.menu.opt.oslto=Smallest (-Os) with LTO
3306
+ #GenMP1.menu.opt.oslto.build.flags.optimize=-Os -flto
3307
+ #GenMP1.menu.opt.o1std=Fast (-O1)
3308
+ #GenMP1.menu.opt.o1std.build.flags.optimize=-O1
3309
+ #GenMP1.menu.opt.o1lto=Fast (-O1) with LTO
3310
+ #GenMP1.menu.opt.o1lto.build.flags.optimize=-O1 -flto
3311
+ #GenMP1.menu.opt.o2std=Faster (-O2)
3312
+ #GenMP1.menu.opt.o2std.build.flags.optimize=-O2
3313
+ #GenMP1.menu.opt.o2lto=Faster (-O2) with LTO
3314
+ #GenMP1.menu.opt.o2lto.build.flags.optimize=-O2 -flto
3315
+ #GenMP1.menu.opt.o3std=Fastest (-O3)
3316
+ #GenMP1.menu.opt.o3std.build.flags.optimize=-O3
3317
+ #GenMP1.menu.opt.o3lto=Fastest (-O3) with LTO
3318
+ #GenMP1.menu.opt.o3lto.build.flags.optimize=-O3 -flto
3319
+ #GenMP1.menu.opt.ogstd=Debug (-g)
3320
+ #GenMP1.menu.opt.ogstd.build.flags.optimize=-g -Og
3321
+
3261
3322
ESC_board.menu.opt.osstd=Smallest (-Os default)
3262
3323
ESC_board.menu.opt.oslto=Smallest (-Os) with LTO
3263
3324
ESC_board.menu.opt.oslto.build.flags.optimize=-Os -flto
@@ -3507,6 +3568,16 @@ GenL4.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float
3507
3568
GenL4.menu.rtlib.full=Newlib Standard
3508
3569
GenL4.menu.rtlib.full.build.flags.ldspecs=
3509
3570
3571
+ #GenMP1.menu.rtlib.nano=Newlib Nano (default)
3572
+ #GenMP1.menu.rtlib.nanofp=Newlib Nano + Float Printf
3573
+ #GenMP1.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
3574
+ #GenMP1.menu.rtlib.nanofs=Newlib Nano + Float Scanf
3575
+ #GenMP1.menu.rtlib.nanofs.build.flags.ldspecs=--specs=nano.specs -u _scanf_float
3576
+ #GenMP1.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf
3577
+ #GenMP1.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float
3578
+ #GenMP1.menu.rtlib.full=Newlib Standard
3579
+ #GenMP1.menu.rtlib.full.build.flags.ldspecs=
3580
+
3510
3581
ESC_board.menu.rtlib.nano=Newlib Nano (default)
3511
3582
ESC_board.menu.rtlib.nanofp=Newlib Nano + Float Printf
3512
3583
ESC_board.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
0 commit comments