pic16bit build error

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

pic16bit build error

Post by bmarkus » Tue Sep 29, 2015 2:21 pm

Building pic16bit from git fails at linking:

Code: Select all

...
...
CC ../stmhal/pybstdio.c
CC ../stmhal/pyexec.c
CC ../lib/mp-readline/readline.c
LINK build/firmware.elf
/opt/microchip/xc16/v1.25/bin/bin/elf-ld: cannot find -lp33FJ256GP506
Makefile:59: recipe for target 'build/firmware.elf' failed
make: *** [build/firmware.elf] Error 255

[root@localhost pic16bit]# 
 
Using latest Microchip toolchain on LINUX. Only modification made in Makefile the path to the toolchain due to different version number, otherwise a clean system. Any idea what is wrong?

Béla
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Re: pic16bit build error

Post by bmarkus » Tue Sep 29, 2015 3:39 pm

Found. Libraries are not shipped with the compiler from version 1.25, separate download :(

With 1.24 version of xc16 it builds with no error.
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

Post Reply