export board-specific macro for stm32 pins based on board yaml #3298
This commit is contained in:
parent
f57ac55d9e
commit
eb4829c83e
|
@ -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,
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue