Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
4c51cbdc
Commit
4c51cbdc
authored
11 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
Add proper FPU compile flags; disable Python float support.
parent
e8217c2a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
stm/Makefile
+1
-1
1 addition, 1 deletion
stm/Makefile
stm/mpyconfig.h
+1
-1
1 addition, 1 deletion
stm/mpyconfig.h
with
2 additions
and
2 deletions
stm/Makefile
+
1
−
1
View file @
4c51cbdc
...
@@ -6,7 +6,7 @@ BUILD=build
...
@@ -6,7 +6,7 @@ BUILD=build
AS
=
arm-none-eabi-as
AS
=
arm-none-eabi-as
CC
=
arm-none-eabi-gcc
CC
=
arm-none-eabi-gcc
LD
=
arm-none-eabi-ld
LD
=
arm-none-eabi-ld
CFLAGS_CORTEX_M4
=
-mthumb
-mtune
=
cortex-m4
-mabi
=
aapcs-linux
-mcpu
=
cortex-m4
-mf
loat-abi
=
hard
-DSTM32F40XX
-DHSE_VALUE
=
8000000
CFLAGS_CORTEX_M4
=
-mthumb
-mtune
=
cortex-m4
-mabi
=
aapcs-linux
-mcpu
=
cortex-m4
-mf
pu
=
fpv4-sp-d16
-mfloat-abi
=
hard
-fsingle-precision-constant
-Wdouble-promotion
-DSTM32F40XX
-DHSE_VALUE
=
8000000
CFLAGS
=
-I
.
-I
$(
PYSRC
)
-I
$(
FATFSSRC
)
-I
$(
STMSRC
)
-Wall
-ansi
-std
=
gnu99
-Os
-DNDEBUG
$(
CFLAGS_CORTEX_M4
)
CFLAGS
=
-I
.
-I
$(
PYSRC
)
-I
$(
FATFSSRC
)
-I
$(
STMSRC
)
-Wall
-ansi
-std
=
gnu99
-Os
-DNDEBUG
$(
CFLAGS_CORTEX_M4
)
LDFLAGS
=
--nostdlib
-T
stm32f405.ld
LDFLAGS
=
--nostdlib
-T
stm32f405.ld
...
...
This diff is collapsed.
Click to expand it.
stm/mpyconfig.h
+
1
−
1
View file @
4c51cbdc
// options to control how Micro Python is built
// options to control how Micro Python is built
#define MICROPY_ENABLE_FLOAT (
1
)
#define MICROPY_ENABLE_FLOAT (
0
)
#define MICROPY_EMIT_CPYTHON (0)
#define MICROPY_EMIT_CPYTHON (0)
#define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_X64 (0)
#define MICROPY_EMIT_THUMB (1)
#define MICROPY_EMIT_THUMB (1)
...
...
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