Search found 15 matches

by maxzen
Fri Sep 21, 2018 11:41 am
Forum: General Discussion
Topic: softap channel selection
Replies: 1
Views: 3893

Re: softap channel selection

No help?
by maxzen
Fri Sep 21, 2018 11:40 am
Forum: General Discussion
Topic: eth / wifi bridge example
Replies: 2
Views: 5006

Re: eth / wifi bridge example

Going on with the bridge example, I added a lwip netif + dchp client || dhcp server + echo server and all is running What does not work is mdns, looking at the code it does: for (i=0; i<TCPIP_ADAPTER_IF_MAX; i++) { if (!tcpip_adapter_get_ip6_linklocal(i, &tmp_addr6) && !_ipv6_address_is_zero(tmp_add...
by maxzen
Thu Sep 13, 2018 7:49 am
Forum: General Discussion
Topic: eth / wifi bridge example
Replies: 2
Views: 5006

Re: eth / wifi bridge example

can anyone help me?
by maxzen
Wed Sep 12, 2018 9:12 am
Forum: General Discussion
Topic: softap channel selection
Replies: 1
Views: 3893

softap channel selection

I modified this example to change the wifi channel (I am using it to connect two pc with esp as ap/eth bridge) static void initialise_wifi(void) { wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK(esp_wifi_init_internal(&cfg)); ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_RAM...
by maxzen
Tue Sep 11, 2018 12:43 pm
Forum: General Discussion
Topic: local makefile/kconfig
Replies: 1
Views: 3073

local makefile/kconfig

Hello all,

I used kconfig to set something in my project, but I won a complete compilation

I added some CFLAGS += -Dxxxx in makefile, but also with this I got a complete compilation

I believe that both approaches change the root of the compilation tree, can I have a "local" kconfig/makefile?
by maxzen
Thu Sep 06, 2018 10:27 am
Forum: General Discussion
Topic: eth / wifi bridge example
Replies: 2
Views: 5006

eth / wifi bridge example

Hello all I am looking at eth2wifi example that I found here I have some questions about it when the first eth packed is received, they start wifi and set its mac address to the mac address of the sender. Why? when a station connects to espAP, they register a callback: this is done for every connect...
by maxzen
Wed Jun 20, 2018 12:49 pm
Forum: Hardware
Topic: power down during erase
Replies: 1
Views: 3001

power down during erase

we are using a esp32-wrover, our device can be disconnected at any time, what happens if the power is lost during erase? As an example, some code is writing to nvs and, while the system is erasing a block to make room, the user disconnect the device from the power. For sure some data will be lost, b...
by maxzen
Tue Jun 19, 2018 2:19 pm
Forum: General Discussion
Topic: SMALL_TEST in FreeRTOSConfig.h
Replies: 3
Views: 4839

Re: SMALL_TEST in FreeRTOSConfig.h

Usually I use freertos with cmsis-rtos interface, so I use 7 priorities because cmsis-rtos has such number, but I use only two of them: watchdog has the higher pri and all the other tasks have the same pri I agree with the comment: too much priorities can be inefficient, so I would like to have the ...
by maxzen
Tue Jun 19, 2018 7:42 am
Forum: General Discussion
Topic: SMALL_TEST in FreeRTOSConfig.h
Replies: 3
Views: 4839

SMALL_TEST in FreeRTOSConfig.h

Looking at FreeRTOSConfig.h, I see:

Code: Select all

/* This has impact on speed of search for highest priority */
#ifdef SMALL_TEST
#define configMAX_PRIORITIES			( 7 )
#else
#define configMAX_PRIORITIES			( 25 )
#endif
How can I define/undefine SMALL_TEST?
by maxzen
Fri Jun 15, 2018 8:54 am
Forum: ESP-IDF
Topic: nvs program and read
Replies: 2
Views: 4714

Re: nvs program and read

I thought that the wrover kit was not working properly, but I just discovered that it's my ict, so now I must develop on a linux pc and use com ports on a windows pc. This is what I get: Immagine.png I never updated ota, so it is correct to fall back to factory, but it seems that the partition table...