Platformio build problem

For those wanting to stick with PlatformIO, the solution I found to work was to install rich-click and intelhex to the PlatformIO environment… eg (for Windows)

C:\Users<user>.platformio\penv\Scripts\python.exe -m pip install rich-click
C:\Users<user>.platformio\penv\Scripts\python.exe -m pip install intelhex

I also had to “update” esp32-hal-i2c-slave.c with suggested build warnings…

warning: implicit declaration of function 'i2c_ll_slave_set_fifo_mode'; did you mean 'i2c_ll_enable_fifo_mode'? [-Wimplicit-function-declaration]
  378 |   i2c_ll_slave_set_fifo_mode(i2c->dev, true);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   i2c_ll_enable_fifo_mode

NB: I haven’t tested these I2C changes.

1 Like