mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
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>
16 lines
301 B
C
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
|