jshardware.h seems to be ok.
You've moved some things around for jshardware_common.c.
My concern is if the order of
/// Settings passed to jshI2CSetup to set I2C up
typedef struct {
int bitrate;
Pin pinSCL;
Pin pinSDA;
// int bitrate;
// timeout?
} PACKED_FLAGS JshI2CInfo;
will influence on the other micro's, that have I not tryed.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
jshardware.h seems to be ok.
You've moved some things around for jshardware_common.c.
My concern is if the order of
will influence on the other micro's, that have I not tryed.
I will check the other later on.