I have used B4A and B4J for years but I started on B4R yesterday. I have written microprocessor code but nothing for Arduino and I am going straight to ESP32. I have run the base B4R code (WiFi example) successfully on my ESP32. My next attempt is the ESP Classic Bluetooth wrap-test example here. The compilation cycle starts off fine and essentially completes, but at the end I get this log message . . .
Edit : Just noticed that in the "Build Configurations" menu the entry for Package is "B4RDev" and is greyed out. That does not look right, but have not found out why.
Edit again : Think I have found the answer in another forum post - the Arduino compiler will not tolerate spaces in file (or folder?) names. Checking that out now.
Edit again again : Yes - that was the problem. Now get a "Sketch too big" error, but that will have to wait for tomorrow. And the B4RDev package name is still greyed out and that still seems unusual.
I guess that this is some basic newbie oversight that I have missed, but I am conscious that the example code is dated May 2018 and I might be missing something that needs to be changed. Any pointers would be appreciated....
Wrote 1054784 bytes (672110 compressed) at 0x00010000 in 11.2 seconds (751.8 kbit/s).
Hash of data verified.
Hard resetting via RTS pin...
New upload port: COM5 (serial)
[IDE message - 9:19:53]
An error occurred.
The directory name is invalid
Edit : Just noticed that in the "Build Configurations" menu the entry for Package is "B4RDev" and is greyed out. That does not look right, but have not found out why.
Edit again : Think I have found the answer in another forum post - the Arduino compiler will not tolerate spaces in file (or folder?) names. Checking that out now.
Edit again again : Yes - that was the problem. Now get a "Sketch too big" error, but that will have to wait for tomorrow. And the B4RDev package name is still greyed out and that still seems unusual.
Last edited: