Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with compile version 0.9 #10

Open
sp2ong opened this issue Sep 23, 2022 · 3 comments
Open

Problem with compile version 0.9 #10

sp2ong opened this issue Sep 23, 2022 · 3 comments

Comments

@sp2ong
Copy link

sp2ong commented Sep 23, 2022

Hi,

Can you write which version of PlatformIO IDE you are using in Visual Studio Code?

I used the latest version of PlatformIO IDE v2.5.4 and when I try to compile your code from github v0.9 I have a lot of errors during compilation and as a result the compilation does not finish

src/I2S.cpp:16:14: error: 'RTC_MODULE_TAG' was not declared in this scope
src/I2S.cpp:132:10: error: 'i2s_read_bytes' was not declared in this scope
src/I2S.cpp:137:3: error: 'i2s_write_bytes' was not declared in this scope

'I2S_COMM_FORMAT_I2S_MSB' is deprecated [-Wdeprecated-declarations]

src/main.cpp:2285:27: error: cannot convert 'esp_interface_t' to 'wifi_interface_t' in assignment
src/main.cpp:2358:27: error: cannot convert 'esp_interface_t' to 'wifi_interface_t' in assignment

*** [.pio/build/nodemcu-32s/src/I2S.cpp.o] Error 1
*** [.pio/build/nodemcu-32s/src/main.cpp.o] Error 1

@sp2ong
Copy link
Author

sp2ong commented Sep 23, 2022

When I upload your complied firmware M17AG_ADC_SH1106_V09.bin

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5900
entry 0x400806ac
v_ref routed to 1.24V

M17 Analog Gateway V0.9
Push BOOT after 3sec for Factory Default config.
Default configure mode!
Default configure!
Create CODEC2_1600 : nsam=320 ,nbit=64 ,nbyte=8
Create CODEC2_3200 : nsam=160 ,nbit=64 ,nbyte=8
Task DSP has been start
Task Network has been start
WiFi Station Only mode.
Current protocol code is 7
Protocol is WIFI_PROTOCOL_11B
Protocol is WIFI_PROTOCOL_11G
Protocol is WIFI_PROTOCOL_11N
WiFi Connecting to APRSTH
..............................Failed. Will retry...

but never I see in my network AP with name "M17AGate" so I can not connect to ESP32

@sp2ong
Copy link
Author

sp2ong commented Sep 23, 2022

It is look compiled firmware has set up only STATION Mode not have set AP Mode for this reason ESP32 try to connect to APRSTH AP so we need configure own local AP with name APRSTH and passowrd "aprsthnetwork" to allow connect ESP32 and obtain IP adress and after this we can reconfigure ESP32 to own network. It maybe better will be that compiled firmware should be has active AP Mode with name "M17Agate"

@jumbo5566
Copy link

AP mode is don't work, Just Let It RUN Client Mode。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants