third_party.pigweed.src/targets/stm32f429i-disc1/stm32f429i_executable.gni
Ewout van Bekkum 712cbfb017 lm3s6965evb-qemu: move early_boot into targets/*
Updates targets/lm3s6965evb-qemu/* and its sys_io counterpart to
match targets/stm32f429i-disc1/* by moving the early boot and
vector tables out of sys_io.

Change-Id: If1f82d5bd242807d9c4914d207b7f332291de8cf
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16700
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-08-25 21:07:13 +00:00

35 lines
1.1 KiB
Plaintext

# Copyright 2020 The Pigweed Authors
#
# Licensed 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
#
# https://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.
# gn-format disable
import("//build_overrides/pigweed.gni")
import("$dir_pw_malloc/backend.gni")
# Executable wrapper that includes some baremetal startup code.
template("stm32f429i_executable") {
target("executable", target_name) {
forward_variables_from(invoker, "*")
if (!defined(deps)) {
deps = []
}
deps += [ "$dir_pigweed/targets/stm32f429i-disc1:pre_init" ]
if (pw_malloc_BACKEND != "") {
if (!defined(configs)) {
configs = []
}
configs += [ "$dir_pw_malloc:pw_malloc_wrapper_config" ]
}
}
}