Linux compile, LPC4330

Questions about the BASICtools and MakeItC
Post Reply
olzeke51
Posts: 409
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina

Linux compile, LPC4330

Post by olzeke51 »

Hello BasicChip,
Got a Linux MX-21.1 loaded , so thot I would try your Linux version of ARMBasic.
'
Followed the install guidelines, went well.
Tried and succeeded with the ARMStamp, and the 54102.

The LPC4330 board -- the GPP compiler highlighted two issues with LPC43xx.bas library file
1] LPC43xx.bas:1261: error: #define/#defeval requires an identifier or a single macro call
>>> grz added some spaces before the "'typedef " #define LPC_UART_ 'typedef ( LPC_USARTn_Type) '// for BASIC

2] LPC43xx.bas:2285: error: unfinished macro
look for defined( not followed by )
>>> grz line 1419 has an extra " ( "
HTH for the future - I know the '4330 is a prototype at this time
Gary



basicchip
Posts: 1057
Joined: Fri Oct 19, 2012 2:39 am
Location: Lake Tahoe, CA
Contact:

Re: Linux compile, LPC4330

Post by basicchip »

My Linux machines are still in storage, but looks like the issue is a typo in the LPC43xx.bas file

Fixing the first line, fixes it in Windows, most likely in Linux as well. The git has been updated and will roll out in future release.

Corrected file attached here
LPC43xx.bas
(175.5 KiB) Downloaded 17 times

Post Reply