Mirror of espurna firmware for wireless switches and more
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
675 B

// isn't normally used or exported, needs something external to link them in
// (for us, $OBJCOPY w/ redefine-sym on the postmortem file is the main target)
// note that functions actually return `int`, but it is a totally valid C
// to return whatever type we want instead (e.g. `void` aka nothing)
#include <c_types.h>
void __stub_printf(const char* format, ...) IRAM_ATTR;
void __stub_printf(const char* format __attribute__((unused)), ...) {
}
void __stub_printf_P(const char* format, ...) IRAM_ATTR;
void __stub_printf_P(const char* format __attribute__((unused)), ...) {
}
void __stub_putc(char ch) IRAM_ATTR;
void __stub_putc(char ch __attribute__((unused))) {
}