Closed Cipher2600 closed 8 months ago
Also, the multiple libraries issue has been resolved (both are identical) and it still throws this error.
I figured it out. The board version itself from ExpressIf was incorrect. Somehow the alpha version was downloaded and it caused all kinds of issues. It will compile just fine and upload on the "B" board but the "A" board code would get finicky.
When flashing the code to Board "A" using Arduino IDE, I get the following errors. I have checked to ensure the proper versions of all libraries are being used. I am relatively new with this and am having issues determining the next steps to fix.
/Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino: In function 'void wigle_load_history()': /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino:360:52: warning: narrowing conversion of '(int)filename_id.String::toInt()' from 'int' to 'long unsigned int' [-Wnarrowing] 360 | wigle_file_reference = (wigle_file){.fid = (int) filename_id.toInt(), .fsize = (int) file_size.toInt(), .discovered_gps = (int) discovered_gps.toInt(), .total_gps = (int) total_gps.toInt(), .wait = is_waiting}; | ^
~~~~~~~~ /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino:360:88: warning: narrowing conversion of '(int)file_size.String::toInt()' from 'int' to 'long unsigned int' [-Wnarrowing] 360 | wigle_file_reference = (wigle_file){.fid = (int) filename_id.toInt(), .fsize = (int) file_size.toInt(), .discovered_gps = (int) discovered_gps.toInt(), .total_gps = (int) total_gps.toInt(), .wait = is_waiting}; | ^~~~~~~ /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino:360:131: warning: narrowing conversion of '(int)discovered_gps.String::toInt()' from 'int' to 'long unsigned int' [-Wnarrowing] 360 | wigle_file_reference = (wigle_file){.fid = (int) filename_id.toInt(), .fsize = (int) file_size.toInt(), .discovered_gps = (int) discovered_gps.toInt(), .total_gps = (int) total_gps.toInt(), .wait = is_waiting}; | ^~~~~~~~ /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino:360:174: warning: narrowing conversion of '(int)total_gps.String::toInt()' from 'int' to 'long unsigned int' [-Wnarrowing] 360 | wigle_file_reference = (wigle_file){.fid = (int) filename_id.toInt(), .fsize = (int) file_size.toInt(), .discovered_gps = (int) discovered_gps.toInt(), .total_gps = (int) total_gps.toInt(), .wait = is_waiting}; | ^~~~~~~ /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino: In function 'boolean wigle_upload(String)': /Users/anthonymonge/Downloads/wardriver_rev3-main/A/A.ino:399:19: error: 'esp_random' was not declared in this scope; did you mean 'srandom'? 399 | boundary.concat(esp_random()); | ^~~~~~ | srandom Multiple libraries were found for "SD.h" Used: /Users/anthonymonge/Library/Arduino15/packages/esp32/hardware/esp32/3.0.0-alpha2/libraries/SD Not used: /Users/anthonymonge/Library/Arduino15/libraries/SD exit status 1Compilation error: 'esp_random' was not declared in this scope; did you mean 'srandom'?