Revert "simulator.h: provide a minimalistic SPI fake."
After a number of simulator enhancements, it's no longer necessary to keep SPI support entirely away from it.
This commit is contained in:
parent
7e649c83dc
commit
72253ed932
10
simulator.h
10
simulator.h
|
|
@ -177,16 +177,6 @@ uint16_t sim_tick_counter(void);
|
||||||
uint64_t sim_runtime_ns(void); ///< Simulated run-time in nanoseconds
|
uint64_t sim_runtime_ns(void); ///< Simulated run-time in nanoseconds
|
||||||
void sim_time_warp(void); ///< skip ahead to next timer interrupt, when time_scale==0
|
void sim_time_warp(void); ///< skip ahead to next timer interrupt, when time_scale==0
|
||||||
|
|
||||||
/** SPI subsystem.
|
|
||||||
|
|
||||||
So far there isn't really one. Disable SD and fake the remaining
|
|
||||||
neccessary bits.
|
|
||||||
*/
|
|
||||||
#undef SD_CARD_SELECT_PIN
|
|
||||||
#undef SD
|
|
||||||
#define loop_until_bit_is_set(SPSR, SPIF)
|
|
||||||
uint8_t SPCR, SPDR, SPSR;
|
|
||||||
|
|
||||||
#define DIO0_PIN "proof of life"
|
#define DIO0_PIN "proof of life"
|
||||||
|
|
||||||
#endif /* _SIMULATOR_H */
|
#endif /* _SIMULATOR_H */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue