In Board.txt file added board revision submenu to distinguish the different revisions of the same board. By selecting different revision in the Arduino menu different value of the predefined macro will be applied which is used inside the pins_arduino.h file to make different defines and values for the specific revision.
In addition to this esp32-poe pin definitions is added ethernet power enable pin and also defined macro: BOARD_HAS_1BIT_SDMMC
* Add APB change callbacks and move cpu code to own file
* Properly set esp_timer and FreeRTOS tick dividers
* Improve updated devisors
* No need to update REF_TICK yet
* Add initial handling for UART baud change
* fix uartWriteBuf and uartDetectBaudrate
* trigger callbacks even when APB did not change
* toggle UART ISR on CPU change
* add XTAL freq getter and add cpu freq validation
* Support CPU frequency changes in I2C (#2287)
**esp32-hal-i2c.c**
* add callback for cpu frequency changes
* adjust fifo thresholds based on cpu frequency and i2c bus frequency
* reduce i2c bus frequency if differential is too small
**Wire.h**
* version to 1.1.0
* Implement clock change for the other peripherals
* remove bad CPU clock values from the menu
* Add note to CPU freqs that support WiFi and BT
* Add support to HAL for APB frequencies different than 80MHz
* Add support for CPU frequencies in the IDE board menu
* Switch to fast set_config
* Add method to uart so debug can be reassigned after apb frequency switch
* Return real APB frequency
* First commit of FFat library
* Fixed reboot loops if no fat present. Added CMakeLists
* Functionalize the partition checks
* Cleanup, especially in format
* Dont format if mounted. More wording cleanup
* 16M ffat should only be on 16M board
* Fix some casting issues that trip up the compiler when building as ESP-IDF component
* Add ttgo-lora32-v1 folder to variants folder
* Add ttgo-lora32-v1 info to boards.txt
* Add defs to pins_arduino.h for I2C OLED and SPI LoRa radio pinouts as per @stickbreaker
* Additional partition scheme min_spiffs
with minimal SPIFFS partition size and OTA support for bigger apps
* Selectable (from menu) partitions for m5stack
addition for m5stack (as is prepared for lolin32 board: https://github.com/espressif/arduino-esp32/pull/1379)
discourse here: https://github.com/espressif/arduino-esp32/issues/1378
* Selectable (from menu) partitions for MH ET LIVE boards
in reference to other boards (m5stack, lolin32)
this PR adds partition scheme selection for MH ET LIVE boards
also adds Core Debug Level selection for above boards
build.board is used to define a macro but - is not a permitted character in macro names. This causes the macro name to actually be only everything up to the first - and also many warnings when compiling for one of these boards:
<command-line>:0:14: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:14: warning: ISO C99 requires whitespace after the macro name
I have followed the convention of the other build.board names by replacing - with _.
* Update BLE lib
* Update IDF to f586f5e
* Restructure Bluetooth Serial includes
* Update esptool and gen_esp32part
* Add partition scheme selection for menuconfig
* Add partition scheme selection for Arduino IDE
* Fix BLE example
* Second attempt BLE fix
* Add exceptions to PIO
M5Stack variant (pins_arduino.h) file is not automatically included,
because boards.txt m5stack-core-esp32.build.variant=esp32
This commit changes m5stack-core-esp32.build.variant from esp32 to m5stack_core_esp32
also rename M5Stack variant directory from m5stack-core-esp32 to m5stack_core_esp32
The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".
C macro names should never have a "-" sign.
* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S