Rovki писал(а): 13 янв 2023, 18:33
Так ошибка то какая?
[spoiler]In file included from c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/RT_HW_BASE.h:123:0,
from C:\Users\cudla\AppData\Local\Temp\flprog\pr1\pr1.ino:1:
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:529:25: error: stray '\320' in program
if(bus==0) {LinkI2CS.timеOut=vTm;}
^
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:529:26: error: stray '\265' in program
if(bus==0) {LinkI2CS.timеOut=vTm;}
^
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:532:26: error: stray '\320' in program
if(bus==1) {LinkI2CS1.timеOut=vTm;}
^
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:532:27: error: stray '\265' in program
if(bus==1) {LinkI2CS1.timеOut=vTm;}
^
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cCheckBusy(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:325:16: error: 'LinkI2S1' was not declared in this scope
if(bus==1) {if(LinkI2S1.busy==11){return 1;} return 0;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:325:16: note: suggested alternative: 'LinkI2CS1'
if(bus==1) {if(LinkI2S1.busy==11){return 1;} return 0;}
^~~~~~~~
LinkI2CS1
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cSetBusy(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:343:17: error: 'LinkI2C0' was not declared in this scope
if(bus==0) {if(!LinkI2C0.busy==0){LinkI2C0.busy=10;} if(LinkI2C0.busy!=10){return 0;}; return 1;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:343:17: note: suggested alternative: 'LinkI2CS'
if(bus==0) {if(!LinkI2C0.busy==0){LinkI2C0.busy=10;} if(LinkI2C0.busy!=10){return 0;}; return 1;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:343:57: error: 'LinkI2C0' was not declared in this scope
if(bus==0) {if(!LinkI2C0.busy==0){LinkI2C0.busy=10;} if(LinkI2C0.busy!=10){return 0;}; return 1;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:343:57: note: suggested alternative: 'LinkI2CS'
if(bus==0) {if(!LinkI2C0.busy==0){LinkI2C0.busy=10;} if(LinkI2C0.busy!=10){return 0;}; return 1;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:346:17: error: 'LinkI2C1' was not declared in this scope
if(bus==1) {if(!LinkI2C1.busy==0){LinkI2C1.busy=11;} if(LinkI2C1.busy!=11){return 0;}; return 1;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:346:17: note: suggested alternative: 'LinkI2CS'
if(bus==1) {if(!LinkI2C1.busy==0){LinkI2C1.busy=11;} if(LinkI2C1.busy!=11){return 0;}; return 1;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:346:57: error: 'LinkI2C1' was not declared in this scope
if(bus==1) {if(!LinkI2C1.busy==0){LinkI2C1.busy=11;} if(LinkI2C1.busy!=11){return 0;}; return 1;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:346:57: note: suggested alternative: 'LinkI2CS'
if(bus==1) {if(!LinkI2C1.busy==0){LinkI2C1.busy=11;} if(LinkI2C1.busy!=11){return 0;}; return 1;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'void RT_HW_BASE::i2cClearBusy(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:361:13: error: 'LinkI2C0' was not declared in this scope
if(bus==0) {LinkI2C0.busy=0;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:361:13: note: suggested alternative: 'LinkI2CS'
if(bus==0) {LinkI2C0.busy=0;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:364:13: error: 'LinkI2C1' was not declared in this scope
if(bus==1) {LinkI2C1.busy=0;}
^~~~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:364:13: note: suggested alternative: 'LinkI2CS'
if(bus==1) {LinkI2C1.busy=0;}
^~~~~~~~
LinkI2CS
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'void RT_HW_BASE::i2cSetTimeOut(uint32_t, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:529:22: error: 'struct RT_HW_STRUCT_I2C' has no member named 'tim'
if(bus==0) {LinkI2CS.timеOut=vTm;}
^~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:532:23: error: 'struct RT_HW_STRUCT_I2C' has no member named 'tim'
if(bus==1) {LinkI2CS1.timеOut=vTm;}
^~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'void RT_HW_BASE::i2cSetClock(uint32_t, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:753:12: error: 'WireS' was not declared in this scope
if(bus==0){WireS.setClock(speed);}
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:753:12: note: suggested alternative: 'Wire'
if(bus==0){WireS.setClock(speed);}
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:756:12: error: 'WireS1' was not declared in this scope
if(bus==1){WireS1.setClock(speed);}
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:756:12: note: suggested alternative: 'Wire'
if(bus==1){WireS1.setClock(speed);}
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'void RT_HW_BASE::i2cBeginTransmission(uint8_t, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:777:12: error: 'WireS' was not declared in this scope
if(bus==0){WireS.beginTransmission(adr); return;};
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:777:12: note: suggested alternative: 'Wire'
if(bus==0){WireS.beginTransmission(adr); return;};
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:780:12: error: 'WireS1' was not declared in this scope
if(bus==1){WireS1.beginTransmission(adr); return;};
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:780:12: note: suggested alternative: 'Wire'
if(bus==1){WireS1.beginTransmission(adr); return;};
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cEndTransmission(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:796:19: error: 'WireS' was not declared in this scope
if(bus==0){return WireS.endTransmission();};
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:796:19: note: suggested alternative: 'Wire'
if(bus==0){return WireS.endTransmission();};
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:799:19: error: 'WireS1' was not declared in this scope
if(bus==1){return WireS1.endTransmission();};
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:799:19: note: suggested alternative: 'Wire'
if(bus==1){return WireS1.endTransmission();};
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cAvailable(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:834:19: error: 'WireS' was not declared in this scope
if(bus==0){return WireS.available();};
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:834:19: note: suggested alternative: 'Wire'
if(bus==0){return WireS.available();};
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:837:19: error: 'WireS1' was not declared in this scope
if(bus==1){return WireS1.available();};
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:837:19: note: suggested alternative: 'Wire'
if(bus==1){return WireS1.available();};
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cRead(uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:852:19: error: 'WireS' was not declared in this scope
if(bus==0){return WireS.read();};
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:852:19: note: suggested alternative: 'Wire'
if(bus==0){return WireS.read();};
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:855:19: error: 'WireS1' was not declared in this scope
if(bus==1){return WireS1.read();};
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:855:19: note: suggested alternative: 'Wire'
if(bus==1){return WireS1.read();};
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'void RT_HW_BASE::i2cWrite(uint8_t, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:870:12: error: 'WireS' was not declared in this scope
if(bus==0){WireS.write(val);};
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:870:12: note: suggested alternative: 'Wire'
if(bus==0){WireS.write(val);};
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:873:12: error: 'WireS1' was not declared in this scope
if(bus==1){WireS1.write(val);};
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:873:12: note: suggested alternative: 'Wire'
if(bus==1){WireS1.write(val);};
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cRequestFrom(uint8_t, uint8_t, uint8_t, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:915:8: error: 'WireS' was not declared in this scope
return WireS.requestFrom(adr,qnt,(uint8_t)sendStop);
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:915:8: note: suggested alternative: 'Wire'
return WireS.requestFrom(adr,qnt,(uint8_t)sendStop);
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:924:8: error: 'WireS1' was not declared in this scope
return WireS1.requestFrom(adr,qnt,(uint8_t)sendStop);
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp:924:8: note: suggested alternative: 'Wire'
return WireS1.requestFrom(adr,qnt,(uint8_t)sendStop);
^~~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp: In member function 'uint8_t RT_HW_BASE::i2cBeginMaster(uint8_t&, uint8_t)':
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp

1: error: 'WireS' was not declared in this scope
WireS.begin(); //--Инициализация как Master;
^~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp

1: note: suggested alternative: 'Wire'
WireS.begin(); //--Инициализация как Master;
^~~~~
Wire
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp

1: error: 'WireS1' was not declared in this scope
WireS1.begin(); //--Инициализация как Master;
^~~~~~
c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\RT_00_HW_BASE_v1.02c_12.01.22\src/BASE_100_API Link/API_102_I2C.hpp

1: note: suggested alternative: 'Wire'
WireS1.begin(); //--Инициализация как Master;
^~~~~~
Wire
Несколько библиотек найдено для "SPI.h"
Используется: C:\Program Files\flprog8.0.2\ideV8\hardware\Arduino_STM32-master\STM32F1\libraries\SPI
Не используется: c:\Program Files\flprog8.0.2\ideV8\portable\sketchbook\libraries\SPI
exit status 1
Ошибка компиляции для платы Generic STM32F103C6/fake STM32F103C8.
[/spoiler]такая