Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
-mat- filid brandy
firmware
Commits
64a81fef
Commit
64a81fef
authored
5 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(openocd): config file support for second flash bank
parent
6aef573a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openocd/scripts/target/max32665.cfg
+3
-1
3 additions, 1 deletion
openocd/scripts/target/max32665.cfg
openocd/scripts/target/max32xxx.cfg
+5
-0
5 additions, 0 deletions
openocd/scripts/target/max32xxx.cfg
with
8 additions
and
1 deletion
openocd/scripts/target/max32665.cfg
+
3
−
1
View file @
64a81fef
...
...
@@ -9,8 +9,10 @@ reset_config none
# Set flash parameters
set
FLASH_BASE
0x10000000
set
FLASH_SIZE
0x300000
set
FLASH_BASE1
0x10080000
set
FLASH_SIZE
0x80000
set
FLC_BASE
0x40029000
set
FLC_BASE1
0x40029400
set
FLASH_SECTOR
0x2000
set
FLASH_CLK
96
set
FLASH_OPTIONS
0x01
...
...
This diff is collapsed.
Click to expand it.
openocd/scripts/target/max32xxx.cfg
+
5
−
0
View file @
64a81fef
...
...
@@ -93,3 +93,8 @@ if { [info exists FLASH_OPTIONS] } {
flash
bank
$_CHIPNAME.flash
max32xxx
$_FLASH_BASE
$_FLASH_SIZE
0
0
$_CHIPNAME.cpu
\
$_FLC_BASE
$_FLASH_SECTOR
$_FLASH_CLK
$_FLASH_OPTIONS
if
{
[info exists FLASH_BASE1]
}
{
flash
bank
$_CHIPNAME.flash1
max32xxx
$FLASH_BASE1
$_FLASH_SIZE
0
0
$_CHIPNAME.cpu
\
$FLC_BASE1
$_FLASH_SECTOR
$_FLASH_CLK
$_FLASH_OPTIONS
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment