katapult/src/initial_pins.h
Kevin O'Connor 24d4eb16c9 initial_pins: Port initial_pins capability from Klipper
Some boards require an initial gpio state in order to start USB.  Port
the initial_pins capability from Klipper to provide that support.

This also synchronizes scripts/buildcommands.py with the latest code
from Klipper.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 13:59:42 -04:00

16 lines
301 B
C

#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