diff --git a/peripherals/i2c-tools/Kconfig b/peripherals/i2c-tools/Kconfig index c819f89ea0..4688d3700a 100644 --- a/peripherals/i2c-tools/Kconfig +++ b/peripherals/i2c-tools/Kconfig @@ -6,7 +6,6 @@ menuconfig PKG_USING_I2C_TOOLS select RT_USING_LIBC if RT_VER_NUM < 0x40100 select RT_USING_I2C select RT_USING_I2C_BITOPS - select RT_USING_CPLUSPLUS default n if PKG_USING_I2C_TOOLS @@ -20,6 +19,7 @@ if PKG_USING_I2C_TOOLS help Use software i2c instead of hardware default n + select RT_USING_CPLUSPLUS if I2C_TOOLS_USE_SW_I2C config I2C_TOOLS_SW_ACK_TIMEOUT diff --git a/peripherals/i2c-tools/package.json b/peripherals/i2c-tools/package.json index 5cda81132b..680e553d30 100644 --- a/peripherals/i2c-tools/package.json +++ b/peripherals/i2c-tools/package.json @@ -13,18 +13,17 @@ "github": "wuhanstudio" }, "license": "MIT", - "repository": "https://github.com/wuhanstudio/rt-i2c-tools", - "homepage": "https://github.com/wuhanstudio/rt-i2c-tools#readme", + "repository": "https://github.com/RT-Thread-packages/rt-i2c-tools", + "homepage": "https://github.com/RT-Thread-packages/rt-i2c-tools#readme", "site": [ { "version": "v1.0.0", - "URL": "https://github.com/wuhanstudio/rt-i2c-tools.git", - "filename": "i2c-tools-1.0.0.zip", - "VER_SHA": "5c02375e616f5a0b6685e8bc7fae3f93b8cbb0b4" + "URL": "https://github.com/RT-Thread-packages/rt-i2c-tools/archive/refs/tags/v1.0.0.zip", + "filename": "i2c-tools-1.0.0.zip" }, { "version": "latest", - "URL": "https://github.com/wuhanstudio/rt-i2c-tools.git", + "URL": "https://github.com/RT-Thread-packages/rt-i2c-tools.git", "filename": "", "VER_SHA": "master" }