rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.52k stars 1.26k forks source link

How to write the attribution for atmege328p and stm32 maple mini ? #762

Closed eagl1 closed 4 years ago

eagl1 commented 4 years ago

I want to write this:

`#if defined(__AVR_ATmega328P__)

define CS_PIN 10

#define MOSI_PIN                        11
#define CLK_PIN                 13

elif defined(STM32_SERIES_F1)

#define CS_PIN                  PB12
#define MOSI_PIN                       PB15
#define CLK_PIN                 PB13

endif`

How to find the correct attributions for each platform ?

rogerclarkmelbourne commented 4 years ago

Issues are not a support forum.

Try https://forum.arduino.cc or https://www.stm32duino/com

eagl1 commented 4 years ago

OK thanks.