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
59d66822
Commit
59d66822
authored
8 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Changed the path of the STM32 HAL and libraries.
Removed a duplicatd register.
parent
1a6a2261
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+2
-2
2 additions, 2 deletions
Makefile
include/darwin_registers.h
+1
-2
1 addition, 2 deletions
include/darwin_registers.h
src/system_stm32f1xx.c
+3
-1
3 additions, 1 deletion
src/system_stm32f1xx.c
with
6 additions
and
5 deletions
Makefile
+
2
−
2
View file @
59d66822
# setup
# setup
# modified by zerom for WinARM 8/2010
# modified by zerom for WinARM 8/2010
STM32_HAL_PATH
=
~
/humanoids/stm32_hal
STM32_HAL_PATH
=
$(
HOME
)
/humanoids/stm32_hal
STM32_LIBRARIES_PATH
=
~
/humanoids/stm32_libraries
STM32_LIBRARIES_PATH
=
$(
HOME
)
/humanoids/stm32_libraries
PROJECT_NAME
=
darwin_firmware
PROJECT_NAME
=
darwin_firmware
#TARGET_FILES=$(wildcard src/*.c)
#TARGET_FILES=$(wildcard src/*.c)
...
...
This diff is collapsed.
Click to expand it.
include/darwin_registers.h
+
1
−
2
View file @
59d66822
...
@@ -83,8 +83,7 @@ extern "C" {
...
@@ -83,8 +83,7 @@ extern "C" {
#define GRIPPER_RIGHT_MAX_ANGLE ((unsigned short int)0x005C)
#define GRIPPER_RIGHT_MAX_ANGLE ((unsigned short int)0x005C)
#define GRIPPER_RIGHT_MIN_ANGLE ((unsigned short int)0x005E)
#define GRIPPER_RIGHT_MIN_ANGLE ((unsigned short int)0x005E)
#define GRIPPER_RIGHT_MAX_FORCE ((unsigned short int)0x0060)
#define GRIPPER_RIGHT_MAX_FORCE ((unsigned short int)0x0060)
#define GRIPPER_RIGHT_MAX_FORCE ((unsigned short int)0x0062)
#define SMART_CHARGER_PERIOD ((unsigned short int)0x0062)
#define SMART_CHARGER_PERIOD ((unsigned short int)0x0064)
#define LAST_EEPROM_OFFSET ((unsigned short int)0x00FF)
#define LAST_EEPROM_OFFSET ((unsigned short int)0x00FF)
...
...
This diff is collapsed.
Click to expand it.
src/system_stm32f1xx.c
+
3
−
1
View file @
59d66822
...
@@ -139,7 +139,9 @@
...
@@ -139,7 +139,9 @@
uint32_t
SystemCoreClock
=
72000000
;
/*!< System Clock Frequency (Core Clock) */
uint32_t
SystemCoreClock
=
72000000
;
/*!< System Clock Frequency (Core Clock) */
#endif
#endif
__IO
const
uint8_t
AHBPrescTable
[
16
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
2
,
3
,
4
,
6
,
7
,
8
,
9
};
const
uint8_t
AHBPrescTable
[
16
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
2
,
3
,
4
,
6
,
7
,
8
,
9
};
const
uint8_t
APBPrescTable
[
8
]
=
{
0
,
0
,
0
,
0
,
1
,
2
,
3
,
4
};
/**
/**
* @}
* @}
*/
*/
...
...
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