Search found 2 matches

by wbdsgnr
Tue Oct 26, 2021 2:13 pm
Forum: ESP32 boards
Topic: Custom build works, except i2c.readfrom_mem
Replies: 5
Views: 7993

Re: Custom build works, except i2c.readfrom_mem

Nevermind, solved it. Bug in sdk v4.4, null pointer dereference.

For future reference, change this line to

Code: Select all

if(p_i2c->cmd_link.head!=NULL)
	p_i2c->cmd_link.head->cmd.bytes_used = 0;
by wbdsgnr
Tue Oct 26, 2021 11:31 am
Forum: ESP32 boards
Topic: Custom build works, except i2c.readfrom_mem
Replies: 5
Views: 7993

Custom build works, except i2c.readfrom_mem

I'm using esp-idf v4.4-dev (latest commit before 5.0-dev) and micropython v1.17(also tested master branch) and am testing on a esp32-devkit-v4 module. I added some code to micropython use WiFi Enterprise from python. After building for GENERIC, wifi works, bluetooth works, standard things work. So f...