Update: 更新arduino板卡
@@ -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;
|
||||
|
||||
BIN
boards/default_src/arduino_esp32/media/ESP32.png
Normal file
|
After Width: | Height: | Size: 255 KiB |
BIN
boards/default_src/arduino_esp32/media/ESP32_CAM_pin.png
Normal file
|
After Width: | Height: | Size: 330 KiB |
BIN
boards/default_src/arduino_esp32/media/ESP32_pico_kit_1.png
Normal file
|
After Width: | Height: | Size: 561 KiB |
BIN
boards/default_src/arduino_esp32/media/ESP32c3.jpg
Normal file
|
After Width: | Height: | Size: 298 KiB |
BIN
boards/default_src/arduino_esp32/media/ESP32s2.jpg
Normal file
|
After Width: | Height: | Size: 444 KiB |
BIN
boards/default_src/arduino_esp32/media/ESP32s3.jpg
Normal file
|
After Width: | Height: | Size: 450 KiB |
BIN
boards/default_src/arduino_esp32/media/MixGo_pin_A.png
Normal file
|
After Width: | Height: | Size: 528 KiB |
BIN
boards/default_src/arduino_esp32/media/MixGo_pin_B.png
Normal file
|
After Width: | Height: | Size: 606 KiB |
BIN
boards/default_src/arduino_esp32/media/PocketCard_A.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
boards/default_src/arduino_esp32/media/PocketCard_B.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
boards/default_src/arduino_esp32/media/PocketCard_pin.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
boards/default_src/arduino_esp32/media/core_esp32c3_pin.png
Normal file
|
After Width: | Height: | Size: 676 KiB |
BIN
boards/default_src/arduino_esp32/media/handbit_A.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
boards/default_src/arduino_esp32/media/handbit_B.jpg
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
boards/default_src/arduino_esp32/media/handbit_pin_A.jpg
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
boards/default_src/arduino_esp32/media/handbit_pin_B.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
boards/default_src/arduino_esp32/media/nodemcu_32s_pin.png
Normal file
|
After Width: | Height: | Size: 236 KiB |
@@ -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",
|
||||
|
||||