From b38095beacd6192e6a9f78cd8ea6a950c35d33ca Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Wed, 25 Mar 2026 16:19:03 +0100 Subject: [PATCH] risc-v/src/hpm6750: CMake build implemented for HPMicro HPM6750 - added HPMicro HPM6750 Signed-off-by: simbit18 --- arch/risc-v/src/hpm6750/CMakeLists.txt | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 arch/risc-v/src/hpm6750/CMakeLists.txt diff --git a/arch/risc-v/src/hpm6750/CMakeLists.txt b/arch/risc-v/src/hpm6750/CMakeLists.txt new file mode 100644 index 00000000000..a1b54b21980 --- /dev/null +++ b/arch/risc-v/src/hpm6750/CMakeLists.txt @@ -0,0 +1,38 @@ +# ############################################################################## +# arch/risc-v/src/hpm6750/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# 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. +# +# ############################################################################## + +# Specify our HEAD assembly file. This will be linked as the first object file, +# so it will appear at address 0 + +list( + APPEND + SRCS + hpm6750_head.S + hpm6750_clockconfig.c + hpm6750_irq.c + hpm6750_irq_dispatch.c + hpm6750_lowputc.c + hpm6750_serial.c + hpm6750_start.c + hpm6750_timerisr.c) + +target_sources(arch PRIVATE ${SRCS})