Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ header: # `header` section is configurations for source codes license header.
- "**/*.lds"
- "**/lib64"
- ".github/**"
- "app.conf"
comment: on-failure # on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`.
# license-location-threshold specifies the index threshold where the license header can be located,
# after all, a "header" cannot be TOO far from the file start.
Expand Down
35 changes: 35 additions & 0 deletions framebuffer/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright (c) 2025 vivo Mobile Communication Co., Ltd.
#
# 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
#
# 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.

import("//build/boards/${board}.gni")
import("//build/templates/reload_autoconf_and_build.gni")
import("//build/templates/rust.gni")
import("//build/toolchain/blueos.gni")

reload_autoconf_and_build("fb_example") {
app_conf = [ "app.conf" ]
crate_name = "fb_example"
crate_type = "bin"

sources = [ "src/main.rs" ]
deps = [
"//external/vendor/embedded-graphics-0.8.2:embedded_graphics",
"//external/vendor/embedded-graphics-core-0.4.1:embedded_graphics_core",
"//kernel/rsrt:rsrt_std",
"//libc",
"//librs",
]
linker_script = default_linker_script
configs = [ "//build/boards/${board}:kernel_config" ]
}
2 changes: 2 additions & 0 deletions framebuffer/app.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_ENABLE_VFS=y
CONFIG_SPI_CORE=y
Loading