Linux compile, LPC4330
Posted: Mon Oct 17, 2022 12:19 am
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 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 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
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 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 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