文件目录:
C:\Users\Administrator\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\variants\STM32G0xx\G071G(6-8-B)U_G081GBU
boards_entry.txt
Generic G071GBUx
GenG0.menu.pnum.GENERIC_G071GBUX=Generic G071GBUx
GenG0.menu.pnum.GENERIC_G071GBUX.upload.maximum_size=131072
GenG0.menu.pnum.GENERIC_G071GBUX.upload.maximum_data_size=36864
GenG0.menu.pnum.GENERIC_G071GBUX.build.board=GENERIC_G071GBUX
GenG0.menu.pnum.GENERIC_G071GBUX.build.product_line=STM32G071xx
GenG0.menu.pnum.GENERIC_G071GBUX.build.variant=STM32G0xx/G071G(6-8-B)U_G081GBU
variant_generic.h (I2C and SERIAL)
// I2C definitions
#ifndef PIN_WIRE_SDA
#define PIN_WIRE_SDA PA10_R
#endif
#ifndef PIN_WIRE_SCL
#define PIN_WIRE_SCL PA9_R
#endif
// Default pin used for generic 'Serial' instance
// Mandatory for Firmata
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA1
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA0
#endif