Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stm32_libraries
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
tools
stm32_libraries
Commits
fac9bbcf
Commit
fac9bbcf
authored
8 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Removed an unnecessary include file.
Added optimizations (removed debug symbols) in the Makefile.
parent
8bdfaf54
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
f1/usart/src/usart1.c
+0
-1
0 additions, 1 deletion
f1/usart/src/usart1.c
memory/Makefile
+2
-2
2 additions, 2 deletions
memory/Makefile
with
2 additions
and
3 deletions
f1/usart/src/usart1.c
+
0
−
1
View file @
fac9bbcf
#include
"usart1.h"
#include
"gpio.h"
#define USART USART1
#define USART_ENABLE_CLK __HAL_RCC_USART1_CLK_ENABLE()
...
...
This diff is collapsed.
Click to expand it.
memory/Makefile
+
2
−
2
View file @
fac9bbcf
...
...
@@ -2,8 +2,8 @@
# modified by zerom for WinARM 8/2010
COMPILE_OPTS
=
-mlittle-endian
-mthumb
-mthumb-interwork
#
COMPILE_OPTS += -Wall -O2 -fno-common
COMPILE_OPTS
+=
-Wall
-g
-fno-common
COMPILE_OPTS
+=
-Wall
-O2
-fno-common
#
COMPILE_OPTS += -Wall -g -fno-common
COMPILE_OPTS
+=
-ffreestanding
-nostdlib
COMPILE_OPTS_M4_FPU
=
-mfloat-abi
=
hard
-mfpu
=
fpv4-sp-d16
-mcpu
=
cortex-m4
...
...
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