FwLib_STC8
FwLib_STC8 copied to clipboard
PlatformIO编译问题
include "fw_hal.h"后编译空的main()报错
- MCU: STC8G1K08
- OS: Windows11 23H2
- VSCODE: 1.92.2
- PlatformIO: Core 6.1.15
platformio.ini
[env:STC8G1K08]
platform = intel_mcs51
board = STC8G1K08
build_flags =
-D__SDCC_SYNTAX_FIX
-D__CONF_FOSC=26000000UL
-D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08
-D__CONF_IRCBAND=0x03
-D__CONF_VRTRIM=0x19
-D__CONF_IRTRIM=0x28
-D__CONF_LIRTRIM=0x00
main.c
#include "fw_hal.h"
int main(void)
{
return 0;
}
terminal output
* Executing task: C:\Users\Asuka\.platformio\penv\Scripts\platformio.exe run --verbose --environment STC8G1K08
Processing STC8G1K08 (platform: intel_mcs51; board: STC8G1K08; build_flags: -D__SDCC_SYNTAX_FIX, -D__CONF_FOSC=26000000UL, -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08, -D__CONF_IRCBAND=0x03, -D__CONF_VRTRIM=0x19, -D__CProcessing STC8G1K08 (platform: intel_mcs51; board: STC8G1K08; build_flags: -D__SDCC_SYNTAX_FIX, -D__CONF_FOSC=26000000UL, -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08, -D__CONF_IRCBAND=0x03, -D__CONF_VRTRIM=0x19, -D__CONF_IRTRIM=0x28, -D__CONF_LIRTRIM=0x00)
-----------------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/intel_mcs51/STC8G1K08.html
PLATFORM: Intel MCS-51 (8051) (2.2.0) > Generic STC8G1K08
HARDWARE: STC8G1K08 11MHz, 1.25KB RAM, 8KB Flash
PACKAGES:
- toolchain-sdcc @ 1.40400.0 (4.4.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FwLib_STC8 @ 1.0 (License: Unknown, Path: D:\APX20XInit\lib\FwLib_STC8)
Building in release mode
sdcc -o .pio\build\STC8G1K08\src\main.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Iinclude -Isrc -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src src\main.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_adc.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_adc.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_i2c.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_i2c.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_mem.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_mem.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_spi.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_spi.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_sys.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_sys.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_tim.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_tim.c
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_uart.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_uart.c
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_hal.h:18,
from src\main.c:19:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_adc.h:18,
from lib\FwLib_STC8\src\fw_adc.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_i2c.h:18,
from lib\FwLib_STC8\src\fw_i2c.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_spi.h:18,
from lib\FwLib_STC8\src\fw_spi.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_sys.h:18,
from lib\FwLib_STC8\src\fw_sys.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_mem.h:18,
from lib\FwLib_STC8\src\fw_mem.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_uart.h:18,
from lib\FwLib_STC8\src\fw_uart.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_tim.h:18,
from lib\FwLib_STC8\src\fw_tim.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_usb.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=26000000UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\flib\FwLib_STC8\src\fw_sys.c:45: warning 88: cast of LITERAL value to 'generic' pointer
w_usb.c
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
sdcc -o .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_util.rel -c --std-sdcc11 --opt-code-size --peep-return -mmcs51 -DF_CPU=11059200L -DHEAP_SIZE=128 -DPLATFORMIO=60115 -DSTC8G1KXX -DSTC8G1K08 -DNAKED_ARCH_MCS51 -DNAKED_MCS51_STC8G1KXX -D__SDCC_SYNTAX_FIX -D__CONF_FOSC=2600000lib\FwLib_STC8\src\fw_sys.c:47: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
0UL -D__CONF_MCU_MODEL=MCU_MODEL_STC8G1K08 -D__CONF_IRCBAND=0x03 -D__CONF_VRTRIM=0x19 -D__CONF_IRTRIM=0x28 -D__CONF_LIRTRIM=0x00 -Ilib\FwLib_STC8\include -Ilib\FwLib_STC8\src lib\FwLib_STC8\src\fw_util.c
lib\FwLib_STC8\src\fw_tim.c:97: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_tim.c:106: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_tim.c:116: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_usb.h:18,
from lib\FwLib_STC8\src\fw_usb.c:1:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
In file included from lib\FwLib_STC8\include/fw_reg_stc8g.h:4,
from lib\FwLib_STC8\include/fw_conf.h:155,
from lib\FwLib_STC8\include/fw_util.h:18,
from lib\FwLib_STC8\src\fw_util.c:15:
lib\FwLib_STC8\include/fw_reg_base.h:21:7: warning: #warning unrecognized compiler
21 | # warning unrecognized compiler
| ^~~~~~~
lib\FwLib_STC8\src\fw_i2c.c:21: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:22: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:23: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:24: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:25: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:28: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:29: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:31: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:39: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:40: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:41: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:42: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:43: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:44: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:45: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:46: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:49: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:50: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:57: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:60: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:68: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:69: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:70: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:71: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:72: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:73: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:74: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:77: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:78: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:80: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:88: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:89: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:90: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:91: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:92: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:93: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:94: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
sdar rc .pio\build\STC8G1K08\libcdb\libFwLib_STC8.lib .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_adc.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_i2c.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_mem.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_spi.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_sys.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_tim.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_uart.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_usb.rel .pio\build\STC8G1K08\libcdb\FwLib_STC8\fw_util.rel
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:95: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:96: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:97: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:100: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:101: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:104: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:108: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
lib\FwLib_STC8\src\fw_i2c.c:111: warning 88: cast of LITERAL value to 'generic' pointer
from type 'const-unsigned-int literal'
to type 'volatile-unsigned-char generic* fixed'
*** [.pio\build\STC8G1K08\libcdb\libFwLib_STC8.lib] Error 3221225595
============================================================================================ [FAILED] Took 4.63 seconds ============================================================================================
* The terminal process "C:\Users\Asuka\.platformio\penv\Scripts\platformio.exe 'run', '--verbose', '--environment', 'STC8G1K08'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.