Search found 9 matches

by ClockToshi
Mon Sep 23, 2024 7:52 pm
Forum: General Discussion
Topic: Support for FreeRTOS-MPU functions in ESP32-S3
Replies: 3
Views: 2456

Re: Support for FreeRTOS-MPU functions in ESP32-S3

@ESP_Sprite Do you know if there is currently a stable/non experimental/supported way on esp32-s3 to take advantage of the separation features? For example, say I want to run a complicated parser isolated, at the moment all I could find was the esp privilege Separation framework which has not been u...
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: 3005

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: 1099

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: 1116

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: 5826

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: 3135

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: 3515

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: 29849

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: 29849

Re: Stack overflow when trying to use tasks

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