You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cross compiling the open-plc-utils for the PL-16 board leads to the following compile error:
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin//arm-none-linux-gnueabi-gcc -c amptone.c -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -D__FREESCALE__ -DAR7x00
amptone.c: In function 'main':
amptone.c:179: error: 'AMPTONE_COUPLING' undeclared (first use in this function)
amptone.c:179: error: (Each undeclared identifier is reported only once
amptone.c:179: error: for each function it appears in.)
make[1]: *** [amptone.o] Error 1
make[1]: Leaving directory '/home/user/freescale/open-plc-utils-master/plc'
make: *** [all] Error 1
Constant AMPTONE_COUPLING has been replaced by constant PLCOUPLING which is defined in plc.h. The concept of coupling is new and only applies to QCA Smart Grid devices. Basically, coupling specifies whether to use line-neutral or line-ground when sampling tone maps. THe move to PLCOUPLING will be uploaded later tonight.
Cross compiling the open-plc-utils for the PL-16 board leads to the following compile error:
Used settings from make.defs:
Workaround - adding the following define to the files plctone.c and amptone.c:
The text was updated successfully, but these errors were encountered: