I copied the following from boards_entry.txt in variants/G0B1K(B-C-E)(T-U)xN_G0C1K(C-E)(T-U)xN
Code: Select all
# Generic G0B1KETxN
GenG0.menu.pnum.GENERIC_G0B1KETXN=Generic G0B1KETxN
GenG0.menu.pnum.GENERIC_G0B1KETXN.upload.maximum_size=524288
GenG0.menu.pnum.GENERIC_G0B1KETXN.upload.maximum_data_size=147456
GenG0.menu.pnum.GENERIC_G0B1KETXN.build.board=GENERIC_G0B1KETXN
GenG0.menu.pnum.GENERIC_G0B1KETXN.build.product_line=STM32G0B1xx
GenG0.menu.pnum.GENERIC_G0B1KETXN.build.variant=STM32G0xx/G0B1K(B-C-E)(T-U)xN_G0C1K(C-E)(T-U)xN
I can successfully program the micro via DFU. The first test I did was Blinky, and I did not get a signal on the pin I tried (PA4).
I'm a bit confused by the pinout options of an unmodified generic variant such as this. Is it supposed to "just work", or do I need to modify variant_generic.h and .cpp.
I read viewtopic.php?t=372 but it's still not clear to me. If this has been explained elsewhere, a link would be greatly appreciated. Thank you.