Skip to content

Commit

Permalink
Merge pull request #1297 from supperthomas/master
Browse files Browse the repository at this point in the history
[peripheral] add the rtt_esp_idf
  • Loading branch information
Guozhanxin authored Jul 7, 2022
2 parents 1dad3d6 + 30b9ca8 commit 83d7768
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions peripherals/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source "$PKGS_DIR/packages/peripherals/sht3x/Kconfig"
source "$PKGS_DIR/packages/peripherals/adt74xx/Kconfig"
source "$PKGS_DIR/packages/peripherals/as7341/Kconfig"
source "$PKGS_DIR/packages/peripherals/stm32_sdio/Kconfig"
source "$PKGS_DIR/packages/peripherals/rtt_esp_idf/Kconfig"
source "$PKGS_DIR/packages/peripherals/icm20608/Kconfig"
source "$PKGS_DIR/packages/peripherals/button/Kconfig"
source "$PKGS_DIR/packages/peripherals/pcf8574/Kconfig"
Expand Down
32 changes: 32 additions & 0 deletions peripherals/rtt_esp_idf/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

# Kconfig file for package rtt_esp_idf
menuconfig PKG_USING_RTT_ESP_IDF
bool "ESP-IDF: for espress serial ESP32C3 etc."
default n

if PKG_USING_RTT_ESP_IDF

config PKG_RTT_ESP_IDF_PATH
string
default "/packages/peripherals/rtt_esp_idf"

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

config PKG_USING_RTT_ESP_IDF_V100
bool "v1.0.0"

config PKG_USING_RTT_ESP_IDF_LATEST_VERSION
bool "latest"
endchoice

config PKG_RTT_ESP_IDF_VER
string
default "v1.0.0" if PKG_USING_RTT_ESP_IDF_V100
default "latest" if PKG_USING_RTT_ESP_IDF_LATEST_VERSION

endif

35 changes: 35 additions & 0 deletions peripherals/rtt_esp_idf/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "rtt_esp_idf",
"description": "The ESP-IDF for espress serial ESP32C3 etc.",
"description_zh": "ESP32C3 ESP-IDF软件包。",
"enable": "PKG_USING_RTT_ESP_IDF",
"keywords": [
"rtt_esp_idf",
"ESP32"
],
"category": "peripherals",
"author": {
"name": "supperthomas",
"email": "[email protected]",
"github": "supperthomas"
},
"license": "Apache-2.0",
"repository": "https://github.com/supperthomas/esp-idf",
"icon": "unknown",
"homepage": "https://github.com/supperthomas/esp-idf",
"doc": "unknown",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/supperthomas/esp-idf/archive/refs/tags/rtt_v4.4.zip",
"filename": "rtt_esp_idf_1_0_0.zip",
"VER_SHA": "fill in the git version SHA value"
},
{
"version": "latest",
"URL": "https://github.com/supperthomas/esp-idf.git",
"filename": "esp_idf",
"VER_SHA": "fill in latest version branch name, such as master"
}
]
}

0 comments on commit 83d7768

Please sign in to comment.