• Damien George's avatar
    esp32/esp32_rmt: Install RMT driver on core 1. · e754c2e8
    Damien George authored
    MicroPython currently runs on core 0 of the esp32.  Calling
    rmt_driver_install will mean that the RMT interrupt handler is also
    serviced on core 0.  This can lead to glitches in the RMT output if
    WiFi is enabled (for esp32.RMT and machine.bitstream).
    
    This patch calls rmt_driver_install on core 1, ensuring that the RMT
    interrupt handler is serviced on core 1.  This prevents glitches.
    
    Fixes issue #8161.
    Signed-off-by: default avatarDamien George <damien@micropython.org>
    e754c2e8
modesp32.h 994 Bytes