hi
i want to used Arduino_Core_STM32.
i installed core from
i can compile blink example and it work with Arduino ide .
but in b4r show this error in compile .
please help.
thanks
i want to used Arduino_Core_STM32.
i installed core from
GitHub - stm32duino/Arduino_Core_STM32: STM32 core support for Arduino
STM32 core support for Arduino. Contribute to stm32duino/Arduino_Core_STM32 development by creating an account on GitHub.
github.com
i can compile blink example and it work with Arduino ide .
but in b4r show this error in compile .
B4X:
B4R Version: 3.31
Parsing code. (0.00s)
Building folders structure. (0.02s)
Compiling code. (0.01s)
Building project (0.03s)
Compiling & deploying Ino project (Generic STM32F0 series - COM5) Error
Loading configuration...
Initiuserzing packages...
Preparing boards...
Verifying...
2020-08-01T04:47:54.831Z INFO c.a.u.n.HttpConnectionManager:153 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523, method=GET, request id=1819ED5899B746B1
2020-08-01T04:47:56.425Z INFO c.a.u.n.HttpConnectionManager:157 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523", method=GET, response code=404, request id=1819ED5899B746B1, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-store, must-revuserdate], Server=[nginx], Connection=[keep-userve], Vary=[Origin], Pragma=[no-cache], Expires=[0], Content-Length=[0], Date=[Sat, 01 Aug 2020 04:47:57 GMT]}
2020-08-01T04:47:56.427Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Fail to get the Vid Pid information from the builder response code=404
C:\Users\user\Desktop\B4R_GP~1\Objects\bin\sketch\B4RArduino.cpp: In member function 'void B4R::Pin::setMode(Byte)':
B4RArduino.cpp:11:3: error: 'WiringPinMode' was not declared in this scope
11 | WiringPinMode stm32_Mode;
| ^~~~~~~~~~~~~
B4RArduino.cpp:14:5: error: 'stm32_Mode' was not declared in this scope
14 | stm32_Mode = INPUT;
| ^~~~~~~~~~
B4RArduino.cpp:23:22: error: 'stm32_Mode' was not declared in this scope
23 | pinMode(PinNumber, stm32_Mode);
| ^~~~~~~~~~
C:\Users\user\Desktop\B4R_GP~1\Objects\bin\sketch\B4RCore.cpp: In static member function 'static B4R::B4RString* B4R::Common::NumberFormat(Double, byte, byte)':
B4RCore.cpp:396:36: error: call of overloaded 'print(Double&, byte&)' is ambiguous
396 | pm.print(Number, MaximumFractions);
| ^
In file included from C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Stream.h:26,
from C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/HardwareSerial.h:29,
from C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/WSerial.h:5,
from C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/wiring.h:47,
from C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Arduino.h:36,
from C:\Users\user\Desktop\B4R_GP~1\Objects\bin\sketch\B4RDefines.h:8,
from C:\Users\user\Desktop\B4R_GP~1\Objects\bin\sketch\B4RCore.cpp:1:
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:81:12: note: candidate: 'size_t Print::print(unsigned char, int)'
81 | size_t print(unsigned char, int = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:82:12: note: candidate: 'size_t Print::print(int, int)'
82 | size_t print(int, int = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:83:12: note: candidate: 'size_t Print::print(unsigned int, int)'
83 | size_t print(unsigned int, int = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:84:12: note: candidate: 'size_t Print::print(long int, int)'
84 | size_t print(long, int = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:85:12: note: candidate: 'size_t Print::print(long unsigned int, int)'
85 | size_t print(unsigned long, int = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:86:12: note: candidate: 'size_t Print::print(double, int)'
86 | size_t print(double, int = 2);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:103:10: note: candidate: 'void Print::print(int64_t, uint8_t)'
103 | void print(int64_t, uint8_t = DEC);
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Print.h:105:10: note: candidate: 'void Print::print(uint64_t, uint8_t)'
105 | void print(uint64_t, uint8_t = DEC);
| ^~~~~
exit status 1
please help.
thanks