Closed wojciechmadry closed 8 months ago
Update: I ran this code with the hardware (esp + BNO) and it worked
Hi, thanks for the PR but #include "rom/gpio.h"
doesn't seem a good idea to me.
I'm more inclined to replace gpio_pad_select_gpio()
altogether.
closing this, will try to take care of the adjustments over the weekend.
According to the API change in the new espressif, I created changes that fix compilation errors. I haven't tested this on physical hardware yet, and I don't think it should be merged. I'm creating this PR because maybe it will solve someone's compilation problem.
fatal error: driver/i2c.h: No such file or directory
Solution.error: 'const uart_config_t' has no non-static data member named 'use_ref_tick'
Solution.error: 'gpio_pad_select_gpio' was not declared in this scope; did you mean 'esp_rom_gpio_pad_select_gpio'?
Solution.error: 'portTICK_RATE_MS' was not declared in this scope;
Solution.