@@ -786,7 +786,6 @@ Eval.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
786786
787787################################################################################
788788# STM32MP1 microprocessor series (MPU + MCU)
789-
790789STM32MP1.name=STM32MP1 series coprocessor
791790
792791STM32MP1.build.core=arduino
@@ -803,24 +802,21 @@ STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_size=131072
803802STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_data_size=131072
804803STM32MP1.menu.pnum.STM32MP157A_DK1.build.board=STM32MP157A_DK1
805804STM32MP1.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
807806
808807# STM32MP157C-DK2 board
809808STM32MP1.menu.pnum.STM32MP157C_DK2=STM32MP157C-DK2
810809STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_size=131072
811810STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_data_size=131072
812811STM32MP1.menu.pnum.STM32MP157C_DK2.build.board=STM32MP157C_DK2
813812STM32MP1.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
815814
816815# Upload menu
817816STM32MP1.menu.upload_method.MassStorage=Generate run_arduino.sh (You need to copy this manually)
818817STM32MP1.menu.upload_method.MassStorage.upload.protocol=
819818STM32MP1.menu.upload_method.MassStorage.upload.tool=remoteproc_gen
820819
821- ################################################################################
822- # Other boards
823-
824820###############################
825821# Generic F0
826822GenF0.name=Generic STM32F0 series
@@ -2196,6 +2192,39 @@ GenL4.menu.upload_method.dfuMethod.upload.protocol=2
21962192GenL4.menu.upload_method.dfuMethod.upload.options=-g
21972193GenL4.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
21982194
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+
21992228################################################################################
22002229# Electronic Speed Controller boards
22012230
@@ -2776,6 +2805,20 @@ GenL4.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
27762805GenL4.menu.xserial.disabled=Disabled (no Serial support)
27772806GenL4.menu.xserial.disabled.build.xSerial=
27782807
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+
27792822ESC_board.menu.xserial.generic=Enabled (generic 'Serial')
27802823ESC_board.menu.xserial.none=Enabled (no generic 'Serial')
27812824ESC_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
32583301GenL4.menu.opt.ogstd=Debug (-g)
32593302GenL4.menu.opt.ogstd.build.flags.optimize=-g -Og
32603303
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+
32613322ESC_board.menu.opt.osstd=Smallest (-Os default)
32623323ESC_board.menu.opt.oslto=Smallest (-Os) with LTO
32633324ESC_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
35073568GenL4.menu.rtlib.full=Newlib Standard
35083569GenL4.menu.rtlib.full.build.flags.ldspecs=
35093570
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+
35103581ESC_board.menu.rtlib.nano=Newlib Nano (default)
35113582ESC_board.menu.rtlib.nanofp=Newlib Nano + Float Printf
35123583ESC_board.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
0 commit comments