Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Rob Sherwood Presentation Slides on Amateur Radio Transceiver Performance
The slides are here:
/g/SoftwareControlledHamRadio/files/Sherwood_Presentations I attempted to video the presentation at Hamcation.? Unfortunately the acoustics and noise at the venue were quite bad. Here are the videos: ?
--
73 Greg KF5N |
Re: V12 compiling error
On 2025-02-09 20:23, jjpurdum via groups.io wrote:
Some versions of the code do use Serial and Serial1. If you are*** Serial1 gets magically defined inside the TeensyDuino support code when you choose dual serial USB in Arduino. - Jerry, KF6VB Jack, W8TEE |
Re: V12 compiling error
¿ªÔÆÌåÓýRemember to clear the flash memory my holding the button down on the Teensy for about 15 seconds before you load a different version of the code¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tim via groups.io
Sent: Sunday, February 9, 2025 11:51 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] V12 compiling error ? Sry I am using his code. It compiles and loads but seems frozen. I reloaded AI6YM code as he has it configured for his boards, but it never starts, just blank screen. Strange as it was supposedly loaded on Tweensy when I got his kit and it ran but was flakey, stopped randomly.? Think I will go back to winding torroids until my brain un freezes. TNX agn for help. Tim? ? |
Re: V12 compiling error
Sry I am using his code.
It compiles and loads but seems frozen.
I reloaded AI6YM code as he has it configured for his boards, but it never starts, just blank screen.
Strange as it was supposedly loaded on Tweensy when I got his kit and it ran but was flakey, stopped randomly.?
Think I will go back to winding torroids until my brain un freezes.
TNX agn for help.
Tim?
? |
Re: V12 compiling error
Loaded but won't start?
Opening Teensy Loader...
Memory Usage on Teensy 4.1: ? FLASH: code:290040, data:130740, headers:8272 ? free for files:7697412 ? ?RAM1: variables:251360, code:259720, padding:2424 ? free for local variables:10784 ? ?RAM2: variables:389440 ?free for malloc/new:134848 Spectrum and water fall seem frozen
Sry for band width off to bed for now.
TNX for helping Tim |
Re: V12 compiling error
You'll notice I said it was a semantic error, not a syntax error. Still, it should produce a warning even if it finished the compile. Jack, W8TEE
On Sunday, February 9, 2025 at 11:53:57 PM EST, Tim via groups.io <w4yn@...> wrote:
Jack
Odd part it complied all the way thru on once, did not change anything and after that I started to get error?
-- Jack, W8TEE |
Re: V12 compiling error
Unless you have some reason for using John's code (I know he's got some interesting stuff going on), I would suggest you try Oliver's code. () If you need some C programming help, take a look at Beginning C for Arduino (Amazon, 1484209419). Read some of the reviews and see if it might work for you. Jack, W8TEE
On Sunday, February 9, 2025 at 11:43:12 PM EST, Tim via groups.io <w4yn@...> wrote:
makes sense Jack. not much of a programmer here.
I am using John's 50.2 sketch off gethub /
maybe that is wrong version I should be using ?
?
-- Jack, W8TEE |
Re: V12 compiling error
I think this is what you're looking for:
On Sunday, February 9, 2025 at 05:09:02 PM EST, Tim via groups.io <w4yn@...> wrote:
V12 boards using Ai6YM kit.
50.2 build.
I am trying to reload IDE to see if I can prevent program hangs. Will only run a short time before it stops running.
I have all the libraries loaded and get to end of compile and get this message.
Has me confused:
?
?
In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\JSON.cpp:2:
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\JSON.h:5:10: fatal error: ArduinoJson.h: No such file or directory ? ? 5 | #include <ArduinoJson.h> ? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: ArduinoJson.h: No such file or directory
?
I don't see that file on git hub.
Any thoughts?
Tim?
-- Jack, W8TEE |
Re: V12 compiling error
Some versions of the code do use Serial and Serial1. If you are working with CAT control, Serial1 needs to be defined somewhere. Jack, W8TEE
On Sunday, February 9, 2025 at 11:07:27 PM EST, Tim via groups.io <w4yn@...> wrote:
I fixed the Adafruit issue (I think) first compile went OK? then on up load and additional complies I get this:
?
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void BIT_display()':
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2697:7: warning: unused variable 'centerCall' [-Wunused-variable] ?2697 | ? int centerCall; ? ? ? | ? ? ? ^~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void setup()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2823:3: error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'? ?2823 | ? SerialUSB1.begin(9600); ? ? ? | ? ^~~~~~~~~~ ? ? ? | ? SerialUSB C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\G0ORX_CAT.cpp: In function 'void CATSerialEvent()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\G0ORX_CAT.cpp:434:12: error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'? ? 434 | ? while((i=SerialUSB1.available())>0) { ? ? ? | ? ? ? ? ? ?^~~~~~~~~~ ? ? ? | ? ? ? ? ? ?SerialUSB Multiple libraries were found for "SD.h" ? Used: C:\Users\Admin\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD ? Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'?
-- Jack, W8TEE |
Re: V12 compiling error
A variable with an extern declaration makes no sense with a static definition. The keyword extern is used as a decaration for a variable so the compiler has an attribute list of the properties of a variable (e.g., name, type, etc). So, if I define a variable in the INO file (i.e., a definition allocates storage for the variable--it has a known lvalue), but want to use it in a different CPP file, the compiler needs that attribute list so it knows how to generate the correct code. When the compiler is processing the CCP file, it doesn't know the memory address of that variable, so think of it as writing ???? for the memory address. It's the linker's job to get that memory address from the INO file and copy it to the ???? space in the CCP code. The static keyword, when used outside of a function, creates a variable with global scope, but only for the file in which it is defined. In other words, the scope of a static defined outside of a function is limited to the one file in which it is defined. So, to have a static defined in the INO file, but use the extern keyword in a different CPP file makes no sense and is a semantic error. Jack, W8TEE
On Sunday, February 9, 2025 at 05:44:42 PM EST, Tim via groups.io <w4yn@...> wrote:
Found a couple of versions think I finally got correct library version 7.3
Now I get this message:
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:9:26: warning: 'mcpBPF' was declared 'extern' and later 'static' [-fpermissive]
? ? 9 | static Adafruit_MCP23X17 mcpBPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:37, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.h:7:26: note: previous declaration of 'mcpBPF' ? ? 7 | extern Adafruit_MCP23X17 mcpBPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:10:17: warning: 'BPF_GPAB_state' was declared 'extern' and later 'static' [-fpermissive] ? ?10 | static uint16_t BPF_GPAB_state; ? ? ? | ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:37, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.h:8:17: note: previous declaration of 'BPF_GPAB_state' ? ? 8 | extern uint16_t BPF_GPAB_state; ? ? ? | ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:9:26: warning: 'mcpLPF' was declared 'extern' and later 'static' [-fpermissive] ? ? 9 | static Adafruit_MCP23X17 mcpLPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:7:26: note: previous declaration of 'mcpLPF' ? ? 7 | extern Adafruit_MCP23X17 mcpLPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:10:15: warning: 'swrADC' was declared 'extern' and later 'static' [-fpermissive] ? ?10 | static AD7991 swrADC; // on K9HZ LPF board ? ? ? | ? ? ? ? ? ? ? ^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:8:15: note: previous declaration of 'swrADC' ? ? 8 | extern AD7991 swrADC; // on K9HZ LPF board ? ? ? | ? ? ? ? ? ? ? ^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:11:16: warning: 'LPF_GPB_state' was declared 'extern' and later 'static' [-fpermissive] ? ?11 | static uint8_t LPF_GPB_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:9:16: note: previous declaration of 'LPF_GPB_state' ? ? 9 | extern uint8_t LPF_GPB_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:12:16: warning: 'LPF_GPA_state' was declared 'extern' and later 'static' [-fpermissive] ? ?12 | static uint8_t LPF_GPA_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:10:16: note: previous declaration of 'LPF_GPA_state' ? ?10 | extern uint8_t LPF_GPA_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void BIT_display()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2697:7: warning: unused variable 'centerCall' [-Wunused-variable] ?2697 | ? int centerCall; ? ? ? | ? ? ? ^~~~~~~~~~ c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::Adafruit_MCP23X08()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::Adafruit_MCP23X08()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::enableAddrPins()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::Adafruit_MCP23X17()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::Adafruit_MCP23X17()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOA()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOA(unsigned char)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOB()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOB(unsigned char)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOAB()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOAB(unsigned short)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::enableAddrPins()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_SPI(unsigned char, SPIClass*, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_SPI(signed char, signed char, signed char, signed char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::pinMode(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::digitalRead(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::digitalWrite(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::readGPIO(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::writeGPIO(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::setupInterrupts(bool, bool, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::setupInterruptPin(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::disableInterruptPin(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getLastInterruptPin()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getCapturedInterrupt()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::clearInterrupts()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getRegister(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status Multiple libraries were found for "SD.h" ? Used: C:\Users\Admin\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD ? Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: exit status 1
-- Jack, W8TEE |
Re: V12 compiling error
I fixed the Adafruit issue (I think) first compile went OK? then on up load and additional complies I get this:
?
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void BIT_display()':
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2697:7: warning: unused variable 'centerCall' [-Wunused-variable] ?2697 | ? int centerCall; ? ? ? | ? ? ? ^~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void setup()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2823:3: error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'? ?2823 | ? SerialUSB1.begin(9600); ? ? ? | ? ^~~~~~~~~~ ? ? ? | ? SerialUSB C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\G0ORX_CAT.cpp: In function 'void CATSerialEvent()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\G0ORX_CAT.cpp:434:12: error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'? ? 434 | ? while((i=SerialUSB1.available())>0) { ? ? ? | ? ? ? ? ? ?^~~~~~~~~~ ? ? ? | ? ? ? ? ? ?SerialUSB Multiple libraries were found for "SD.h" ? Used: C:\Users\Admin\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD ? Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: 'SerialUSB1' was not declared in this scope; did you mean 'SerialUSB'?
|
Re: V12 compiling error
Found a couple of versions think I finally got correct library version 7.3
Now I get this message:
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:9:26: warning: 'mcpBPF' was declared 'extern' and later 'static' [-fpermissive]
? ? 9 | static Adafruit_MCP23X17 mcpBPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:37, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.h:7:26: note: previous declaration of 'mcpBPF' ? ? 7 | extern Adafruit_MCP23X17 mcpBPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:10:17: warning: 'BPF_GPAB_state' was declared 'extern' and later 'static' [-fpermissive] ? ?10 | static uint16_t BPF_GPAB_state; ? ? ? | ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:37, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\BPF_Control.h:8:17: note: previous declaration of 'BPF_GPAB_state' ? ? 8 | extern uint16_t BPF_GPAB_state; ? ? ? | ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:9:26: warning: 'mcpLPF' was declared 'extern' and later 'static' [-fpermissive] ? ? 9 | static Adafruit_MCP23X17 mcpLPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:7:26: note: previous declaration of 'mcpLPF' ? ? 7 | extern Adafruit_MCP23X17 mcpLPF; // connected to Wire2 ? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ?^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:10:15: warning: 'swrADC' was declared 'extern' and later 'static' [-fpermissive] ? ?10 | static AD7991 swrADC; // on K9HZ LPF board ? ? ? | ? ? ? ? ? ? ? ^~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:8:15: note: previous declaration of 'swrADC' ? ? 8 | extern AD7991 swrADC; // on K9HZ LPF board ? ? ? | ? ? ? ? ? ? ? ^~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:11:16: warning: 'LPF_GPB_state' was declared 'extern' and later 'static' [-fpermissive] ? ?11 | static uint8_t LPF_GPB_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:9:16: note: previous declaration of 'LPF_GPB_state' ? ? 9 | extern uint8_t LPF_GPB_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:12:16: warning: 'LPF_GPA_state' was declared 'extern' and later 'static' [-fpermissive] ? ?12 | static uint8_t LPF_GPA_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT.h:33, ? ? ? ? ? ? ? ? ?from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.cpp:4: C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\K9HZ_LPF_Control.h:10:16: note: previous declaration of 'LPF_GPA_state' ? ?10 | extern uint8_t LPF_GPA_state; ? ? ? | ? ? ? ? ? ? ? ?^~~~~~~~~~~~~ C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino: In function 'void BIT_display()': C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\SDT_Main.ino:2697:7: warning: unused variable 'centerCall' [-Wunused-variable] ?2697 | ? int centerCall; ? ? ? | ? ? ? ^~~~~~~~~~ c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::Adafruit_MCP23X08()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::Adafruit_MCP23X08()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X08.cpp.o (symbol from plugin): in function `Adafruit_MCP23X08::Adafruit_MCP23X08()': (.text+0x0): multiple definition of `Adafruit_MCP23X08::enableAddrPins()'; Adafruit_MCP23X08.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::Adafruit_MCP23X17()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::Adafruit_MCP23X17()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOA()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOA(unsigned char)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOB()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOB(unsigned char)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::readGPIOAB()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::writeGPIOAB(unsigned short)'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23X17.cpp.o (symbol from plugin): in function `Adafruit_MCP23X17::Adafruit_MCP23X17()': (.text+0x0): multiple definition of `Adafruit_MCP23X17::enableAddrPins()'; Adafruit_MCP23X17.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_SPI(unsigned char, SPIClass*, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::begin_SPI(signed char, signed char, signed char, signed char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::pinMode(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::digitalRead(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::digitalWrite(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::readGPIO(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::writeGPIO(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::setupInterrupts(bool, bool, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::setupInterruptPin(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::disableInterruptPin(unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getLastInterruptPin()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getCapturedInterrupt()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::clearInterrupts()'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here c:/users/admin/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: Adafruit_MCP23XXX.cpp.o (symbol from plugin): in function `Adafruit_MCP23XXX::begin_I2C(unsigned char, TwoWire*)': (.text+0x0): multiple definition of `Adafruit_MCP23XXX::getRegister(unsigned char, unsigned char)'; Adafruit_MCP23XXX.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status Multiple libraries were found for "SD.h" ? Used: C:\Users\Admin\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD ? Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: exit status 1
|
Re: V12 compiling error
I think you can install the ArduinoJSON library with the Arduino IDE library
toggle quoted message
Show quoted text
manager. - Jerry, KF6VB On 2025-02-09 14:08, Tim via groups.io wrote:
V12 boards using Ai6YM kit. |
On 2025-02-09 13:27, K5ESS via groups.io wrote:
Has anyone that's used these seen any noise problems? The data sheet*** I'm using three of them. Two on the main board, one on the RF board.. I think. Haven't heard any noise. If there is noise from those regulators, it's drowned out by the noise from the video panel. - Jerry, KF6VB |
CAT Control
Hi All,
Playing with CAT control of my T41 today. Clearly, nobody's messed with this for a while. To get it sort of working, I had to move the invocation of CATSerialEvent() to a place in the loop where it actually gets called during receive - not just during transmit. Also had to resolve a few compile issues, nothing too scary. And of course, I had to choose the "dual USB Serial Port" option in the Arduino IDE. So now flrig is controlling the T41.. Somewhat. It shows the current frequency. Sometimes. I can set the frequency with flrig. Sometimes. I can also set the operating mode. And the volume. When it works. The volume works more reliably than the frequency. HOWEVER, if I change modes, sometimes the audio will go away. Dead silent. Only way to get it back is by resetting the T41. In this "no audio" mode, the main loop is still executing; the spectrum and waterfall are active. When I say "init" from the flrig configuration menu, it turns on "spectral" noise reduction at the radio. I'm interested in CAT monitoring - not necessarily control - so I can have the frequency & mode magically go into a logging program - so I don't have to type it. Clearly this feature has a way to go. But I'm heartened that it works at all. It's a start. - Jerry, KF6VB |
V12 compiling error
V12 boards using Ai6YM kit.
50.2 build.
I am trying to reload IDE to see if I can prevent program hangs. Will only run a short time before it stops running.
I have all the libraries loaded and get to end of compile and get this message.
Has me confused:
?
?
In file included from C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\JSON.cpp:2:
C:\Users\Admin\Documents\ai6ym\t41-main\software\SDT_Main\JSON.h:5:10: fatal error: ArduinoJson.h: No such file or directory ? ? 5 | #include <ArduinoJson.h> ? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: ArduinoJson.h: No such file or directory
?
I don't see that file on git hub.
Any thoughts?
Tim?
|