Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
darwin_stm32_fw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
humanoides
darwin
darwin_stm32_fw
Commits
ac6ea819
Commit
ac6ea819
authored
5 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Moved the EEPROM macro definitions to the main CMakeLists.txt file.
parent
7ad16d76
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-0
2 additions, 0 deletions
CMakeLists.txt
include/darwin_conf.h
+0
-2
0 additions, 2 deletions
include/darwin_conf.h
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
0
View file @
ac6ea819
...
@@ -110,6 +110,8 @@ include_directories(${header_include_dir})
...
@@ -110,6 +110,8 @@ include_directories(${header_include_dir})
add_definitions
(
-DUSE_HAL_DRIVER
)
add_definitions
(
-DUSE_HAL_DRIVER
)
add_definitions
(
-DHSE_VALUE=
${
system_freq
}
)
add_definitions
(
-DHSE_VALUE=
${
system_freq
}
)
add_definitions
(
-D
${
processor
}
)
add_definitions
(
-D
${
processor
}
)
add_definitions
(
-DEEPROM_PAGE_SIZE=0x0800
)
add_definitions
(
-DEEPROM_START_ADDRESS=0x08003800
)
add_executable
(
${
PROJECT_NAME
}
.elf
${
lib_sources
}
${
hal_sources
}
${
asm_source
}
${
sources
}
)
add_executable
(
${
PROJECT_NAME
}
.elf
${
lib_sources
}
${
hal_sources
}
${
asm_source
}
${
sources
}
)
...
...
This diff is collapsed.
Click to expand it.
include/darwin_conf.h
+
0
−
2
View file @
ac6ea819
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
#define DEFAULT_RETURN_DELAY 0x0000
#define DEFAULT_RETURN_DELAY 0x0000
#define DEFAULT_RETURN_LEVEL 0x0002
#define DEFAULT_RETURN_LEVEL 0x0002
#define EEPROM_PAGE_SIZE 0x0800
#define EEPROM_START_ADDRESS 0x08003800
#define NUM_MOTION_PAGES 46
#define NUM_MOTION_PAGES 46
#define MAX_DYN_MASTER_TX_BUFFER_LEN 1024
#define MAX_DYN_MASTER_TX_BUFFER_LEN 1024
#define MAX_DYN_MASTER_RX_BUFFER_LEN 1024
#define MAX_DYN_MASTER_RX_BUFFER_LEN 1024
...
...
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