Open Sergey-R5AU opened 1 year ago
You have paddle_left and/or paddle_right defined as pin 0. Assign real pins to these two.
On Sun, Feb 19, 2023 at 8:12 AM Sergey R5AU @.***> wrote:
Hi ! I have error with compillation keyer code for STM32 Blue Pill board:
C:\Users\r5au\Documents\Arduino\k3ng_cw_keyer-master\k3ng_keyer\k3ng_keyer.ino:1536:4: error: #error "You cannot define paddle_left or paddle_right as 0 to disable"
error "You cannot define paddle_left or paddle_right as 0 to disable"
^ Multiple libraries were found for "Wire.h" Used: C:\Users\r5au\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2022.9.26\libraries\Wire Not used: C:\Users\r5au\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2022.9.26\libraries\WireSlave exit status 1 Compilation error: #error "You cannot define paddle_left or paddle_right as 0 to disable"
Arduino IDE version 2.0.3 64bit
STM32 board support with http://dan.drown.org/stm32duino/package_STM32duino_index.json
What is wrong ? Copmpillation for Arduino nano without troubles
— Reply to this email directly, view it on GitHub https://github.com/k3ng/k3ng_cw_keyer/issues/137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNU4HLJTAIJKCWKS7PFHLWYIL4DANCNFSM6AAAAAAVA6TYXQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
GENERIC STM32F103C Blue Pill board
*/
/ Pins - you must review these and configure ! /
or i should directly wrote here pins nr from Blue Pill, like:
following with attached pic ?
For tetsing purpose i did as abose
C:\Users\r5au\Documents\Arduino\k3ng_cw_keyer-master\k3ng_keyer\k3ng_keyer.ino: In function 'void initialize_serial_ports()': C:\Users\r5au\Documents\Arduino\k3ng_cw_keyer-master\k3ng_keyer\k3ng_keyer.ino:18238:25: error: cannot convert 'HardwareSerial' to 'USBSerial' in assignment primary_serial_port = PRIMARY_SERIAL_PORT;
probably somwhere in definitions files port assigment are wrong ? 'HardwareSerial' <-> 'USBSerial' ?
Do you have the correct board loaded ? Load the stm boards on IDE. Preferences -> Board Manegers URL Use :https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
I have now the same error : error: cannot convert 'HardwareSerial' to 'USBSerial' in assignment primary_serial_port = PRIMARY_SERIAL_PORT;
line 18246 k3ng_keyer.ino
Hi ! I have error with compillation keyer code for STM32 Blue Pill board:
C:\Users\r5au\Documents\Arduino\k3ng_cw_keyer-master\k3ng_keyer\k3ng_keyer.ino:1536:4: error: #error "You cannot define paddle_left or paddle_right as 0 to disable"
error "You cannot define paddle_left or paddle_right as 0 to disable"
Multiple libraries were found for "Wire.h" Used: C:\Users\r5au\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2022.9.26\libraries\Wire Not used: C:\Users\r5au\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2022.9.26\libraries\WireSlave exit status 1
Compilation error: #error "You cannot define paddle_left or paddle_right as 0 to disable"
Arduino IDE version 2.0.3 64bit
STM32 board support with http://dan.drown.org/stm32duino/package_STM32duino_index.json
What is wrong ? Copmpillation for Arduino nano without troubles