ML Controller compile 1.00


D Solt
 

I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


jjpurdum
 

What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


D Solt
 

Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


jjpurdum
 

If keep saying you're using the Generic board. Try the Maple Mini once and show me the errors.

Wait a minute! Are you using the Cube programmer??

Jack, W8TEE

On Monday, March 8, 2021, 6:06:57 PM EST, D Solt <davesolt@...> wrote:


Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


D Solt
 

The maple mini is selected and I compiled using the maple dfu bootloader 2.0 (and original) with the latest error message posted below.

I have been using the  cube programmer.  All my compiling has been done without a board connected.
When I install the IDE and the STM32 files and then run a compile, the IDE doesn't seem to find the libraries in the installed Roger Clark STM32 folder.  So, I end up moving the libraries to the folder where I have v1.00 installed (example folder)  I have removed the "master" from the folder name. I think there is something wrong with my installation, but I have reinstalled 3 times today and continue to get the same errors.  Could my virus software be affecting this?  Maybe I will try to disable it and install again.

Thanks for your help.

dave , n3ds


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, Maple DFU Bootloader 2.0, Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."
      |  ^~~~~
In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
      |  ^~~~~
exit status 1
Error compiling for board Generic STM32F1 series.

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


On Mon, Mar 8, 2021 at 7:07 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
If keep saying you're using the Generic board. Try the Maple Mini once and show me the errors.

Wait a minute! Are you using the Cube programmer??

Jack, W8TEE

On Monday, March 8, 2021, 6:06:57 PM EST, D Solt <davesolt@...> wrote:


Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


D Solt
 

To clarify, when I say I am compiling I mean that I am pressing the verify button not the upload button


On Mon, Mar 8, 2021 at 7:07 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
If keep saying you're using the Generic board. Try the Maple Mini once and show me the errors.

Wait a minute! Are you using the Cube programmer??

Jack, W8TEE

On Monday, March 8, 2021, 6:06:57 PM EST, D Solt <davesolt@...> wrote:


Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


jjpurdum
 

You should not have to move the libraries for the STM32. After the STM32 patch is installed, the compiler changes the default include path to account for the board that has been selected. I've discussed the double quotes/brackets differences here before and how that relates to library searches. The "Bad STM32F1 Configuration" error message says that it can't successfully use its defaults to find things. Try looking at some "Installing the STM32 for the Arduino IDE" videos and see if you've followed those.

Why are you using the Cube Programmer? Everything I've been saying applies to the Arduino IDE. I have no idea how the CP relates to that.

Jack, W8TEE

On Monday, March 8, 2021, 8:37:53 PM EST, D Solt <davesolt@...> wrote:


The maple mini is selected and I compiled using the maple dfu bootloader 2.0 (and original) with the latest error message posted below.

I have been using the  cube programmer.  All my compiling has been done without a board connected.
When I install the IDE and the STM32 files and then run a compile, the IDE doesn't seem to find the libraries in the installed Roger Clark STM32 folder.  So, I end up moving the libraries to the folder where I have v1.00 installed (example folder)  I have removed the "master" from the folder name. I think there is something wrong with my installation, but I have reinstalled 3 times today and continue to get the same errors.  Could my virus software be affecting this?  Maybe I will try to disable it and install again.

Thanks for your help.

dave , n3ds


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, Maple DFU Bootloader 2.0, Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."
      |  ^~~~~
In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
      |  ^~~~~
exit status 1
Error compiling for board Generic STM32F1 series.

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


On Mon, Mar 8, 2021 at 7:07 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
If keep saying you're using the Generic board. Try the Maple Mini once and show me the errors.

Wait a minute! Are you using the Cube programmer??

Jack, W8TEE

On Monday, March 8, 2021, 6:06:57 PM EST, D Solt <davesolt@...> wrote:


Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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


D Solt
 

Thanks Jack.  I was using the cube programmer in the IDE because anytime I uploaded something on the USB port, it erased the boot loader and I had to reprogram the STM32.

I will reinstall.  I thought it was strange that it was not locating  the paths.  I stop the virus SW.  And I'll look at the videos.  Thanks for your guidance.  It is much appreciated!

dave, n3ds




On Mon, Mar 8, 2021 at 10:58 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
You should not have to move the libraries for the STM32. After the STM32 patch is installed, the compiler changes the default include path to account for the board that has been selected. I've discussed the double quotes/brackets differences here before and how that relates to library searches. The "Bad STM32F1 Configuration" error message says that it can't successfully use its defaults to find things. Try looking at some "Installing the STM32 for the Arduino IDE" videos and see if you've followed those.

Why are you using the Cube Programmer? Everything I've been saying applies to the Arduino IDE. I have no idea how the CP relates to that.

Jack, W8TEE

On Monday, March 8, 2021, 8:37:53 PM EST, D Solt <davesolt@...> wrote:


The maple mini is selected and I compiled using the maple dfu bootloader 2.0 (and original) with the latest error message posted below.

I have been using the  cube programmer.  All my compiling has been done without a board connected.
When I install the IDE and the STM32 files and then run a compile, the IDE doesn't seem to find the libraries in the installed Roger Clark STM32 folder.  So, I end up moving the libraries to the folder where I have v1.00 installed (example folder)  I have removed the "master" from the folder name. I think there is something wrong with my installation, but I have reinstalled 3 times today and continue to get the same errors.  Could my virus software be affecting this?  Maybe I will try to disable it and install again.

Thanks for your help.

dave , n3ds


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, Maple DFU Bootloader 2.0, Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."
      |  ^~~~~
In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,
                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,
                 from sketch\MagLoop.h:6,
                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:
C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."
      |  ^~~~~
exit status 1
Error compiling for board Generic STM32F1 series.

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


On Mon, Mar 8, 2021 at 7:07 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
If keep saying you're using the Generic board. Try the Maple Mini once and show me the errors.

Wait a minute! Are you using the Cube programmer??

Jack, W8TEE

On Monday, March 8, 2021, 6:06:57 PM EST, D Solt <davesolt@...> wrote:


Thanks for your help.  When I compile with the Maple Mini I get the same error, see below

Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Maple Mini F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"





















In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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



On Mon, Mar 8, 2021 at 4:56 PM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
What happens when you select the Maple Mini board?

Jack, W8TEE

On Monday, March 8, 2021, 4:05:30 PM EST, D Solt <davesolt@...> wrote:


I am compiling version 1.00.  I am using 1.8.13 IDE using generic STM32F1 series and generic and blue pill F103C8 and F103CB. I loaded the v1.00 in the example folder.  I had to load all the libraries into the example folder because it could not find them in the Arduino 1.8.13/Arduino_STM32 folder.  See the error message below.  Thanks for your help.


Arduino: 1.8.13 (Windows 10), Board: "Generic STM32F1 series, Generic F103CB, STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:71,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/stm32f1/include/series/stm32.h:270:2: error: #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

  270 | #error "Bad STM32F1 configuration. Check STM32F1 <series/stm32.h> header."

      |  ^~~~~

In file included from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/wirish.h:53,

                 from C:\Arduino 1.8.13\Arduino\libraries\EEPROM\src/EEPROM.h:4,

                 from sketch\MagLoop.h:6,

                 from C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00\MagLoop_Release_1.00.ino:42:

C:\Arduino 1.8.13\Arduino\examples\MagLoop_Release_1.00/libmaple/stm32.h:85:2: error: #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

   85 | #error "Bad STM32F1 configuration. Check <series/stm32.h> header for your MCU."

      |  ^~~~~

exit status 1

Error compiling for board Generic STM32F1 series.



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