Update: 更新arduino板卡

This commit is contained in:
王立帮
2024-07-21 23:25:33 +08:00
parent a963833804
commit 9c784630cb
812 changed files with 799 additions and 808 deletions

View File

@@ -6,58 +6,70 @@ let toolsGenerators = {};
const BOARDS_PIN_DEF = {
esp32_pin: {
path: require("../../../../common/media/board_pin/ESP32.png"),
path: require("../media/ESP32.png"),
height: 270
},
handbit_A: {
path: require("../../../../common/media/board_pin/handbit_A.jpg"),
path: require("../media/handbit_A.jpg"),
height: 260
},
handbit_B: {
path: require("../../../../common/media/board_pin/handbit_B.jpg"),
path: require("../media/handbit_B.jpg"),
height: 260,
width: 460
},
handbit_pin_A: {
path: require("../../../../common/media/board_pin/handbit_pin_A.jpg"),
path: require("../media/handbit_pin_A.jpg"),
width: 270
},
handbit_pin_B: {
path: require("../../../../common/media/board_pin/handbit_pin_B.jpg"),
path: require("../media/handbit_pin_B.jpg"),
width: 290
},
mixgo_pin_A: {
path: require("../../../../common/media/board_pin/MixGo_pin_A.png")
path: require("../media/MixGo_pin_A.png")
},
mixgo_pin_B: {
path: require("../../../../common/media/board_pin/MixGo_pin_B.png")
path: require("../media/MixGo_pin_B.png")
},
PocketCard_A: {
path: require("../../../../common/media/board_pin/PocketCard_A.jpg")
path: require("../media/PocketCard_A.jpg")
},
PocketCard_B: {
path: require("../../../../common/media/board_pin/PocketCard_B.jpg")
path: require("../media/PocketCard_B.jpg")
},
PocketCard_pin: {
path: require("../../../../common/media/board_pin/PocketCard_pin.png")
path: require("../media/PocketCard_pin.png")
},
esp32_cam_pin: {
path: require("../../../../common/media/board_pin/ESP32_CAM_pin.png"),
path: require("../media/ESP32_CAM_pin.png"),
height: 270
},
esp32_pico_kit_1_pin: {
path: require("../../../../common/media/board_pin/ESP32_pico_kit_1.png"),
path: require("../media/ESP32_pico_kit_1.png"),
height: 230
},
nodemcu_32s_pin: {
path: require("../../../../common/media/board_pin/nodemcu_32s_pin.png"),
path: require("../media/nodemcu_32s_pin.png"),
width: 380
},
esp32c3_pin: {
path: require("../media/ESP32c3.jpg")
},
core_esp32c3_pin: {
path: require("../media/core_esp32c3_pin.png"),
width: 500
},
esp32s3_pin: {
path: require("../media/ESP32s3.jpg"),
height: 350,
width: 500
}
}
for (let i in BOARDS_PIN_DEF) {
const defaultDef = {
path: require('../../../../common/media/board_pin/ESP32.png'),
path: require('../media/ESP32.png'),
height: 376,
width: 525,
tooltip: '',
@@ -77,8 +89,8 @@ for (let i in BOARDS_PIN_DEF) {
};
toolsGenerators[i] = function () {
return "";
};
return '';
}
}
export const blocks = toolsBlocks;

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

View File

@@ -1,9 +1,10 @@
{
"name": "@mixly/arduino-esp32",
"version": "1.2.0",
"version": "1.3.0",
"description": "适用于mixly的arduino esp32模块",
"scripts": {
"build:dev": "webpack --config=webpack.dev.js",
"build:prod": "webpack --config=webpack.prod.js",
"publish:board": "npm publish --registry https://registry.npmjs.org/"
},
"main": "./export.js",