B4R Question [SOLUTION] esp32 c3 mini uploads in arduino but not in B4R

giggetto71

Active Member
Licensed User
Longtime User
Hi,
I have a esp342 c3 mini witrh the folllowing B4R code:

B4X:
Sub Process_Globals
    Public Serial1 As Serial
    Private Timer1 As Timer
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("ESP32-C3 attivo!")
    Timer1.Initialize("pippo_Tick", 1000)
    Timer1.Enabled = True
End Sub

Private Sub pippo_Tick
    Log("tickB4R")
End Sub

when I use from arduino with the code:
C++:
void setup() {
  Serial.begin(115200);
  delay(2000);
  Serial.println("ESP32-C3 pronto!");
}

void loop() {
  delay(1000);
  Serial.println("tick");
}


1756307877822.png


while from B4R it only shows ESP-ROM:esp32-c3-api1-20210207

On Arduino side I had to set "USB CDC On boot": enabled. is that reflected to B4R once set in Arduino?
thanks
 

hatzisn

Expert
Licensed User
Longtime User
I am not familiar with esp32 c3 but in B4R, in the board selector, isn't there the setting you have mentioned? You might also need to scroll down I think.
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
I am not familiar with esp32 c3 but in B4R, in the board selector, isn't there the setting you have mentioned? You might also need to scroll down I think.

You might want to set also the same baudrate...
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
you are right...I am completely dumb...THANKS. will try and let you know..

These things happen. Do not give this kind of "credit" to yourself. :) Anyone could have done the same mistake. Let us know...
 
Last edited:
Upvote 0
Top