feat: 🍎 single page version
2
.gitignore
vendored
@ -141,3 +141,5 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
.temp/*
|
||||
.cache/*
|
21
package.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "blueberry",
|
||||
"version": "1.0.0",
|
||||
"description": "Blueberry-蓝莓派",
|
||||
"license": "Apache License 2.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "vuepress build src",
|
||||
"clean-dev": "vuepress dev src --clean-cache",
|
||||
"dev": "vuepress dev src",
|
||||
"update-package": "pnpm dlx vp-update"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/client": "2.0.0-rc.0",
|
||||
"vue": "^3.3.12",
|
||||
"vuepress": "2.0.0-rc.0",
|
||||
"vuepress-plugin-copyright2": "2.0.0-rc.5",
|
||||
"vuepress-plugin-search-pro": "2.0.0-rc.5",
|
||||
"vuepress-theme-hope": "2.0.0-rc.5"
|
||||
}
|
||||
}
|
5898
pnpm-lock.yaml
generated
Normal file
35
src/.vuepress/config.ts
Normal file
@ -0,0 +1,35 @@
|
||||
import { defineUserConfig } from "vuepress";
|
||||
// import { searchProPlugin } from "vuepress-plugin-search-pro";
|
||||
import { copyrightPlugin } from "vuepress-plugin-copyright2";
|
||||
import theme from "./theme.js";
|
||||
|
||||
export default defineUserConfig({
|
||||
base: "/",
|
||||
|
||||
lang: "zh-CN",
|
||||
title: "Blueberry Pi",
|
||||
description: "Blueberry Pi",
|
||||
|
||||
theme,
|
||||
|
||||
plugins: [
|
||||
// 搜索配置选项
|
||||
// searchProPlugin({
|
||||
// // 自动搜索建议
|
||||
// autoSuggestions: true,
|
||||
// // 查询和搜索的历史记录
|
||||
// queryHistoryCount: 5,
|
||||
// resultHistoryCount: 0,
|
||||
// }),
|
||||
// 版权所有选项
|
||||
copyrightPlugin({
|
||||
global: true,
|
||||
author: "aixiao",
|
||||
license: "Apache License 2.0",
|
||||
canonical: "https://plugin-copyright2-demo.vuejs.press",
|
||||
}),
|
||||
],
|
||||
|
||||
// Enable it with pwa
|
||||
// shouldPrefetch: false,
|
||||
});
|
31
src/.vuepress/navbar.ts
Normal file
@ -0,0 +1,31 @@
|
||||
import { navbar } from "vuepress-theme-hope";
|
||||
|
||||
export default navbar([
|
||||
// "/",
|
||||
// "/demo/",
|
||||
// "/docs/"
|
||||
// {
|
||||
// text: "指南",
|
||||
// icon: "lightbulb",
|
||||
// prefix: "/docs/",
|
||||
// children: [
|
||||
// {
|
||||
// text: "Bar",
|
||||
// icon: "lightbulb",
|
||||
// prefix: "bar/",
|
||||
// children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
|
||||
// },
|
||||
// {
|
||||
// text: "Foo",
|
||||
// icon: "lightbulb",
|
||||
// prefix: "foo/",
|
||||
// children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// text: "V2 文档",
|
||||
// icon: "book",
|
||||
// link: "https://theme-hope.vuejs.press/zh/",
|
||||
// },
|
||||
]);
|
BIN
src/.vuepress/public/assets/home/brief.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
src/.vuepress/public/assets/home/rj45_3d.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/.vuepress/public/assets/home/rj45_pcb.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
src/.vuepress/public/assets/home/rj45_sch.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
src/.vuepress/public/assets/icon/apple-icon-152.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
src/.vuepress/public/assets/icon/chrome-192.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
src/.vuepress/public/assets/icon/chrome-512.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/.vuepress/public/assets/icon/chrome-mask-192.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
src/.vuepress/public/assets/icon/chrome-mask-512.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/.vuepress/public/assets/icon/guide-maskable.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
src/.vuepress/public/assets/icon/ms-icon-144.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
1
src/.vuepress/public/assets/image/advanced.svg
Normal file
After Width: | Height: | Size: 26 KiB |
1
src/.vuepress/public/assets/image/blog.svg
Normal file
After Width: | Height: | Size: 9.8 KiB |
1
src/.vuepress/public/assets/image/box.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" class="icon" viewBox="0 0 1024 1024"><path fill="#FDD7AD" d="M512 0 335.448 88.272l-70.616 35.312-70.624 35.312-176.552 88.28v529.648L512 1024l494.344-247.176V247.176z"/><path fill="#CBB292" d="m759.176 370.76-70.624 35.304-494.344-247.168 70.624-35.312zM512 494.344V1024L17.656 776.824V247.176z"/><path fill="#7F6E5D" d="M1006.344 247.168v529.656L512 1024V494.344l176.552-88.28v70.624l141.24-70.624v-70.616z"/><path fill="#7F5B53" d="M829.792 335.448v70.624L688.56 476.68v-70.624z"/><path fill="#CBB292" d="m829.792 335.448-70.624 35.312-494.344-247.176 70.624-35.312z"/><path fill="#2C3E50" d="m682.52 550.32 157.032-78.512a17.656 17.656 0 0 1 25.552 15.792v9.32a52.96 52.96 0 0 1-29.28 47.376L678.8 622.8a17.656 17.656 0 0 1-25.552-15.792v-9.312a52.96 52.96 0 0 1 29.28-47.376z"/></svg>
|
After Width: | Height: | Size: 854 B |
1
src/.vuepress/public/assets/image/features.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024"><defs><linearGradient id="a" x1="522.593" x2="522.593" y1="-70.302" y2="-335.937" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fe5d5a" stop-opacity=".1"/><stop offset=".908" stop-color="#ef1220" stop-opacity=".5"/></linearGradient><linearGradient id="b" x1="107.12" x2="935.038" y1="-373.67" y2="-373.67" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ff5e59"/><stop offset="1" stop-color="#f01422"/></linearGradient><linearGradient id="c" x1="519.405" x2="519.405" y1="-195.547" y2="-726.816" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffe2e2"/><stop offset=".888" stop-color="#ff8e8e"/></linearGradient><linearGradient id="d" x1="191.5" x2="483.9" y1="-564.9" y2="-564.9" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#e92700" stop-opacity=".3"/><stop offset=".013" stop-color="#ef1220" stop-opacity=".2"/></linearGradient><linearGradient id="e" x1="403.502" x2="253.121" y1="-847.32" y2="-586.853" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ff5e59"/><stop offset=".201" stop-color="#f01422"/></linearGradient><linearGradient id="f" x1="330.485" x2="330.485" y1="-801.787" y2="-625.789" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ff5e59"/><stop offset=".201" stop-color="#f01422"/></linearGradient><linearGradient id="g" x1="397.351" x2="256.845" y1="-647.231" y2="-890.596" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffa6a6"/><stop offset=".908" stop-color="#ff6b5d"/></linearGradient></defs><path fill="url(#a)" d="M501.2 662.3 327.6 763.8c-13.9 8.1-14.2 28.1-.5 36.7l179.1 97.7c10.9 5.9 24.1 5.9 34.9-.1l177-97.9c13.6-8.5 13.4-28.3-.3-36.5l-168.4-101c-14.8-9-33.3-9.1-48.2-.4Z"/><path fill="#f63037" d="m110.2 525.7-3.1 77.6 57.5 18.5L184 519.4Z"/><path fill="url(#b)" d="m476.6 363.5-328 154.6c-21 42.7-55.4 65.4-35.5 103.5 4.2 8 9.4 14.4 15.4 18.1l358.2 195.5c21.8 11.9 48.1 11.8 69.8-.2l354-195.8c27.2-16.9 34.8-90.3 7.3-106.8L573 364.1c-29.7-17.8-66.6-18-96.4-.6Z"/><path fill="url(#c)" d="M476.6 298.7 129.4 501.6c-27.8 16.3-28.4 56.3-1 73.3l358.2 195.5c21.8 11.9 48.1 11.8 69.8-.2l354-195.8c27.2-16.9 26.9-56.6-.6-73.1L573 299.3c-29.7-17.8-66.6-18-96.4-.6Z"/><path fill="#ff8989" fill-opacity=".31" d="m481.2 387.8 39.4 123.4c1.1 3.4 4 6 7.6 6.6l173.4 30.4-33-118.3c-.9-3.3-3.6-5.8-7-6.5l-180.4-35.6ZM327 499.2l40.4 101.1L496.7 525c2.5-1.5 3.7-4.5 2.7-7.3l-36-106.8-127.6 65c-8.6 4.3-12.4 14.4-8.8 23.3ZM523.8 540.5l-140.3 77.2L567.2 659c3.2.7 6.6.1 9.3-1.6l134.6-85-174.7-33.8c-4.3-1-8.7-.3-12.6 1.9Z"/><path fill="url(#d)" d="M483.9 406.1c0 35.46-65.46 64.2-146.2 64.2s-146.2-28.74-146.2-64.2c0-35.46 65.46-64.2 146.2-64.2s146.2 28.74 146.2 64.2Z"/><path fill="url(#e)" d="m254.2 188.4-123 83.1c-1.8 1.3-2.6 3.6-1.8 5.7l39.1 110.6c.6 1.7 2 2.9 3.8 3.2l221.8 40.5c1.3.3 2.7-.1 3.7-.8l131.7-93.6c1.9-1.4 2.6-3.9 1.7-6.1l-49.4-107c-.6-1.5-2.1-2.6-3.7-2.8l-220.3-33.5c-1.3-.2-2.6.1-3.6.7Z"/><path fill="url(#f)" d="m528.6 274.5 3 59.1-205 65.6-177.2-72.7-20-49.2 1.9-54.1Z"/><path fill="url(#g)" d="m250.6 138-112.3 76c-6 4.1-8.5 11.7-6.1 18.5l34.2 96.6c1.9 5.4 6.6 9.3 12.1 10.4l211 38.5c4.3.7 8.6-.2 12.1-2.7l120.5-85.5c6.3-4.4 8.4-12.7 5.3-19.7l-43.1-93.5c-2.2-4.9-6.8-8.3-12.1-9.1L262 135.6c-4-.7-8 .2-11.4 2.4Z"/><path fill="#fff" d="m419.8 252.8-79-11-29-57.7c-3.8-7.6-13.2-10.7-20.8-6.9-7.6 3.8-10.7 13.2-6.9 20.8l26.6 52.9-61.8 42.2c-7.1 4.8-8.9 14.5-4.1 21.5 3 4.4 7.9 6.8 12.8 6.8 3 0 6-.9 8.7-2.7l68-46.4 81.1 11.2c.7.1 1.4.1 2.1.1 7.6 0 14.3-5.6 15.3-13.4 1.4-8.4-4.5-16.2-13-17.4Z"/></svg>
|
After Width: | Height: | Size: 3.6 KiB |
1
src/.vuepress/public/assets/image/github-dark.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="98" height="96" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#24292f"/></svg>
|
After Width: | Height: | Size: 963 B |
1
src/.vuepress/public/assets/image/github-light.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="98" height="96" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 960 B |
1
src/.vuepress/public/assets/image/layout.svg
Normal file
After Width: | Height: | Size: 9.0 KiB |
1
src/.vuepress/public/assets/image/markdown.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" class="icon" viewBox="0 0 1536 1024"><path fill="#1296db" d="M1425.067.256H110.933A110.933 110.933 0 0 0 0 110.848v723.627a110.933 110.933 0 0 0 110.933 110.933h1314.39c61.269 0 110.933-49.75 110.677-110.677V110.848A110.933 110.933 0 0 0 1425.067.256z" class="selected" data-spm-anchor-id="a313x.7781069.0.i4"/><path fill="#FFF" d="M664.747 723.797V435.883L517.12 620.373l-147.456-184.49v288l-148.053-67.158V221.781h147.626l147.627 184.576 147.541-184.576h147.627v565.76z"/><path d="M1024 0h426.667A85.333 85.333 0 0 1 1536 85.333v768a85.333 85.333 0 0 1-85.333 85.334H1024V0z" opacity=".1"/><path fill="#FFF" d="m1256.96 731.307-170.667-216.491h113.75V304.64h113.749v210.176h113.835z" opacity=".5"/></svg>
|
After Width: | Height: | Size: 771 B |
BIN
src/.vuepress/public/blueberry.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
BIN
src/.vuepress/public/favicon.ico
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
src/.vuepress/public/logo.png
Normal file
After Width: | Height: | Size: 92 KiB |
1
src/.vuepress/public/logo.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" class="icon" viewBox="0 0 3280.944 2800"><path fill="#41b883" d="M1645.332 601.004h375.675L1081.82 2238.478 142.636 601.004h718.477l220.708 379.704 216.013-379.704z"/><path fill="#41b883" d="M142.636 601.004l939.185 1637.474 939.186-1637.474h-375.675l-563.51 982.484-568.208-982.484z"/><path fill="#35495e" d="M513.188 601.004l568.207 987.23 563.511-987.23h-347.498l-216.013 379.704-220.708-379.704zM1607.792 1311.83l594.678 2.293 187.353-316.325-598.662 2.292zM2198.506 1909.57C2867.436 732.7 2939.502 605.426 2937.874 603.78c-.715-.723 45.303-1.314 102.262-1.314s103.562.428 103.562.951c0 .523-208.57 367.978-463.491 816.567L2216.715 2235.6l-102.1.596-102.102.596z"/><path fill="#41b883" d="M1680.563 2233.328c0-1.34 168.208-298.145 440.375-777.048a4135645.775 4135645.775 0 00337.619-594.19l146.13-257.25 170.746-.04 170.747-.04-5.536 9.741c-3.044 5.358-43.727 77.302-90.407 159.875-85.356 150.992-337.562 595.163-656.602 1156.373l-172 302.559-170.536.588c-93.795.322-170.536.069-170.536-.567z"/><path fill="#35495e" d="M1429.783 1625.351l594.679 2.292 187.353-316.324-598.662 2.292z"/><path fill="#41b883" d="M1524.207 1464.903l608.285 6.877 173.746-320.909h-619.072z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
20
src/.vuepress/sidebar.ts
Normal file
@ -0,0 +1,20 @@
|
||||
import { sidebar } from "vuepress-theme-hope";
|
||||
|
||||
export default sidebar({
|
||||
"/": [
|
||||
"",
|
||||
{
|
||||
text: "使用指南",
|
||||
icon: "laptop-code",
|
||||
prefix: "demo/",
|
||||
link: "demo/",
|
||||
children: "structure",
|
||||
},
|
||||
{
|
||||
text: "文档",
|
||||
icon: "book",
|
||||
prefix: "docs/",
|
||||
children: "structure",
|
||||
},
|
||||
],
|
||||
});
|
3
src/.vuepress/styles/config.scss
Normal file
@ -0,0 +1,3 @@
|
||||
// you can change config here
|
||||
$colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50,
|
||||
#7f8c8d !default;
|
1
src/.vuepress/styles/index.scss
Normal file
@ -0,0 +1 @@
|
||||
// place your custom styles here
|
2
src/.vuepress/styles/palette.scss
Normal file
@ -0,0 +1,2 @@
|
||||
// you can change colors here
|
||||
$theme-color: #096dd9;
|
198
src/.vuepress/theme.ts
Normal file
@ -0,0 +1,198 @@
|
||||
import { hopeTheme } from "vuepress-theme-hope";
|
||||
import navbar from "./navbar.js";
|
||||
import sidebar from "./sidebar.js";
|
||||
|
||||
export default hopeTheme({
|
||||
hostname: "http://localhost:8080/home",
|
||||
|
||||
author: {
|
||||
name: "aixiao",
|
||||
url: "https://aixiao.me",
|
||||
},
|
||||
|
||||
iconAssets: "fontawesome-with-brands",
|
||||
|
||||
// logo
|
||||
// logo: "/logo.png",
|
||||
// 暗黑模式logo
|
||||
// logoDark: "/logo.png",
|
||||
|
||||
/**
|
||||
* 深色模式
|
||||
*/
|
||||
darkmode: "switch",
|
||||
|
||||
/**
|
||||
* 项目仓库配置
|
||||
*/
|
||||
// 默认为 GitHub. 同时也可以是一个完整的 URL
|
||||
repo: "https://github.com/niuyuling/Blueberry",
|
||||
// 自定义仓库链接文字。默认从 `repo` 中自动推断为
|
||||
// "GitHub" / "GitLab" / "Gitee" / "Bitbucket" 其中之一,或是 "Source"。
|
||||
repoLabel: "Source",
|
||||
// 是否在导航栏内显示仓库链接,默认为 `true`
|
||||
repoDisplay: true,
|
||||
|
||||
docsDir: "src",
|
||||
|
||||
// navbar
|
||||
navbar,
|
||||
|
||||
// sidebar
|
||||
sidebar,
|
||||
|
||||
footer: "使用 <a href='https://theme-hope.vuejs.press/zh/' target='_blank'>VuePress Theme Hope</a> 主题",
|
||||
|
||||
displayFooter: true,
|
||||
|
||||
encrypt: {
|
||||
config: {
|
||||
"/demo/encrypt.html": ["1234"],
|
||||
},
|
||||
},
|
||||
|
||||
editLink: false,
|
||||
|
||||
// page meta
|
||||
metaLocales: {
|
||||
editLink: "在 GitHub 上编辑此页",
|
||||
},
|
||||
|
||||
|
||||
plugins: {
|
||||
|
||||
// You should generate and use your own comment service
|
||||
// 关闭评论功能
|
||||
comment: false,
|
||||
// comment: {
|
||||
// provider: "Giscus",
|
||||
// repo: "vuepress-theme-hope/giscus-discussions",
|
||||
// repoId: "R_kgDOG_Pt2A",
|
||||
// category: "Announcements",
|
||||
// categoryId: "DIC_kwDOG_Pt2M4COD69",
|
||||
// },
|
||||
|
||||
// All features are enabled for demo, only preserve features you need here
|
||||
mdEnhance: {
|
||||
align: true,
|
||||
attrs: true,
|
||||
codetabs: true,
|
||||
component: true,
|
||||
demo: true,
|
||||
figure: true,
|
||||
imgLazyload: true,
|
||||
imgSize: true,
|
||||
include: true,
|
||||
mark: true,
|
||||
stylize: [
|
||||
{
|
||||
matcher: "Recommended",
|
||||
replacer: ({ tag }) => {
|
||||
if (tag === "em")
|
||||
return {
|
||||
tag: "Badge",
|
||||
attrs: { type: "tip" },
|
||||
content: "Recommended",
|
||||
};
|
||||
},
|
||||
},
|
||||
],
|
||||
sub: true,
|
||||
sup: true,
|
||||
tabs: true,
|
||||
vPre: true,
|
||||
|
||||
// install chart.js before enabling it
|
||||
// chart: true,
|
||||
|
||||
// insert component easily
|
||||
|
||||
// install echarts before enabling it
|
||||
// echarts: true,
|
||||
|
||||
// install flowchart.ts before enabling it
|
||||
// flowchart: true,
|
||||
|
||||
// gfm requires mathjax-full to provide tex support
|
||||
// gfm: true,
|
||||
|
||||
// install katex before enabling it
|
||||
// katex: true,
|
||||
|
||||
// install mathjax-full before enabling it
|
||||
// mathjax: true,
|
||||
|
||||
// install mermaid before enabling it
|
||||
// mermaid: true,
|
||||
|
||||
// playground: {
|
||||
// presets: ["ts", "vue"],
|
||||
// },
|
||||
|
||||
// install reveal.js before enabling it
|
||||
// revealJs: {
|
||||
// plugins: ["highlight", "math", "search", "notes", "zoom"],
|
||||
// },
|
||||
|
||||
// install @vue/repl before enabling it
|
||||
// vuePlayground: true,
|
||||
},
|
||||
|
||||
// uncomment these if you want a pwa
|
||||
// pwa: {
|
||||
// favicon: "/favicon.ico",
|
||||
// cacheHTML: true,
|
||||
// cachePic: true,
|
||||
// appendBase: true,
|
||||
// apple: {
|
||||
// icon: "/assets/icon/apple-icon-152.png",
|
||||
// statusBarColor: "black",
|
||||
// },
|
||||
// msTile: {
|
||||
// image: "/assets/icon/ms-icon-144.png",
|
||||
// color: "#ffffff",
|
||||
// },
|
||||
// manifest: {
|
||||
// icons: [
|
||||
// {
|
||||
// src: "/assets/icon/chrome-mask-512.png",
|
||||
// sizes: "512x512",
|
||||
// purpose: "maskable",
|
||||
// type: "image/png",
|
||||
// },
|
||||
// {
|
||||
// src: "/assets/icon/chrome-mask-192.png",
|
||||
// sizes: "192x192",
|
||||
// purpose: "maskable",
|
||||
// type: "image/png",
|
||||
// },
|
||||
// {
|
||||
// src: "/assets/icon/chrome-512.png",
|
||||
// sizes: "512x512",
|
||||
// type: "image/png",
|
||||
// },
|
||||
// {
|
||||
// src: "/assets/icon/chrome-192.png",
|
||||
// sizes: "192x192",
|
||||
// type: "image/png",
|
||||
// },
|
||||
// ],
|
||||
// shortcuts: [
|
||||
// {
|
||||
// name: "Demo",
|
||||
// short_name: "Demo",
|
||||
// url: "/demo/",
|
||||
// icons: [
|
||||
// {
|
||||
// src: "/assets/icon/guide-maskable.png",
|
||||
// sizes: "192x192",
|
||||
// purpose: "maskable",
|
||||
// type: "image/png",
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// },
|
||||
},
|
||||
});
|
85
src/README.md
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
home: true
|
||||
icon: home
|
||||
title: 蓝莓派
|
||||
heroImage: /blueberry.png
|
||||
heroText: Blueberry Pi
|
||||
tagline: 蓝莓派,基于 <a target="_blank" href="https://github.com/YuzukiHD/YuzukiChameleon">Yuzuki Chameleon</a>二次开发。
|
||||
copyright: Copyright © 2019 - 2024 AIXIAO.ME All Rights Reserved
|
||||
footer: 使用 <a href="https://theme-hope.vuejs.press/zh/" target="_blank">VuePress Theme Hope</a> 主题
|
||||
---
|
||||
|
||||
修改SCH原理图WiFi模块,替换为RTL8189ES。
|
||||
修改PCB适用与RTL8189ES。
|
||||
## 特点
|
||||
|
||||
* 基于全志 H616 芯片,4*Cortex A53
|
||||
* HDMI支持4K@60,支持最大 6K 视频解码
|
||||
* 最大 2GB 内存与 128GB eMMC 储存
|
||||
* 板载eMMC与TF卡槽
|
||||
* 板载 RTL8189ES WIFI芯片
|
||||
* 4个USB TypeC,3个HOST 一个 OTG,支持USB摄像头与采集卡输入
|
||||
* 板载风扇槽,散热器固定孔
|
||||
* 引出 RJ45 百兆接口
|
||||
* 板载 40 Pin GPIO,可以扩展 SPI LCD 显示屏,千兆以太网,麦克风阵列,CAN收发器,温湿度传感器,加速度传感器等等。
|
||||
* AXP313A 电源方案
|
||||
|
||||
## Allwinner H616
|
||||
H616是全志科技为用户提供的新一代高画质64位4K@60fps解码SoC,适用于OTT和IPTV市场。它集成了四核64位CortexTM-A53处理器和全新的G31 GPU,支持OpenGL ES 3.2/Vulkan 1.1的ARM引擎。
|
||||
|
||||
此外,H616还支持全格式4K@60fps 10位超高清视频解码,以及全志自主研发的SmartColor3.3TM图像增强引擎,杜比和DTS音频处理。H616采用了新一代功耗技术,比上一代降低20%的功耗。
|
||||
## 布局图
|
||||
![Allwinner H616](/assets/home/brief.png)
|
||||
|
||||
## 硬件资料
|
||||
原理图 [SCH_blueberry_2023-11-09.pdf](https://blueberry.aixiao.me/HW/blueberry/SCH_blueberry_2023-11-09.pdf)
|
||||
|
||||
嘉立创EDA项目 [ProProject_blueberry_2023-11-09.epro](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/ProProject_blueberry_2023-11-09.epro)
|
||||
|
||||
BOM [BOM.xlsx](https://blueberry.aixiao.me/HW/blueberry/BOM.xlsx)
|
||||
|
||||
Gerber [Gerber_blueberry_2023-10-19.zip](https://blueberry.aixiao.me/HW/blueberry/Gerber_blueberry_2023-10-19.zip)
|
||||
|
||||
## 构建系统
|
||||
Linux Kernel [https://github.com/niuyuling/linux](https://github.com/niuyuling/linux)
|
||||
|
||||
U-BOOT [https://github.com/niuyuling/u-boot](https://github.com/niuyuling/u-boot)
|
||||
|
||||
### 其他Linux发行版
|
||||
如果想在其他的Linux发行版上进行构建,您需要进行以下额外的工作:
|
||||
|
||||
选择您喜欢的Linux发行版,并安装`Docker version 24.0.7`。
|
||||
确保您的磁盘空间不少于`60G`,内存不少于`2G`。
|
||||
按照`Docker`安装方法安装`Docker`。
|
||||
如果选择使用官方的build构建系统,请下载补丁文件`blueberry.patch`
|
||||
```
|
||||
apt-get -y install git wget
|
||||
git clone --depth=1 --branch=main https://github.com/armbian/build
|
||||
wget https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/SF/ArmDebian/blueberry.patch
|
||||
cd build
|
||||
git apply ../blueberry.patch # 打补丁
|
||||
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm
|
||||
```
|
||||
|
||||
|
||||
如果使用build构建系统,是官方也非官方(二次修改):
|
||||
|
||||
```
|
||||
apt-get -y install git
|
||||
git clone --depth=1 --branch=main https://git.aixiao.me/aixiao/build.git
|
||||
cd build
|
||||
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm
|
||||
```
|
||||
|
||||
## 问题
|
||||
目前未发现问题。
|
||||
|
||||
## 配件
|
||||
RJ45口需要自行制作,百兆速率需要注意等长。
|
||||
|
||||
##### RJ45_SCH
|
||||
![RJ45_SCH](/assets/home/rj45_sch.png)
|
||||
##### RJ45_PCB
|
||||
![RJ45_PCB](/assets/home/rj45_pcb.png)
|
||||
##### RJ45_3D
|
||||
![RJ45_3D](/assets/home/rj45_3d.png)
|
80
src/README.md.bak
Normal file
@ -0,0 +1,80 @@
|
||||
---
|
||||
home: true
|
||||
icon: home
|
||||
title: 蓝莓派
|
||||
heroImage: /blueberry.png
|
||||
bgImage: https://theme-hope-assets.vuejs.press/bg/6-light.svg
|
||||
bgImageDark: https://theme-hope-assets.vuejs.press/bg/6-dark.svg
|
||||
bgImageStyle:
|
||||
background-attachment: fixed
|
||||
heroText: Blueberry Pi
|
||||
tagline: 蓝莓派,基于 <a target="_blank" href="https://github.com/YuzukiHD/YuzukiChameleon">Yuzuki Chameleon</a>二次开发。
|
||||
actions:
|
||||
- text: 使用指南
|
||||
icon: lightbulb
|
||||
link: ./demo/
|
||||
type: primary
|
||||
|
||||
- text: 文档
|
||||
icon: file-lines
|
||||
link: ./docs/
|
||||
|
||||
highlights:
|
||||
- header: 更好的性能
|
||||
description:
|
||||
bgImage: https://theme-hope-assets.vuejs.press/bg/2-light.svg
|
||||
bgImageDark: https://theme-hope-assets.vuejs.press/bg/2-dark.svg
|
||||
image: /assets/image/box.svg
|
||||
highlights:
|
||||
- title: 修改SCH原理图WiFi模块,替换为<code>RTL8189ES</code>。
|
||||
- title: 修改PCB适用与<code>RTL8189ES</code>。
|
||||
|
||||
- header: 特点
|
||||
description:
|
||||
bgImage: https://theme-hope-assets.vuejs.press/bg/9-light.svg
|
||||
bgImageDark: https://theme-hope-assets.vuejs.press/bg/7-dark.svg
|
||||
image: /assets/image/advanced.svg
|
||||
highlights:
|
||||
- title: 基于全志 H616 芯片,4*Cortex A53
|
||||
icon: microchip
|
||||
details:
|
||||
|
||||
- title: HDMI支持4K@60
|
||||
icon: video
|
||||
details: 支持最大 6K 视频解码
|
||||
|
||||
- title: 最大 2GB 内存与 128GB eMMC 储存
|
||||
icon: memory
|
||||
details:
|
||||
|
||||
- title: 板载eMMC与TF卡槽
|
||||
icon: sd-card
|
||||
details:
|
||||
|
||||
- title: 板载 RTL8189ES WIFI芯片
|
||||
icon: wifi
|
||||
details:
|
||||
|
||||
- title: 丰富的接口类型
|
||||
icon: server
|
||||
details: 4个USB TypeC,3个HOST 一个 OTG,支持USB摄像头与采集卡输入
|
||||
|
||||
- title: 板载风扇槽,散热器固定孔
|
||||
icon: fan
|
||||
details:
|
||||
|
||||
- title: 引出 RJ45 百兆接口
|
||||
icon: ethernet
|
||||
details:
|
||||
|
||||
- title: 板载 40 Pin GPIO
|
||||
icon: desktop
|
||||
details: 可以扩展 SPI LCD 显示屏,千兆以太网,麦克风阵列,CAN收发器,温湿度传感器,加速度传感器等等。
|
||||
|
||||
- title: AXP313A 电源方案
|
||||
icon: battery-full
|
||||
details:
|
||||
|
||||
copyright: Copyright © 2019 - 2024 AIXIAO.ME All Rights Reserved
|
||||
footer: 使用 <a href="https://theme-hope.vuejs.press/zh/" target="_blank">VuePress Theme Hope</a> 主题
|
||||
---
|
9
src/demo/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
title: 使用指南
|
||||
index: false
|
||||
icon: laptop-code
|
||||
category:
|
||||
- 使用指南
|
||||
---
|
||||
|
||||
<AutoCatalog />
|
12
src/docs/Allwinner-H616.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Allwinner H616
|
||||
icon: microchip
|
||||
order: 1
|
||||
---
|
||||
|
||||
## 简介
|
||||
H616是全志科技为用户提供的新一代高画质64位4K@60fps解码SoC,适用于OTT和IPTV市场。它集成了四核64位CortexTM-A53处理器和全新的G31 GPU,支持OpenGL ES 3.2/Vulkan 1.1的ARM引擎。
|
||||
|
||||
此外,H616还支持全格式4K@60fps 10位超高清视频解码,以及全志自主研发的SmartColor3.3TM图像增强引擎,杜比和DTS音频处理。H616采用了新一代功耗技术,比上一代降低20%的功耗。
|
||||
## 布局图
|
||||
![Allwinner H616](/assets/home/brief.png)
|
7
src/docs/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: 文档
|
||||
index: false
|
||||
icon: lightbulb
|
||||
---
|
||||
|
||||
|
14
src/docs/hardware.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
title: 硬件资料
|
||||
icon: download
|
||||
order: 2
|
||||
---
|
||||
|
||||
## 原理图
|
||||
[SCH_blueberry_2023-11-09.pdf](https://blueberry.aixiao.me/HW/blueberry/SCH_blueberry_2023-11-09.pdf)
|
||||
## 嘉立创EDA项目
|
||||
[ProProject_blueberry_2023-11-09.epro](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/ProProject_blueberry_2023-11-09.epro)
|
||||
## BOM
|
||||
[BOM.xlsx](https://blueberry.aixiao.me/HW/blueberry/BOM.xlsx)
|
||||
## Gerber
|
||||
[Gerber_blueberry_2023-10-19.zip](https://blueberry.aixiao.me/HW/blueberry/Gerber_blueberry_2023-10-19.zip)
|
37
src/docs/system-build.md
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
title: 系统构建
|
||||
icon: hammer
|
||||
order: 3
|
||||
---
|
||||
|
||||
## Linux Kernel
|
||||
[https://github.com/niuyuling/linux](https://github.com/niuyuling/linux)
|
||||
|
||||
## U-BOOT
|
||||
[https://github.com/niuyuling/u-boot](https://github.com/niuyuling/u-boot)
|
||||
|
||||
## 其他Linux发行版
|
||||
如果想在其他的Linux发行版上进行构建,您需要进行以下额外的工作:
|
||||
|
||||
选择您喜欢的Linux发行版,并安装`Docker version 24.0.7`。
|
||||
确保您的磁盘空间不少于`60G`,内存不少于`2G`。
|
||||
按照`Docker`安装方法安装`Docker`。
|
||||
如果选择使用官方的build构建系统,请下载补丁文件`blueberry.patch`
|
||||
```
|
||||
apt-get -y install git wget
|
||||
git clone --depth=1 --branch=main https://github.com/armbian/build
|
||||
wget https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/SF/ArmDebian/blueberry.patch
|
||||
cd build
|
||||
git apply ../blueberry.patch # 打补丁
|
||||
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm
|
||||
```
|
||||
|
||||
|
||||
如果使用build构建系统,是官方也非官方(二次修改):
|
||||
|
||||
```
|
||||
apt-get -y install git
|
||||
git clone --depth=1 --branch=main https://git.aixiao.me/aixiao/build.git
|
||||
cd build
|
||||
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm
|
||||
```
|