mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
The Cortex-M0 core is based on ARMv6-M instruction set rather than ARMv7-M as Cortex-M3 and M4. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=run console on STM32F072, and pass all available unit-tests on target. Change-Id: I9bdf6637132ba4a3e739d388580a72b4c84e930e Reviewed-on: https://chromium-review.googlesource.com/188982 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
17 lines
459 B
C
17 lines
459 B
C
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef __CONFIG_CORE_H
|
|
#define __CONFIG_CORE_H
|
|
|
|
/* Linker binary architecture and format */
|
|
#define BFD_ARCH arm
|
|
#define BFD_FORMAT "elf32-littlearm"
|
|
|
|
/* Emulate the CLZ instruction since the CPU core is lacking support */
|
|
#define CONFIG_SOFTWARE_CLZ
|
|
|
|
#endif /* __CONFIG_CORE_H */
|