본문 바로가기

개발 이야기/임베디드 개발

[ESP32] esp-idf 의 오픈소스 수정

728x90

ESP32 기반의 프로젝트를 진행하다가 하기와 같이 

esp-idf 오픈소스를 수정할 일이 생겼다.

 

이미 하기 링크와 같이

이슈에 대한 내용은 

해당 깃허브에도 이슈를 남겼고,,,

내용을 보면 알겟지만 우선 내가 수정한 코드가 제대로 된건지

검증받기 위해 

ESP32 공식 깃허브에 이슈를 남겼다.

 

 

https://github.com/espressif/esp-idf/issues/8688

 

I met the case of that value of "entry->state" in function, dns_check_entry(u8_t i) was 58 or 59. (IDFGH-7071) · Issue #8688

Environment Development Kit: ESP32 module based custom board. Kit version (for WroverKit/PicoKit/DevKitC): [v4.2] Module or chip used: [ESP32-WROOM-32UE] IDF version (run git describe --tags to fin...

github.com

 

소스도 JTAG 디버깅하여 

수정을 했는데,

우선 깃허브 이슈를 위와 같이 남기긴 했는데

LWIP 스택의 문제인지 

어떤 이유로 case가 58 또는 59 가 내려오는지에 대한

확실한 이유를 알기 위해 issue로 남기긴 했다.

 

어쨌든 디버깅하여 코드는 수정했고

원하는 동작은 잘하긴 한다.

 

우선 프로젝트는 진행될 듯~

 

(추가1)

추가로 LWIP 오픈소스를 관리하는 깃허브에도 하기와 같이 동일한 이슈를 남겼습니다.

https://github.com/particle-iot/lwip/issues/9 

 

We met the case of that value of "entry->state" in function, dns_check_entry(u8_t i) was 58 or 59. · Issue #9 · particle-iot/l

We met the case of that value of "entry->state" in function, dns_check_entry(u8_t i) was 58 or 59. Our test env.: hw: ESP32, sw: esp-idf , condition: use SNTP and test with/without int...

github.com

 

 

그럼,

   공유합니다.