initial_pins: Add ability to configure output pins at mcu startup

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-03-17 20:41:52 -04:00
parent 0af89e4766
commit 4a35f927fc
5 changed files with 103 additions and 4 deletions

15
src/initial_pins.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef __INITIAl_PINS_H
#define __INITIAl_PINS_H
struct initial_pin_s {
int pin;
uint8_t flags;
};
enum { IP_OUT_HIGH = 1 };
// out/compile_time_request.c (auto generated file)
extern const struct initial_pin_s initial_pins[];
extern const int initial_pins_size;
#endif // initial_pins.h