Trying to compile the Programmable Bench Power Supply


Phil N6WKZ
 

Jack,

I did a complete re-install, new libraries, (no -master), still no luck. when you have the time, please look at the latest error messages. I am trying.

73 Phil N6WKZ

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C series, STM32F103CB (20k RAM. 128k Flash), STM32duino bootloader, 72Mhz (Normal), Smallest (default)"

In file included from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_Time.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24: error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_Time.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\CalVoltage.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24: error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\CalVoltage.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\Desktop\Chapter08Programmable BenchPS\BenchPowerSupply004_Final_5-27-20\BenchPowerSupply004_Final_5-27-20.ino:19:0:

ProgPS.h:5:22: error: conflicting declaration 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from sketch\BenchPowerSupply004_Final_5-27-20.ino.cpp:1:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24: error: 'uint16' has a previous declaration as 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_General.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24: error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_General.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\EEPROM.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24: error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\EEPROM.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

Multiple libraries were found for "Wire.h"

 Used: C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\Wire

 Not used: C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\WireSlave

exit status 1

'uint16' has a previous declaration as 'typedef unsigned int uint16'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


jjpurdum
 

Phil:

Which board did you select and are you using an STM32 with 128K of memory? Let me see if Al has his PPS for testing.

Jack, W8TEE

On Sunday, March 7, 2021, 5:11:53 PM EST, Phil N6WKZ <n6wkz@...> wrote:


Jack,

I did a complete re-install, new libraries, (no -master), still no luck.
when you have the time, please look at the latest error messages. I am
trying.

73 Phil N6WKZ

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C series,
STM32F103CB (20k RAM. 128k Flash), STM32duino bootloader, 72Mhz
(Normal), Smallest (default)"

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_Time.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_Time.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\CalVoltage.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\CalVoltage.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\Desktop\Chapter08Programmable
BenchPS\BenchPowerSupply004_Final_5-27-20\BenchPowerSupply004_Final_5-27-20.ino:19:0:

ProgPS.h:5:22: error: conflicting declaration 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from sketch\BenchPowerSupply004_Final_5-27-20.ino.cpp:1:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: 'uint16' has a previous declaration as 'typedef short unsigned
int uint16'

 typedef unsigned short uint16;

                        ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_General.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_General.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\EEPROM.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\EEPROM.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

Multiple libraries were found for "Wire.h"

 Used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\Wire

 Not used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\WireSlave

exit status 1

'uint16' has a previous declaration as 'typedef unsigned int uint16'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.







Phil N6WKZ
 

Jack,

My STM32  are...103c8t6's and I selected 64K. I did not see any memory capacity errors.

They do worked because I loaded the "blink" code.

Phil

On 3/7/2021 6:37 PM, jjpurdum via groups.io wrote:

Phil:

Which board did you select and are you using an STM32 with 128K of memory? Let me see if Al has his PPS for testing.

Jack, W8TEE

On Sunday, March 7, 2021, 5:11:53 PM EST, Phil N6WKZ <n6wkz@...> wrote:


Jack,

I did a complete re-install, new libraries, (no -master), still no luck.
when you have the time, please look at the latest error messages. I am
trying.

73 Phil N6WKZ

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C series,
STM32F103CB (20k RAM. 128k Flash), STM32duino bootloader, 72Mhz
(Normal), Smallest (default)"

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_Time.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_Time.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\CalVoltage.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\CalVoltage.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\Desktop\Chapter08Programmable
BenchPS\BenchPowerSupply004_Final_5-27-20\BenchPowerSupply004_Final_5-27-20.ino:19:0:

ProgPS.h:5:22: error: conflicting declaration 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from sketch\BenchPowerSupply004_Final_5-27-20.ino.cpp:1:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: 'uint16' has a previous declaration as 'typedef short unsigned
int uint16'

 typedef unsigned short uint16;

                        ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_General.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_General.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\EEPROM.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\EEPROM.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

Multiple libraries were found for "Wire.h"

 Used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\Wire

 Not used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\WireSlave

exit status 1

'uint16' has a previous declaration as 'typedef unsigned int uint16'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.







jjpurdum
 

The blink code is considerably smaller than the project code.

Jack, W8TEE

On Monday, March 8, 2021, 10:48:11 AM EST, Phil N6WKZ <n6wkz@...> wrote:


Jack,

My STM32  are...103c8t6's and I selected 64K. I did not see any memory capacity errors.

They do worked because I loaded the "blink" code.

Phil

On 3/7/2021 6:37 PM, jjpurdum via groups.io wrote:
Phil:

Which board did you select and are you using an STM32 with 128K of memory? Let me see if Al has his PPS for testing.

Jack, W8TEE

On Sunday, March 7, 2021, 5:11:53 PM EST, Phil N6WKZ <n6wkz@...> wrote:


Jack,

I did a complete re-install, new libraries, (no -master), still no luck.
when you have the time, please look at the latest error messages. I am
trying.

73 Phil N6WKZ

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F103C series,
STM32F103CB (20k RAM. 128k Flash), STM32duino bootloader, 72Mhz
(Normal), Smallest (default)"

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_Time.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_Time.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\CalVoltage.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\CalVoltage.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from C:\Users\Phil\Desktop\Chapter08Programmable
BenchPS\BenchPowerSupply004_Final_5-27-20\BenchPowerSupply004_Final_5-27-20.ino:19:0:

ProgPS.h:5:22: error: conflicting declaration 'typedef unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from sketch\BenchPowerSupply004_Final_5-27-20.ino.cpp:1:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: 'uint16' has a previous declaration as 'typedef short unsigned
int uint16'

 typedef unsigned short uint16;

                        ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\Config_General.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\Config_General.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

In file included from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/boards.h:37:0,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/wirish.h:55,

                 from
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\cores\maple/Arduino.h:30,

                 from
C:\Users\Phil\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:5,

                 from sketch\ProgPS.h:14,

                 from sketch\EEPROM.cpp:2:

C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\system/libmaple/include/libmaple/libmaple_types.h:43:24:
error: conflicting declaration 'typedef short unsigned int uint16'

 typedef unsigned short uint16;

                        ^

In file included from sketch\EEPROM.cpp:2:0:

ProgPS.h:5:22: error: 'uint16' has a previous declaration as 'typedef
unsigned int uint16'

 typedef unsigned int uint16;

                      ^

Multiple libraries were found for "Wire.h"

 Used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\Wire

 Not used:
C:\Users\Phil\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2021.3.4\libraries\WireSlave

exit status 1

'uint16' has a previous declaration as 'typedef unsigned int uint16'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.