You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2019/03/21 08:23:54 UTC

[mynewt-core] branch master updated: compiler: Disable DSP extension for Cortex-M33

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new bafc7e0  compiler: Disable DSP extension for Cortex-M33
bafc7e0 is described below

commit bafc7e0e08057502d26fd7b84c89ac341c80e970
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Wed Mar 20 12:39:37 2019 +0100

    compiler: Disable DSP extension for Cortex-M33
    
    DSP extension is optional and thus may not be supported by some MCUs.
    Let's make this package generic one and disable DSP extension by
    default - those who want to use DSP extension in their BSP can create
    own compiler package with proper settings.
---
 compiler/arm-none-eabi-m33/compiler.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/arm-none-eabi-m33/compiler.yml b/compiler/arm-none-eabi-m33/compiler.yml
index c4f9e07..0e54053 100644
--- a/compiler/arm-none-eabi-m33/compiler.yml
+++ b/compiler/arm-none-eabi-m33/compiler.yml
@@ -25,7 +25,7 @@ compiler.path.objdump: arm-none-eabi-objdump
 compiler.path.objsize: arm-none-eabi-size
 compiler.path.objcopy: arm-none-eabi-objcopy
 
-compiler.flags.base: -mcpu=cortex-m33 -mthumb-interwork -mthumb -Wall -Werror -fno-exceptions -ffunction-sections -fdata-sections
+compiler.flags.base: -mcpu=cortex-m33+nodsp -mthumb-interwork -mthumb -Wall -Werror -fno-exceptions -ffunction-sections -fdata-sections
 compiler.flags.default: [compiler.flags.base, -O1, -ggdb]
 compiler.flags.optimized: [compiler.flags.base, -Os, -ggdb]
 compiler.flags.speed: [compiler.flags.base, -O3, -ggdb]