Search found 13 matches

by coollofty
Tue May 14, 2019 10:27 am
Forum: ESP-ADF 中文讨论版
Topic: 如何使用pipeline录制两种不同的格式?
Replies: 1
Views: 203

如何使用pipeline录制两种不同的格式?

//WAV audio_pipeline_cfg_t pipeline_wav = DEFAULT_AUDIO_PIPELINE_CONFIG(); wav_encoder_cfg_t wav_enc_cfg = DEFAULT_WAV_ENCODER_CONFIG(); wavRecorder = audio_pipeline_init(&pipeline_wav); audio_pipeline_register(wavRecorder, i2s_stream_reader, "i2s"); audio_pipeline_register(wavRecorder, wav_encoder...
by coollofty
Tue May 14, 2019 10:20 am
Forum: ESP-ADF 中文讨论版
Topic: 请问如何设置录音时的音量?
Replies: 1
Views: 161

请问如何设置录音时的音量?

audio_pipeline_register(wavRecorder, i2s_stream_reader, "i2s"); audio_pipeline_register(wavRecorder, wav_encoder_init(&wav_enc_cfg), "wav"); audio_pipeline_register(wavRecorder, fs_stream_writer, "file"); audio_pipeline_link(wavRecorder, (const char *[]) {"i2s", "wav", "file"}, 3); 这样注册了pipeline,然后p...
by coollofty
Fri Mar 22, 2019 6:40 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 778

Re: WiFi连接时,总是一次成功一次失败

littlesky wrote:
Thu Mar 21, 2019 9:57 am
coollofty wrote:
Tue Mar 19, 2019 2:29 am
基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
请问你使用的 IDF 是哪个版本的?请使用最新的 master 分支测试一下有没有问题。
已经是使用的最新版本的了。就是在出现这个问题的时候,我就git pull+git submodule update过了
by coollofty
Tue Mar 19, 2019 2:29 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 778

WiFi连接时,总是一次成功一次失败

基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
by coollofty
Tue Mar 19, 2019 2:17 am
Forum: ESP-IDF 中文讨论版
Topic: 空间是足够的,但是nvs写入失败
Replies: 2
Views: 1161

空间是足够的,但是nvs写入失败

首先贴出我的分区表代码: nvs, data, nvs, , 0xC000 otadata, data, ota, , 0x2000 phy_init, data, phy, , 0x1000 coredump, data, coredump, , 0x10000 nvs_key, data, nvs_keys, , 0x1000 factory, app, factory, , 0x1D8000 ota_0, app, ota_0, , 0x1D8000 写入使用的是examples/storage/nvs_rw_blob里面的代码,修改了需要写入的内容而来,我写了一个17,368字节的bl...
by coollofty
Sat Mar 09, 2019 8:20 am
Forum: General Discussion
Topic: ESP32 socket always failed
Replies: 0
Views: 244

ESP32 socket always failed

My ESP32-Lyrat can connect to the WiFi, but can't access the Internet or the LAN, other PC and mobile devices connected to the same WiFi are all OK. I flashed the examples/cli app, then power it, below is the relevant logs when it run and play a URL: I (1388) CONSOLE_EXAMPLE: sdcard mounting... I (1...
by coollofty
Fri Mar 08, 2019 3:12 pm
Forum: General Discussion
Topic: Can LuaJIT be build for ESP32?
Replies: 5
Views: 595

Re: Can LuaJIT be build for ESP32?

I found the Sol2 on Github, it is great! Thanks :)
by coollofty
Thu Mar 07, 2019 1:05 pm
Forum: General Discussion
Topic: nvs_set_blob sayed value to long but the space is enough
Replies: 0
Views: 177

nvs_set_blob sayed value to long but the space is enough

nvs_set_blob returned 0x110E when blob size is 17473 bytes. My partition table: # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild nvs, data, nvs, , 0xC000 otadata, data, ota, , 0x2000 phy_init, d...
by coollofty
Wed Feb 20, 2019 5:46 am
Forum: General Discussion
Topic: Can LuaJIT be build for ESP32?
Replies: 5
Views: 595

Re: Can LuaJIT be build for ESP32?

Yes, not fast enough, and troublesome(I like ffi) to bind C function
by coollofty
Tue Feb 19, 2019 2:35 pm
Forum: General Discussion
Topic: where is the GPIO37 and GPIO38?
Replies: 1
Views: 329

where is the GPIO37 and GPIO38?

I need an 8-channel ADC, just GPIO32-39 can meet my needs, but GPIO37 and GPIO38 can't be found on the documentation. Where is the gpio 37 and 38?

Go to advanced search