Other B4R v1.80 BETA is available for download

Erel

B4X founder
Staff member
Licensed User
Longtime User
New features and improvements:
  • Support for Arduino IDE 1.8.0 (https://www.arduino.cc/en/Main/Software).
  • Auto-formatting feature as in the other B4X IDEs.
  • WiFiSSLSocket (ESP8266) - Similar to WiFiSocket for SSL connections.
  • AsyncStream.MaxBufferSize field. Allows changing the size limit of the internal buffer. Note that #StackBufferSize must be large enough to hold the data. The default value is 100.
  • Other minor improvements.

Arduino 1.8.0+ is required.

The beta version can be downloaded here: www.b4x.com/b4r/files/beta.exe
 
Last edited:

Lee Ingram

Member
Licensed User
Longtime User
New features and improvements:
  • Support for Arduino IDE 1.8.0 (https://www.arduino.cc/en/Main/Software).
  • Auto-formatting feature as in the other B4X IDEs.
  • WiFiSSLSocket (ESP8266) - Similar to WiFiSocket for SSL connections.
  • AsyncStream.MaxBufferSize field. Allows changing the size limit of the internal buffer. Note that #StackBufferSize must be large enough to hold the data. The default value is 100.
  • Other minor improvements.

It is recommended to upgrade to Arduino 1.8.0. B4R v1.80 will work with older versions but the boards information will be extracted from the boards.txt file instead of the IDE.
The beta version can be downloaded here: www.b4x.com/b4r/files/beta.exe
toda
 
Upvote 0

Hans- Joachim Krahe

Active Member
Licensed User
Longtime User
its great, Erel. I Transfered 512kb blocks at stack 10000 and buffer 1000 without error . astream.WaitForMoreDataDelay = 2. About 5 times faster, than before. With stack 10.000.and buffer 3000 and randomfile 200.000 and 2048kb blocks, I Get about 12kb in 1 sec = about 100.000 baud !!!!

thankU
 
Last edited:
Upvote 0

js1234

Member
Licensed User
Longtime User
I try one of example and get:

B4R version: 1.80 BETA #1
Parsing code. (0.00s)
Compiling code. (0.52s)
Building project (1.17s)
Compiling & deploying Ino project (WeMos D1 R2 & mini - COM8) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Board d1_mini (platform esp8266, package esp8266) is unknown


?
 
Upvote 0

js1234

Member
Licensed User
Longtime User
I have Arduino 1.8.0

p.s.
How to link B4R to Arduino version 1.6.5 wich is also installed on my PC?
(Yes I can uninstal version 1.8.0. but is possible B4R to link to another directory where 1.6.5 is installed?)
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Yes I can uninstal version 1.8.0. but is possible B4R to link to another directory where 1.6.5 is installed?
No need to uninstall. Configure B4R to use the correct version under Tools - Configure Paths.

Does B4R also support Raspberry PI 3?
No. B4R works with microcontrollers. You can use B4J to program the RPi (also B4A with the new Android Things framework).
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
another directory where 1.6.5 is installed?
I think having two installations of Arduino is not a very good idea. There is just one Arduino15 folder (huge, 1.5 GB for me, haven't seen it documented) I think common to both installations.
 
Upvote 0

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi,

[SOLVED] My Bad = forgot to delete Log() entry in sub ClockTimer_Tick.

in beta #2 receiving error when compiling attached project - installed Arduino 1.8.1:
B4X:
B4R version: 1.80 BETA #2
Parsing code.  (0.00s)
Compiling code.  (0.16s)
Building project  (0.10s)
Compiling & deploying Ino project (WeMos D1(Retired) - COM5)  Error
B4R line: 60
Log()
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
sketch\b4r_main.cpp: In static member function 'static void b4r_main::_clocktimer_tick()':
b4r_main.cpp:123: error: expected primary-expression before ')' token
B4R::Common::LogHelper(0,);
  ^
exit status 1

Note
Strange oberservation = After installing Arduino 1.8.1, a folder <users>\Local\Arduino15\ is created which has its own esp8266 and other libraries in addition to the already installed libraries in the Arduino sketchbook folder. This results in having two libs for the esp8266 and others.
After deleting the libs in <users>\Local\Arduino15\ could not compile anymore, so restored and deleted the ones related in the sketchfolder.
 

Attachments

  • thime.ZIP
    2.7 KB · Views: 361
Last edited:
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
AsyncStream.MaxBufferSize field. Allows changing the size limit of the internal buffer.

I had problems with buffer size and I had to edit the library, now it's much easier to work with.
Great work Erel, Thanks.
 
Upvote 0
Top