Build micropython with IDF v4.0.1 error

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
PM-TPI
Posts: 29
Joined: Fri Jun 28, 2019 3:09 pm

Build micropython with IDF v4.0.1 error

Post by PM-TPI » Wed Jun 03, 2020 9:37 pm

IDF v4.0.1 git hash 4c81978a3e2220674a432a588292a4c860eef27b

error....
nts/wpa_supplicant/src/crypto/crypto_ops.o /mnt/c/tpi-dev/IDF4.0.1/esp-idf/components/wpa_supplicant/src/crypto/crypto_ops.c
/mnt/c/tpi-dev/IDF4.0.1/esp-idf/components/wpa_supplicant/src/crypto/crypto_ops.c:54:41: error: 'ccmp_decrypt' undeclared here (not in a function); did you mean 'aes_decrypt'?
.ccmp_decrypt = (esp_ccmp_decrypt_t)ccmp_decrypt,
^~~~~~~~~~~~
aes_decrypt


Has anyone built using 4.0.1?

PM-TPI
Posts: 29
Joined: Fri Jun 28, 2019 3:09 pm

Re: Build micropython with IDF v4.0.1 error

Post by PM-TPI » Thu Jun 04, 2020 3:31 pm

Attachments
2020-06-04 11_18_03-esp32_ Update IDF v4.0 supported hash. by jimmo · Pull Request #5851 · micropyth.png
2020-06-04 11_18_03-esp32_ Update IDF v4.0 supported hash. by jimmo · Pull Request #5851 · micropyth.png (68.03 KiB) Viewed 234 times

PM-TPI
Posts: 29
Joined: Fri Jun 28, 2019 3:09 pm

Re: Build micropython with IDF v4.0.1 error

Post by PM-TPI » Sat Jun 06, 2020 5:06 pm

Built micropython with...
ESP-IDF v4.0.1 4c81978a3e2220674a432a588292a4c860eef27b
micropython 1e6d18c915ccea0b6a19ffec9710d33dd7e5f866
and esp32/Make file updated to fa2c8f1ef8687aa4025f2fbbc7333ae925363585 (11hr ago as of post)

Issue....
if event == _IRQ_SCAN_RESULT: not passing
event is returning 5 and _IRQ_SCAN_RESULT = 16

Reason for up upgrading IDF was to hopefully fix... ble scan stop unexpectedly problem.

PM-TPI
Posts: 29
Joined: Fri Jun 28, 2019 3:09 pm

Re: Build micropython with IDF v4.0.1 error

Post by PM-TPI » Sun Jun 07, 2020 2:29 pm

FYI... somewhere along the line
_IRQ_SCAN_RESULT = const(1 << 4) changed to cont(5) and
_IRQ_SCAN_COMPLETE = const(1 << 5) changed to cont(6)

Post Reply