Re: [Flashforth-devel] FF5.0 compilation problem
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2024-05-19 19:48:25
|
Hi Attila. Those two lines need to surrounded by "#ifdef USB_CDC". I will update the repository. To get a proper hex file you need to give command line parameters to the linker as described in p18f-main.inc PIC-AS does not have any linker scripts. The parameters needs to be supplied on the command line in PIC-AS global options. BR Mikael On 2024-05-19 19:25, Attila Herman wrote: > Hi Mikael, and the other FF friends, > I have downloaded the latest version of the FF5.0 to generate an > uptodate hex file instead of my old one for PIC18F26k42. Unfortunately > it caused some problem. > Two lines in the ff-pic18.S makes error: > ../src/ff-pic18.S:877:: error: (876) syntax error > ../src/ff-pic18.S:878:: error: (800) undefined symbol > "USBDriverService" > Without theese lines the compilation seemingly succesful, but the > result is unusable. Although the hex file contains the FF code, but it > is starting at $DC60 not at zero address, The 0 to DC5F range contains > FF. The eeprom also full of FF. > Please help me! > BR: > Attila Herman |