# -*- makefile -*-
# Copyright 2016 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.
#
# Board specific files build


# TODO(b/132204142): Sweetberry's USB connection fails to initialize properly
# when built using the 8.2.0 tool chain leave it with the 4.9.x.
CROSS_COMPILE_arm:=arm-none-eabi-

CHIP:=stm32
CHIP_FAMILY:=stm32f4
CHIP_VARIANT:=stm32f446

board-y=board.o

# -*- makefile -*-
# Copyright 2016 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.
#
# Board specific files build

CHIP:=stm32
CHIP_FAMILY:=stm32f4
CHIP_VARIANT:=stm32f446

board-y=board.o

Drop LTO workaround from sweetberry
Drop LTO workaround from sweetberry

Because it breaks external builds such as coverity builds.
The issue needs to be fixed differently.

BUG=b:132204142
TEST=flash on sweetberry and see usb endpoints work
BRANCH=none

Change-Id: I2ee1789e12dd5240fac4bf97a2638efa85446df6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1851105
Reviewed-by: Patrick Georgi <bc411205f21846a74924ee7b489c75617ec76078@chromium.org>
Commit-Queue: Patrick Georgi <bc411205f21846a74924ee7b489c75617ec76078@chromium.org>
Tested-by: Patrick Georgi <bc411205f21846a74924ee7b489c75617ec76078@chromium.org>
Auto-Submit: Stefan Reinauer <0ab4fef0c228799b0c44e01c732054569b690b58@chromium.org>
