- Notifications
You must be signed in to change notification settings - Fork1k
Add debug openocd#1976
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
Add debug openocd#1976
Changes fromall commits
Commits
Show all changes
4 commits Select commitHold shift + click to select a range
541b224 platform: add openocd debug feature to platform.txt
gautierg-st63d567d platform: add postbuild recipe to copy openocd.cfg
fpistm92a4986 variants: add all openocd.cfg for all series (except c0)
gautierg-st2072d87 ci(stm32variant): list only directories
fpistmFile 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
2 changes: 1 addition & 1 deletionCI/update/stm32variant.py
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
15 changes: 15 additions & 0 deletionsplatform.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
8 changes: 8 additions & 0 deletionssystem/extras/postbuild.sh
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/bin/bash | ||
| BUILD_PATH="$1" | ||
| BUILD_SERIE="$2" | ||
| BOARD_PLATFORM_PATH="$3" | ||
| # Copy the correct openocd.cfg | ||
| cp -f "$BOARD_PLATFORM_PATH/variants/$BUILD_SERIE/openocd.cfg" "$BUILD_PATH" |
17 changes: 17 additions & 0 deletionsvariants/STM32F0xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f0x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32F1xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f1x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32F2xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f2x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32F3xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f3x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32F4xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f4x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32F7xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32f7x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32G0xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32g0x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32G4xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32g4x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32H7xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32h7x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32L0xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32l0.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32L1xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32l1.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32L4xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32l4x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32L5xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32l5x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32MP1xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32mp15x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32U5xx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32u5x.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32WBxx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32wbx.cfg] | ||
| reset_config srst_only |
17 changes: 17 additions & 0 deletionsvariants/STM32WLxx/openocd.cfg
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # | ||
| # Copyright (c) 2023, STMicroelectronics | ||
| # All rights reserved. | ||
| # | ||
| # This software component is licensed by ST under BSD 3-Clause license, | ||
| # the "License"; You may not use this file except in compliance with the | ||
| # License. You may obtain a copy of the License at: | ||
| # opensource.org/licenses/BSD-3-Clause | ||
| # | ||
| source [find interface/stlink.cfg] | ||
| transport select hla_swd | ||
| source [find target/stm32wlx.cfg] | ||
| reset_config srst_only |
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.