@tfmccarthy Sorry, I am not following. It's pretty standard GCC and make stuff with some extra steps to deal with the executable creation.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@tfmccarthy I am no longer able to send PM's (@dronebot-workshop) to you so we will need to continue here.
As I suspected, that beta board URL caused the problem. Here is the fix according to the guy I think is the top Arduino support guy.
It looks like a cache issue.
Yes, very likely.
My problem is that I thought the board dictated what appeared in the Tools menu. But I had 2 sketches that used the same board but different Tool menus.
That is not possible, unless it was two VERSIONS, i.e one beta one not.
I was able to replicate the issue by simply switching the URLs until I loaded the Adafruit sketch and then, in a second window, loaded the DBWS sketch (the had the ZigbeeMode) and suddenly, the item disappeared!
Not sure what that means but at this point do we care since we know the beta URL is the root cause?
The ZigbeeMode only matters because it's that causes the compilation failure. I'm not interested in ZigbeeMode. I want to know why the sketch fails to compile, when it should compile.
Because the BETA had a bug, it is now fixed in the official URL, I tested several boards and sketches.
Now I'm not sure I can get it back.
Don't bother, we know now what happened. We need to post in type about a foot high what the OFFICIAL URL's are for each board. I am sick of this.
If I can't I'll move on to what the DBWES sketch is erratic.
Don't understand that, probably don't need to.
As far as I am concerned, this issue is closed.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
I dunno what the deal is with DM. but don't need to.
That is not possible, unless it was two VERSIONS, i.e one beta one not.
Don't understand that either but doesn't matter.
Don't bother, we know now what happened. We need to post in type about a foot high what the OFFICIAL URL's are for each board. I am sick of this.
I'd love to see such a list but probably won't.
I can now figure out why the DBWS sketch isn't working.
Thanks for your help.
@tfmccarthy Which one is that so I can test it as well in order to determine if it's the sketch or your environment.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Today was the day that the licenses for all the forum Add-ons expired, which is why you couldn't send PMs. I have purchased and applied the new licenses, and it should be working now.
😎
Bill
"Never trust a computer you can’t throw out a window." — Steve Wozniak
@dronebot-workshop Timing is everything
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@tfmccarthy What are these?
Espressif URL with the Arduino URL
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
What are these?
Espressif URL with the Arduino URL
My original URL was from Espressif
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
which you tell me is a beta site.
The other is the URL you gave me
https://downloads.arduino.cc/packages/package_index.json
which is clearly an Arduino site.
@tfmccarthy I think I understand your confusion. The URL I gave you as the 'official espressif URL is
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Notice it starts with https://espressif, that should be fairly clear. Then notice in the middle it says arduino-esp32 this may be confusing, but what it signifies is this is the arduino compatible version of the espressif esp32 board data (1,141 references to Zigbee).
Check out the following https://espressif.github.io/arduino-esp32/
and the following https://github.com/espressif/arduino-esp32 now notice the entry boards.txt 5 files from the bottom last updated 'last week'. Click that boards.txt link, now on the right side click RAW. You are now looking at the actual boards data. If I search for the Generic dev board using this exact string 'ESP32 Dev Module' you should recognize the tools menu data and just before the end is this
esp32.menu.ZigbeeMode.default=Disabled esp32.menu.ZigbeeMode.default.build.zigbee_mode= esp32.menu.ZigbeeMode.default.build.zigbee_libs= esp32.menu.ZigbeeMode.zczr=Zigbee ZCZR (coordinator/router) esp32.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR esp32.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api_zczr -lesp_zb_cli_command -lzboss_stack.zczr -lzboss_port
I am not sure if I can explain the relationship correctly, but the esp32 and a few other (maybe all) Espressif boards as well as some Pi boards and maybe more all are collectively known as 'Arduino when it comes to the IDE'. I am not sure I explained that well, but at the risk of some wordsmith contradicting me it's all one big family called Arduino.
I hope that helps.
BTW, what is the URL you thought (and maybe is) was the 'official' URL?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@tfmccarthy Sorry, I did not give you
https://downloads.arduino.cc/packages/package_index.json
that I know of, my boards entry is
https://espressif.github.io/arduino-esp32/package_esp32_index.json
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@tfmccarthy Remember when I gave you my entire additional boards entries, here is a screen grab, have a look at the second line that is the esp32 entry. It is
https://espressif.github.io/arduino-esp32/package_esp32_index.json
NOT
https://downloads.arduino.cc/packages/package_index.json
as you said.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@tfmccarthy I was going to say that the actual boards content while interesting wasn't very useful, but I just thought of a use. If you were looking for all the boards that had a certain feature or spec you could just do a text search of the boards.txt file. Things like PSRAM, DFU, and I am sure others will think of more.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.