micpython 编译lcd模块 无法找到函数

发布于 2020-06-19 11:33:43
这些函数是要自己实现吗,在源码里找不到

machine_lcd.c:(.text.machine_lcd_show_image+0x5a): undefined reference to `lcd_show_image'

machine_lcd.c:(.text.machine_lcd_set_color+0x28): undefined reference to `lcd_set_color'

machine_lcd.c:(.text.machine_lcd_fill+0xa): undefined reference to `lcd_clear'

machine_lcd.c:(.text.machine_lcd_light+0xc): undefined reference to `lcd_display_on'

machine_lcd.c:(.text.machine_lcd_circle+0x4e): undefined reference to `lcd_draw_circle'

(.text.machine_lcd_rectangle+0x7a): undefined reference to `lcd_draw_rectangle'/mnt/g/toolchain/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld: machine_lcd.c:(.text.machine_lcd_line+0x7a): undefined reference to `lcd_draw_line'

/mnt/g/toolchain/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld: machine_lcd.c:(.text.machine_lcd_text+0x7c): undefined reference to `lcd_show_string'

/mnt/g/toolchain/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld: machine_lcd.c:(.text.machine_lcd_pixel+0x4a): undefined reference to `lcd_draw_point_color'
collect2: error: ld returned 1 exit status
scons: *** [rtthread.elf] Error 1
scons: building terminated because of errors.

查看更多

关注者
0
被浏览
174
1 个回答
我夏了夏天
我夏了夏天 2020-06-19
这个应该是特定开发板里面实现的,跟硬件有关系

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友