Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions board-defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,45 @@
"needManualReboot": false,
"shouldOnlyUseDefaults": false
}
},
"BOARD_ESP32C6_SUPERMINI": {
"values": {
"SENSORS": [
{
"protocol": "I2C",
"imu": "IMU_ICM45686",
"int": "1",
"rotation": "DEG_270",
"scl": "2",
"sda": "3"
},
{
"protocol": "I2C",
"imu": "IMU_ICM45686",
"int": "14",
"rotation": "DEG_270",
"scl": "2",
"sda": "3"
}
],
"BATTERY": {
"type": "BAT_EXTERNAL",
"r1": 100,
"r2": 100,
"shieldR": 0,
"pin": "0"
},
"LED": {
"LED_PIN": "LED_BUILTIN",
"LED_INVERTED": false
}
},
"flashingRules": {
"applicationOffset": 65536,
"needBootPress": false,
"needManualReboot": false,
"shouldOnlyUseDefaults": false
}
}
}
}
3 changes: 2 additions & 1 deletion board-defaults.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
"BOARD_ESP32C6DEVKITC1",
"BOARD_WEMOSWROOM02",
"BOARD_XIAO_ESP32C3",
"BOARD_ESP32S3_SUPERMINI"
"BOARD_ESP32S3_SUPERMINI",
"BOARD_ESP32C6_SUPERMINI"
],
"description": "Board Type"
},
Expand Down
12 changes: 12 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,18 @@ board_upload.wait_for_upload_port = 1
board_upload.require_upload_port = 1
upload_speed = 921600

[env:BOARD_ESP32C6_SUPERMINI]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.11/platform-espressif32.zip
custom_slime_board = BOARD_ESP32C6_SUPERMINI
build_flags =
${env.build_flags}
-DESP32C6
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
board = esp32-c6-devkitc-1 ;esp32c6_supermini
upload_speed = 921600
board_upload.flash_size = 4MB

[env:BOARD_SLIMEVR]
platform = espressif8266 @ 4.2.1
board = esp12e
Expand Down
1 change: 1 addition & 0 deletions src/consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ enum class SensorTypeID : uint8_t {
#define BOARD_GENERIC_NRF 24
#define BOARD_SLIMEVR_BUTTERFLY_DEV 25
#define BOARD_SLIMEVR_BUTTERFLY 26
#define BOARD_ESP32C6_SUPERMINI 27
#define BOARD_DEV_RESERVED 250 // Reserved, should not be used in any release firmware

#define BAT_EXTERNAL 1
Expand Down