export board-specific macro for stm32 pins based on board yaml #3298

This commit is contained in:
rusefillc 2021-10-02 23:45:28 -04:00
parent f57ac55d9e
commit eb4829c83e
2 changed files with 13 additions and 1 deletions

View File

@ -8,10 +8,11 @@
#include "pch.h"
#include "fsio_impl.h"
#include "proteus_meta.h"
static const brain_pin_e injPins[] = {
GPIOD_7,
GPIOG_9,
PROTEUS_LS_2,
GPIOG_10,
GPIOG_11,
GPIOG_12,

View File

@ -0,0 +1,11 @@
/*
* proteus_meta.h
*
* @date Oct 2, 2021
* @author Andrey Belomutskiy, (c) 2012-2021
*/
#pragma once
#define PROTEUS_LS_1 GPIOD_7
#define PROTEUS_LS_2 GPIOG_9