ci(pre-commit): Apply automatic fixes
This commit is contained in:
parent
ed6e95d4fc
commit
0dcb1d1178
4 changed files with 18 additions and 18 deletions
|
|
@ -7,4 +7,4 @@ otadata, data, ota, 0xe000, 8K,
|
||||||
ota_0, 0, ota_0, 0x10000, 2048K,
|
ota_0, 0, ota_0, 0x10000, 2048K,
|
||||||
ota_1, 0, ota_1, 0x210000, 2048K,
|
ota_1, 0, ota_1, 0x210000, 2048K,
|
||||||
uf2, app, factory,0x410000, 256K,
|
uf2, app, factory,0x410000, 256K,
|
||||||
ffat, data, fat, 0x450000, 11968K,
|
ffat, data, fat, 0x450000, 11968K,
|
||||||
|
|
|
||||||
|
|
|
@ -10,15 +10,15 @@
|
||||||
#define USB_SERIAL "" // Empty string for MAC address
|
#define USB_SERIAL "" // Empty string for MAC address
|
||||||
|
|
||||||
// Default USB FirmwareMSC Settings
|
// Default USB FirmwareMSC Settings
|
||||||
#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars
|
#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars
|
||||||
#define USB_FW_MSC_PRODUCT_ID "Eye ESP32S3" // max 16 chars
|
#define USB_FW_MSC_PRODUCT_ID "Eye ESP32S3" // max 16 chars
|
||||||
#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars
|
#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars
|
||||||
#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars
|
#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars
|
||||||
#define USB_FW_MSC_SERIAL_NUMBER 0x00000000
|
#define USB_FW_MSC_SERIAL_NUMBER 0x00000000
|
||||||
|
|
||||||
#define PIN_RGB_LED 45 // RGB LED
|
#define PIN_RGB_LED 45 // RGB LED
|
||||||
#define RGBLED_PIN 45 // RGB LED
|
#define RGBLED_PIN 45 // RGB LED
|
||||||
#define PIN_LED 45
|
#define PIN_LED 45
|
||||||
#define RGBLED_NUM 1 // number of RGB LEDs
|
#define RGBLED_NUM 1 // number of RGB LEDs
|
||||||
|
|
||||||
// Default I2C QWIIC-Ports
|
// Default I2C QWIIC-Ports
|
||||||
|
|
@ -28,14 +28,14 @@ static const uint8_t SCL = 1;
|
||||||
#define PIN_QWIIC_SCL 1
|
#define PIN_QWIIC_SCL 1
|
||||||
|
|
||||||
// IO Pins
|
// IO Pins
|
||||||
#define PIN_IO14 14
|
#define PIN_IO14 14
|
||||||
static const uint8_t A14 = PIN_IO14; // Analog
|
static const uint8_t A14 = PIN_IO14; // Analog
|
||||||
static const uint8_t D14 = PIN_IO14; // Digital
|
static const uint8_t D14 = PIN_IO14; // Digital
|
||||||
static const uint8_t T14 = PIN_IO14; // Touch
|
static const uint8_t T14 = PIN_IO14; // Touch
|
||||||
#define PIN_IO48 48
|
#define PIN_IO48 48
|
||||||
static const uint8_t A48 = PIN_IO48; // Analog
|
static const uint8_t A48 = PIN_IO48; // Analog
|
||||||
static const uint8_t D48 = PIN_IO48; // Digital
|
static const uint8_t D48 = PIN_IO48; // Digital
|
||||||
static const uint8_t T48 = PIN_IO48; // Touch
|
static const uint8_t T48 = PIN_IO48; // Touch
|
||||||
|
|
||||||
// Button
|
// Button
|
||||||
#define PIN_BUTTON 47
|
#define PIN_BUTTON 47
|
||||||
|
|
@ -87,4 +87,4 @@ static const uint8_t RX = 44;
|
||||||
#define LORA_TX 43
|
#define LORA_TX 43
|
||||||
#define LORA_RX 44
|
#define LORA_RX 44
|
||||||
|
|
||||||
#endif /* Pins_Arduino_h */
|
#endif /* Pins_Arduino_h */
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ extern "C" {
|
||||||
|
|
||||||
void initVariant(void) {
|
void initVariant(void) {
|
||||||
// blink the RGB LED
|
// blink the RGB LED
|
||||||
rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green
|
rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green
|
||||||
delay(20);
|
delay(20);
|
||||||
rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off
|
rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// APOTA is a arduino fallback sketch that is written to OTA1_Partition.
|
// APOTA is a arduino fallback sketch that is written to OTA1_Partition.
|
||||||
// APOTA opens an access point which waits to receive a .binfile on /sketch.
|
// APOTA opens an access point which waits to receive a .binfile on /sketch.
|
||||||
// After succesful upload, the file is written to OTA0_Partition and the microcontroller reboots to the newly uploaded sketch.
|
// After succesful upload, the file is written to OTA0_Partition and the microcontroller reboots to the newly uploaded sketch.
|
||||||
|
|
||||||
#define DISPLAY_ENABLED
|
#define DISPLAY_ENABLED
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue