Update STM32 support (#908)
This commit is contained in:
@@ -29,9 +29,16 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// SS default
|
||||||
|
#ifndef SS
|
||||||
|
#define SS PA4
|
||||||
|
#endif
|
||||||
|
|
||||||
// mapping
|
// mapping
|
||||||
#define snprintf_P snprintf
|
#define snprintf_P snprintf
|
||||||
#define vsnprintf_P vsnprintf
|
#define vsnprintf_P vsnprintf
|
||||||
|
#define strncpy_P strncpy
|
||||||
|
#define yield() // not defined
|
||||||
|
|
||||||
// emulated EEPROM (experimental)
|
// emulated EEPROM (experimental)
|
||||||
#define EEPROM_PAGE_SIZE (uint16_t)1024
|
#define EEPROM_PAGE_SIZE (uint16_t)1024
|
||||||
|
|||||||
Reference in New Issue
Block a user