diff --git a/arduino/other/Adafruit-Si5351/Kconfig b/arduino/other/Adafruit-Si5351/Kconfig new file mode 100644 index 0000000000..ba21bf552c --- /dev/null +++ b/arduino/other/Adafruit-Si5351/Kconfig @@ -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 + diff --git a/arduino/other/Adafruit-Si5351/package.json b/arduino/other/Adafruit-Si5351/package.json new file mode 100644 index 0000000000..5043f491ae --- /dev/null +++ b/arduino/other/Adafruit-Si5351/package.json @@ -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" + } + ] +} diff --git a/arduino/other/Kconfig b/arduino/other/Kconfig index e28e2586fb..792c5be473 100644 --- a/arduino/other/Kconfig +++ b/arduino/other/Kconfig @@ -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