update board microdev_micro_s2

This commit is contained in:
microDev 2021-11-18 12:34:56 +05:30
parent dcaf5d0de7
commit ced9da11f6
No known key found for this signature in database
GPG key ID: 2C0867BE60967730
2 changed files with 16 additions and 16 deletions

View file

@ -12,7 +12,7 @@ Following boards are supported:
- [Gravitech Cucumber RIS ESP32-S2 w/Sensors ](https://www.gravitech.us/curisdebowis.html)
- [LILYGO® TTGO T8 ESP32-S2 V1.1 ST7789 ](http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=1321&FId=t3:50033:3)
- [LOLIN Wemos® S2 Pico](https://www.wemos.cc/en/latest/s2/s2_pico.html)
- [microDev microS2](https://circuitpython.org/board/microdev_micro_s2)
- [MicroDev microS2](https://github.com/microDev1/microS2/wiki)
- [Morpheans MorphESP-240](https://github.com/ccadic/ESP32-S2-DevBoardTFT) or [MorphESP CrowdSupply](https://www.crowdsupply.com/morpheans/morphesp-240)
- [Olimex ESP32S2 DevKit Lipo vB1 (WROVER and WROOM)](https://www.olimex.com/Products/IoT/ESP32-S2/ESP32-S2-DevKit-Lipo/open-source-hardware)
- [Unexpected Maker FeatherS2](https://feathers2.io)

View file

@ -1,4 +1,4 @@
/*
/*
* The MIT License (MIT)
*
* Copyright (c) 2020 Ha Thach (tinyusb.org) for Adafruit Industries
@ -32,38 +32,38 @@
// Enter UF2 mode if GPIO is pressed while 2nd stage bootloader indicator
// is on e.g RGB = Purple. If it is GPIO0, user should not hold this while
// reset since that will instead run the 1st stage ROM bootloader
#define PIN_BUTTON_UF2 0
#define PIN_BUTTON_UF2 0
//--------------------------------------------------------------------+
// LED
//--------------------------------------------------------------------+
// GPIO connected to Neopixel data
#define NEOPIXEL_PIN 33
#define NEOPIXEL_PIN 33
// Brightness percentage from 1 to 255
#define NEOPIXEL_BRIGHTNESS 0x10
#define NEOPIXEL_BRIGHTNESS 0x10
// Number of neopixels
#define NEOPIXEL_NUMBER 1
#define NEOPIXEL_NUMBER 1
// LED for indicator and writing flash
// If not defined neopixel will be use for flash writing instead
#define LED_PIN 21
#define LED_STATE_ON 1
#define LED_PIN 21
#define LED_STATE_ON 1
//--------------------------------------------------------------------+
// USB UF2
//--------------------------------------------------------------------+
#define USB_VID 0x239A
#define USB_PID 0x00C5
#define USB_MANUFACTURER "microDev"
#define USB_PRODUCT "microS2"
#define USB_VID 0x239A
#define USB_PID 0x00C5
#define USB_MANUFACTURER "MicroDev"
#define USB_PRODUCT "microS2"
#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
#define UF2_BOARD_ID "microDev-microS2"
#define UF2_VOLUME_LABEL "MICROS2BOOT"
#define UF2_INDEX_URL "https://circuitpython.org/board/microdev_micro_s2"
#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
#define UF2_BOARD_ID "ESP32S2-MICROS2-V1"
#define UF2_VOLUME_LABEL "MICROS2BOOT"
#define UF2_INDEX_URL "https://github.com/microDev1/microS2/wiki"
#endif //MICRODEV_MICROS2_H_