Skip to content

Commit

Permalink
[arduino][adafruit] 添加si5351驱动库
Browse files Browse the repository at this point in the history
  • Loading branch information
Z8MAN8 authored and mysterywolf committed Feb 17, 2023
1 parent 2de28ca commit e5ac3e8
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
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

0 comments on commit e5ac3e8

Please sign in to comment.