- Notifications
You must be signed in to change notification settings - Fork1k
[New variant] STM32MP157_DK#717
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
10 commits Select commitHold shift + click to select a range
99da9ac [MP1] Update core to support MP1
kbumsik1b6df9a [MP1] Update HAL and system configurations
kbumsike11d5f8 [MP1] Add GPIOZ and ANA_x support
kbumsik2df74ed [MP1] Add pseudo-EEPROM support for RETRAM
kbumsikb476863 [MP1] Add GPIO locking
kbumsik5a381aa [STM32MP157_DK] Add STM32MP1 Dev Board variant
kbumsik954c65b [STM32MP157_DK] Add STM32MP1 series in boards.txt and platform.txt
kbumsika9f4a3a [STM32MP157_DK] Remove non-Arduino header pins definition.
kbumsika112b39 [STM32MP157_DK] Add README.md about the variant
kbumsik898c971 [STM32MP157_DK] Update root README.md to add this variant
kbumsikFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletionsREADME.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletionsboards.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -663,6 +663,40 @@ Eval.menu.upload_method.dfuMethod.upload.protocol=2 | ||
| Eval.menu.upload_method.dfuMethod.upload.options=-g | ||
| Eval.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg | ||
| ################################################################################ | ||
| # STM32MP1 microprocessor series (MPU + MCU) | ||
| STM32MP1.name=STM32MP1 series coprocessor | ||
| STM32MP1.build.vid=0x0483 | ||
| STM32MP1.build.core=arduino | ||
| STM32MP1.build.board=STM32MP1 | ||
kbumsik marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| STM32MP1.build.mcu=cortex-m4 | ||
| STM32MP1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard | ||
| STM32MP1.build.series=STM32MP1xx | ||
| STM32MP1.build.cmsis_lib_gcc=arm_cortexM4l_math | ||
| STM32MP1.build.extra_flags=-DCORE_CM4 -DUSE_FULL_LL_DRIVER -D{build.product_line} {build.xSerial} | ||
| # STM32MP157A-DK1 board | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1=STM32MP157A-DK1 | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_size=131072 | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1.upload.maximum_data_size=131072 | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1.build.board=STM32MP157A_DK1 | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1.build.product_line=STM32MP157Axx | ||
| STM32MP1.menu.pnum.STM32MP157A_DK1.build.variant=STM32MP157_DK | ||
| # STM32MP157C-DK2 board | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2=STM32MP157C-DK2 | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_size=131072 | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2.upload.maximum_data_size=131072 | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2.build.board=STM32MP157C_DK2 | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2.build.product_line=STM32MP157Cxx | ||
| STM32MP1.menu.pnum.STM32MP157C_DK2.build.variant=STM32MP157_DK | ||
| # Upload menu | ||
| STM32MP1.menu.upload_method.MassStorage=Generate run_arduino.sh (You need to copy this manually) | ||
| STM32MP1.menu.upload_method.MassStorage.upload.protocol= | ||
| STM32MP1.menu.upload_method.MassStorage.upload.tool=remoteproc_gen | ||
| ################################################################################ | ||
| # Other boards | ||
| @@ -1451,6 +1485,13 @@ Eval.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE | ||
| Eval.menu.xserial.disabled=Disabled (no Serial support) | ||
| Eval.menu.xserial.disabled.build.xSerial= | ||
| STM32MP1.menu.xserial.generic=UART only (generic 'Serial') | ||
| STM32MP1.menu.xserial.generic.build.xSerial=-DHAL_UART_MODULE_ENABLED | ||
| STM32MP1.menu.xserial.none=UART only (no generic 'Serial') | ||
| STM32MP1.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE | ||
| STM32MP1.menu.xserial.disabled=Disabled (no Serial support) | ||
| STM32MP1.menu.xserial.disabled.build.xSerial= | ||
| GenF0.menu.xserial.generic=Enabled (generic 'Serial') | ||
| GenF0.menu.xserial.none=Enabled (no generic 'Serial') | ||
| GenF0.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE | ||
| @@ -1752,6 +1793,24 @@ Eval.menu.opt.o3lto.build.flags.optimize=-O3 -flto | ||
| Eval.menu.opt.ogstd=Debug (-g) | ||
| Eval.menu.opt.ogstd.build.flags.optimize=-g -Og | ||
| STM32MP1.menu.opt.osstd=Smallest (-Os default) | ||
| STM32MP1.menu.opt.oslto=Smallest (-Os) with LTO | ||
| STM32MP1.menu.opt.oslto.build.flags.optimize=-Os -flto | ||
| STM32MP1.menu.opt.o1std=Fast (-O1) | ||
| STM32MP1.menu.opt.o1std.build.flags.optimize=-O1 | ||
| STM32MP1.menu.opt.o1lto=Fast (-O1) with LTO | ||
| STM32MP1.menu.opt.o1lto.build.flags.optimize=-O1 -flto | ||
| STM32MP1.menu.opt.o2std=Faster (-O2) | ||
| STM32MP1.menu.opt.o2std.build.flags.optimize=-O2 | ||
| STM32MP1.menu.opt.o2lto=Faster (-O2) with LTO | ||
| STM32MP1.menu.opt.o2lto.build.flags.optimize=-O2 -flto | ||
| STM32MP1.menu.opt.o3std=Fastest (-O3) | ||
| STM32MP1.menu.opt.o3std.build.flags.optimize=-O3 | ||
| STM32MP1.menu.opt.o3lto=Fastest (-O3) with LTO | ||
| STM32MP1.menu.opt.o3lto.build.flags.optimize=-O3 -flto | ||
| STM32MP1.menu.opt.ogstd=Debug (-g) | ||
| STM32MP1.menu.opt.ogstd.build.flags.optimize=-g -Og | ||
| GenF0.menu.opt.osstd=Smallest (-Os default) | ||
| GenF0.menu.opt.oslto=Smallest (-Os) with LTO | ||
| GenF0.menu.opt.oslto.build.flags.optimize=-Os -flto | ||
| @@ -1985,6 +2044,16 @@ Eval.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float | ||
| Eval.menu.rtlib.full=Newlib Standard | ||
| Eval.menu.rtlib.full.build.flags.ldspecs= | ||
| STM32MP1.menu.rtlib.nano=Newlib Nano (default) | ||
| STM32MP1.menu.rtlib.nanofp=Newlib Nano + Float Printf | ||
| STM32MP1.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float | ||
| STM32MP1.menu.rtlib.nanofs=Newlib Nano + Float Scanf | ||
| STM32MP1.menu.rtlib.nanofs.build.flags.ldspecs=--specs=nano.specs -u _scanf_float | ||
| STM32MP1.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf | ||
| STM32MP1.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float | ||
| STM32MP1.menu.rtlib.full=Newlib Standard | ||
| STM32MP1.menu.rtlib.full.build.flags.ldspecs= | ||
| GenF0.menu.rtlib.nano=Newlib Nano (default) | ||
| GenF0.menu.rtlib.nanofp=Newlib Nano + Float Printf | ||
| GenF0.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float | ||
6 changes: 6 additions & 0 deletionscores/arduino/HardwareTimer.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletionscores/arduino/stm32/PinNames.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletionscores/arduino/stm32/PortNames.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletioncores/arduino/stm32/PortNames.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletionscores/arduino/stm32/analog.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletioncores/arduino/stm32/backup.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletionscores/arduino/stm32/clock.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletionscores/arduino/stm32/hw_config.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletionscores/arduino/stm32/interrupt.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.