nrf5/drivers: Block nrf51 from compiling epaper_sld00200p for the moment. There is no soft-pwm present yet, and including pwm would just make compilation fail now.
This commit is contained in:
parent
db9eef64a5
commit
c389872408
|
@ -27,6 +27,8 @@
|
||||||
#ifndef EPAPER_SLD00200P_DRIVER_H__
|
#ifndef EPAPER_SLD00200P_DRIVER_H__
|
||||||
#define EPAPER_SLD00200P_DRIVER_H__
|
#define EPAPER_SLD00200P_DRIVER_H__
|
||||||
|
|
||||||
|
#if NRF52 // TODO: For now only supported by NRF52 targets, as PWM soft-pwm is not present for nrf51 yet.
|
||||||
|
|
||||||
#include "py/mphal.h"
|
#include "py/mphal.h"
|
||||||
|
|
||||||
#include "hal_spi.h"
|
#include "hal_spi.h"
|
||||||
|
@ -58,4 +60,6 @@ void driver_sld00200p_clear(uint16_t color);
|
||||||
|
|
||||||
void driver_sld00200p_update_line(uint16_t line, fb_byte_t * p_bytes, fb_byte_t * p_old, uint16_t len, bool compressed);
|
void driver_sld00200p_update_line(uint16_t line, fb_byte_t * p_bytes, fb_byte_t * p_old, uint16_t len, bool compressed);
|
||||||
|
|
||||||
|
#endif // NRF52
|
||||||
|
|
||||||
#endif // EPAPER_SLD00200P_DRIVER_H__
|
#endif // EPAPER_SLD00200P_DRIVER_H__
|
||||||
|
|
Loading…
Reference in New Issue