Search found 8 matches

by ClockToshi
Tue Nov 07, 2023 10:41 pm
Forum: General Discussion
Topic: How to use miniz to create a compressed file that can be decompressd by gzip?
Replies: 2
Views: 1517

Re: How to use miniz to create a compressed file that can be decompressd by gzip?

Not sure about compressing on esp32 and decompressing elsewhere but this works for me to compress on my linux host (and then i decompress on the esp32) python -c "import zlib; import sys; open(sys.argv[2], 'wb').write(zlib.compress(open(sys.argv[1], 'rb').read(), 9))" uncompress_file.bin compressed_...
by ClockToshi
Thu Oct 12, 2023 5:29 pm
Forum: ESP-IDF
Topic: ESP Privilege Separation on S3 and efuse hw read only question
Replies: 1
Views: 710

ESP Privilege Separation on S3 and efuse hw read only question

I noticed ESP Privilege Separation project on github https://github.com/espressif/esp-privilege-separation which is very interesting. Unfortunately it is in beta and does not seem to support recent idf releases such as v5.1.1, it requires idf patches and looking at the example sdkconfig.defaults htt...
by ClockToshi
Tue Jan 03, 2023 1:58 am
Forum: General Discussion
Topic: lowering the DC voltage on a circuit programmatically
Replies: 1
Views: 780

lowering the DC voltage on a circuit programmatically

I have an intercom that is based on a two wire system with DC 28 V It's an elvox duefili. With an esp32 + adc and a voltage divider I was able to sample the voltage. upon ringing the doorbell and opening the gate I can see the different voltage drop. I can also "see" my voice on a plot of the sample...
by ClockToshi
Sat Jan 22, 2022 6:49 pm
Forum: General Discussion
Topic: ESP32 OTA via the BLE
Replies: 1
Views: 5196

Re: ESP32 OTA via the BLE

For ble ota I'm not sure if there is any example is esp idf but you can find an ota mechanism that supports both serial and ble in https://github.com/blockstream/jade - it wraps the ota data in cbor messages It uses by default deflate compression via minix in the rom but you can skip that (it works ...
by ClockToshi
Thu Jan 06, 2022 2:51 am
Forum: ESP-IDF
Topic: Tagged version differences in git (release/v4.3 vs v4.3)
Replies: 2
Views: 2618

Re: Tagged version differences in git (release/v4.3 vs v4.3)

The former is the branch the latter is the tag.
For production use you want the tag generally as the branch is a moving target.
by ClockToshi
Sun Jun 28, 2020 5:35 pm
Forum: ESP-ADF
Topic: M5 atom echo, using simultaneously the mic and the speaker, impossible?
Replies: 0
Views: 3021

M5 atom echo, using simultaneously the mic and the speaker, impossible?

The m5 atom echo comes with a PDM mic SPM1423 and speaker NS4168 i2s From https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/i2s.html Each controller can operate in half-duplex communication mode. Thus, the two controllers can be combined to establish full-duplex c...
by ClockToshi
Thu Nov 23, 2017 11:41 am
Forum: ESP-IDF
Topic: Stack overflow when trying to use tasks
Replies: 5
Views: 27120

Re: Stack overflow when trying to use tasks

thank you, very informative and useful
by ClockToshi
Wed Nov 22, 2017 11:35 pm
Forum: ESP-IDF
Topic: Stack overflow when trying to use tasks
Replies: 5
Views: 27120

Re: Stack overflow when trying to use tasks

interesting. how do you check what's the used stack in a task?