From 1570a96cad0b886f21a07eb13c3377a0f79abc1e Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Mon, 3 Feb 2014 21:11:48 -0800 Subject: Initial support for Netduino This also fixes up the IRQ for the PYBOARD4 USERSW although I was unable to test that functionality. --- stm/lcd.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stm/lcd.c') diff --git a/stm/lcd.c b/stm/lcd.c index 6f5019db1..01ef1c154 100644 --- a/stm/lcd.c +++ b/stm/lcd.c @@ -4,6 +4,9 @@ #include "nlr.h" #include "misc.h" #include "mpconfig.h" + +#if MICROPY_HW_HAS_LCD + #include "qstr.h" #include "parse.h" #include "obj.h" @@ -378,3 +381,5 @@ void lcd_print_strn(const char *str, unsigned int len) { sys_tick_delay_ms(50); } } + +#endif // MICROPY_HW_HAS_LCD -- cgit v1.2.3