diff --git a/hal/architecture/MyHwSTM32F1.h b/hal/architecture/MyHwSTM32F1.h index 4cb0906..66925ce 100644 --- a/hal/architecture/MyHwSTM32F1.h +++ b/hal/architecture/MyHwSTM32F1.h @@ -29,9 +29,16 @@ #include #endif +// SS default +#ifndef SS +#define SS PA4 +#endif + // mapping #define snprintf_P snprintf #define vsnprintf_P vsnprintf +#define strncpy_P strncpy +#define yield() // not defined // emulated EEPROM (experimental) #define EEPROM_PAGE_SIZE (uint16_t)1024