• Me No Dev's avatar
    Handle APB frequency change (#2250) · 2fd39b1a
    Me No Dev authored
    * 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
    2fd39b1a
boards.txt 99.6 KB