Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arduino][adafruit] 添加si5351驱动库 #1571

Merged
merged 1 commit into from
Feb 17, 2023
Merged
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
31 changes: 31 additions & 0 deletions arduino/other/Adafruit-Si5351/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# Kconfig file for package Adafruit-Si5351
menuconfig PKG_USING_ARDUINO_ADAFRUIT_SI5351
bool "Adafruit Si5351 Clock Generator Breakout"
select PKG_USING_RTDUINO
select RTDUINO_USING_WIRE
select PKG_USING_ARDUINO_ADAFRUIT_BUSIO
default n

if PKG_USING_ARDUINO_ADAFRUIT_SI5351

config PKG_ARDUINO_ADAFRUIT_SI5351_PATH
string
default "/packages/arduino/other/Adafruit-Si5351"

choice
prompt "Version"
default PKG_USING_ARDUINO_ADAFRUIT_SI5351_LATEST_VERSION
help
Select the package version

config PKG_USING_ARDUINO_ADAFRUIT_SI5351_LATEST_VERSION
bool "latest"
endchoice

config PKG_ARDUINO_ADAFRUIT_SI5351_VER
string
default "latest" if PKG_USING_ARDUINO_ADAFRUIT_SI5351_LATEST_VERSION

endif

31 changes: 31 additions & 0 deletions arduino/other/Adafruit-Si5351/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Adafruit-Si5351",
"description": "Adafruit Si5351: Clock Generator Breakout",
"description_zh": "Adafruit Si5351 时钟发生器",
"enable": "PKG_USING_ARDUINO_ADAFRUIT_SI5351",
"keywords": [
"Adafruit-Si5351",
"Adafruit",
"Si5351",
"Clock Generator"
],
"category": "arduino/other",
"author": {
"name": "adafruit",
"email": "info@adafruit.com",
"github": "adafruit"
},
"license": "BSD-3-Clause",
"repository": "https://github.com/adafruit/Adafruit_Si5351_Library",
"icon": "unknown",
"homepage": "https://github.com/adafruit/Adafruit_Si5351_Library#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/adafruit/Adafruit_Si5351_Library.git",
"filename": "",
"VER_SHA": "master"
}
]
}
1 change: 1 addition & 0 deletions arduino/other/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menu "Other"

source "$PKGS_DIR/packages/arduino/other/Adafruit-MFRC630/Kconfig"
source "$PKGS_DIR/packages/arduino/other/Adafruit-Si5351/Kconfig"

endmenu