Search found 16 matches

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

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

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

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?
by coollofty
Tue Feb 19, 2019 2:33 pm
Forum: General Discussion
Topic: Can LuaJIT be build for ESP32?
Replies: 5
Views: 6881

Can LuaJIT be build for ESP32?

I didn't succeeded, and I cannot find any useful stuff on Google, why?
by coollofty
Tue Feb 19, 2019 10:54 am
Forum: ESP-ADF
Topic: Use multiple sample rates simultaneously
Replies: 1
Views: 3423

Re: Use multiple sample rates simultaneously

I found a solution:

Code: Select all

	audio_element_info_t info;
	audio_element_getinfo(i2s_stream_reader, &info);
	info.sample_rates = 16000, info.channels = 1;
	audio_element_setinfo(i2s_stream_reader, &info);
by coollofty
Tue Feb 19, 2019 9:08 am
Forum: ESP-ADF
Topic: Use multiple sample rates simultaneously
Replies: 1
Views: 3423

Use multiple sample rates simultaneously

esp_audio_cfg_t cfg = { .in_stream_buf_size = 10 * 1024, .out_stream_buf_size = 6 * 1024, .evt_que = NULL, .resample_rate = 0, .hal = NULL, }; audio_hal_codec_config_t audio_hal_codec_cfg = AUDIO_HAL_ES8388_DEFAULT(); audio_hal_codec_cfg.i2s_iface.samples = AUDIO_HAL_16K_SAMPLES; cfg.hal = audio_ha...