![]() PB_ODR = 0x00 // Turn all pins of port D to low Program #define PB_ODR *(unsigned char*)0x5005 It was difficult for me to identify it myself.Īs per the schematic, test LED is active low, which means it will be ON when pin is LOW. Thanks to Sduino team for the schematic at, which helped me to identify what pin the test LED is connected to. So, I did not use any external LEDs here. ![]() The development board is having a built in LED connected to PB5 pin. Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.ST-Link V2 for programming STM8 and STM32 microcontrollers _header_always_inline int _inline_signbitl(long double) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:188:46: error: 'long float' is invalid _header_always_inline int _inline_isnormall(long double) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:185:47: error: 'long float' is invalid ![]() _header_always_inline int _inline_isnanl(long double) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:182:44: error: 'long float' is invalid _header_always_inline int _inline_isinfl(long double) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:179:44: error: 'long float' is invalid _header_always_inline int _inline_isfinitel(long double) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:176:47: error: 'long float' is invalid Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:133:26: error: 'long float' is invalid In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/./include/c++/v1/math.h:303: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/./include/c++/v1/stdlib.h:100: Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:168:1: error: 'long float' is invalid In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/./include/c++/v1/stdlib.h:97: In file included from /Users/user/.platformio/packages/framework-arduinoststm8/cores/sduino/Arduino.h:23: ![]() pio/build/stm8sblue/FrameworkArduino/Print.c.rel ![]() pio/build/stm8sblue/FrameworkArduino/Print-float.c.relĬompiling. pio/build/stm8sblue/FrameworkArduino/HardwareSerial.c.relĬompiling. pio/build/stm8sblue/libFrameworkArduinoVariant.libĬompiling. pio/build/stm8sblue/libFrameworkArduinoVariant.lib LDF Modes: Finder ~ chain, Compatibility ~ softĬompiling. HARDWARE: STM8S103F3P6 16MHz, 1KB RAM, 8KB Flash Executing task in folder Test STM Project: platformio run -environment stm8sblue ST STM8S103F3 Breakout Board ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |