Author Topic: Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.

Offline rhodgesTopic starter

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?
« on: December 14, 2019, 09:53:28 pm »
I have cheap STM32 boards from ebay with STM32F103 and STM32F030 chips. The popular name for the STM32F103 boards is "Blue Pill". But I can't seem to find any name for the STM32F030 boards. They just have the ST logo and "STM32F030 DEMO BOARD V1.1" on the back.

I would like to use conditionals in my STM32 libraries when there is a difference between these boards.
For example:
Code: [Select]
/*  Turn LED on/off
 *  in: zero = off, non-zero = on
 */
void board_led(int on)
{
#ifdef BLUE_PILL
    if (on)
        GPIOC->ODR &= 0xdfff;
    else
        GPIOC->ODR |= 0x2000;
#endif
}
Is there any popular name for the cheap STM32F030 "demo" boards? Any suggestions on a good name to use in #define and #ifdef conditionals?
"F030_DEMO" maybe? Or something with the word "PILL"?

Thanks!
Currently developing embedded RISC-V. Recently STM32 and STM8. All are excellent choices. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline jhpadjustable

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: us
  • Salt 'n' pepper beard
Re: Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?
« Reply #1 on: December 14, 2019, 11:38:03 pm »
I don't think the F030 got popular enough among the light-hearted hobbyist to merit a popular nickname. I'd just call 'em rabbitpills :-DD
"There are more things in heaven and earth, Arduino, than are dreamt of in your philosophy."
 
The following users thanked this post: thm_w, rhodges

Offline GromBeestje

  • Frequent Contributor
  • **
  • Posts: 294
  • Country: nl
Re: Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?
« Reply #2 on: December 15, 2019, 10:04:21 am »
I have no clue what to name them either. I guess it's up to us to name them, and make sure that name becomes popular ;)
 

Offline rhodgesTopic starter

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?
« Reply #3 on: December 15, 2019, 03:03:35 pm »
One vote for "rabbit pill"! (Rabbit crap?)
Code: [Select]
void board_led(int on)
{
#ifdef RABBIT_PILL
    if (on)
        GPIOA->ODR &= 0xffef;
    else
        GPIOA->ODR |= 0x0010;
#endif
}
Currently developing embedded RISC-V. Recently STM32 and STM8. All are excellent choices. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline jhpadjustable

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: us
  • Salt 'n' pepper beard
Re: Is there a name for the cheap ebay STM32F030 "Demo 1.1" boards?
« Reply #4 on: December 15, 2019, 10:47:07 pm »
That's what my grandma always called rabbit droppings. The enterprising genius that builds a Digispark-sized STM32-based thingy can call them liver pills. :)
"There are more things in heaven and earth, Arduino, than are dreamt of in your philosophy."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf