Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 058d4f5be -> 29b3ccbe9
Add cortex-m7 support Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5248d3d6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5248d3d6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5248d3d6 Branch: refs/heads/develop Commit: 5248d3d670148dbf10ff234f11a56b0a8d09c291 Parents: 408caf5 Author: Fabio Utzig <ut...@utzig.org> Authored: Tue Feb 14 19:50:55 2017 -0800 Committer: Fabio Utzig <ut...@utzig.org> Committed: Tue Feb 14 19:50:55 2017 -0800 ---------------------------------------------------------------------- compiler/arm-none-eabi-m7/compiler.yml | 37 +++++++++++++++++++++++++++++ compiler/arm-none-eabi-m7/pkg.yml | 30 +++++++++++++++++++++++ compiler/arm-none-eabi-m7/syscfg.yml | 4 ++++ 3 files changed, 71 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5248d3d6/compiler/arm-none-eabi-m7/compiler.yml ---------------------------------------------------------------------- diff --git a/compiler/arm-none-eabi-m7/compiler.yml b/compiler/arm-none-eabi-m7/compiler.yml new file mode 100644 index 0000000..bf69c45 --- /dev/null +++ b/compiler/arm-none-eabi-m7/compiler.yml @@ -0,0 +1,37 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +compiler.path.cc: arm-none-eabi-gcc +compiler.path.cpp: arm-none-eabi-g++ +compiler.path.archive: arm-none-eabi-ar +compiler.path.as: arm-none-eabi-gcc +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-m7 -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.debug: [compiler.flags.base, -O1 -ggdb] + +compiler.as.flags: [-x, assembler-with-cpp] + +compiler.ld.flags: -static -specs=nosys.specs -lgcc -Wl,--gc-sections -nostartfiles +compiler.ld.resolve_circular_deps: true +compiler.ld.mapfile: true http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5248d3d6/compiler/arm-none-eabi-m7/pkg.yml ---------------------------------------------------------------------- diff --git a/compiler/arm-none-eabi-m7/pkg.yml b/compiler/arm-none-eabi-m7/pkg.yml new file mode 100644 index 0000000..fe7be70 --- /dev/null +++ b/compiler/arm-none-eabi-m7/pkg.yml @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +pkg.name: compiler/arm-none-eabi-m7 +pkg.type: compiler +pkg.description: Compiler definition for ARM Cortex-M7 gcc cross compiler. +pkg.author: "Apache Mynewt <d...@mynewt.incubator.apache.org>" +pkg.homepage: "http://mynewt.apache.org/" +pkg.keywords: + - arm + - compiler + - cortex + - m7 + - gcc http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5248d3d6/compiler/arm-none-eabi-m7/syscfg.yml ---------------------------------------------------------------------- diff --git a/compiler/arm-none-eabi-m7/syscfg.yml b/compiler/arm-none-eabi-m7/syscfg.yml new file mode 100644 index 0000000..a7e0ecf --- /dev/null +++ b/compiler/arm-none-eabi-m7/syscfg.yml @@ -0,0 +1,4 @@ +syscfg.defs: + HARDFLOAT: + description: 'Use hardware FPU' + value: 0