Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Javier

Pages: 1 [2]
16
NXPTM M522XX, KINETIS and i.MX RT / uTasker 1.4 in MCXpresso
« on: March 30, 2018, 08:16:10 AM »
Hello,

FRDM-K64F
uTasker 1.4
MCUXpresso IDE v10.1.1 [Build 606] [2018-01-02]

I get these errors when I try to compile the project:

Quote
../Hardware/IIC_devices/IIC_dev.c: In function 'fnSimI2C_devices':
../Hardware/IIC_devices/IIC_dev.c:1398:10: error: 'I2C_ADDRESS' undeclared (first use in this function)
     case I2C_ADDRESS:
          ^~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:1398:10: note: each undeclared identifier is reported only once for each function it appears in
../Hardware/IIC_devices/IIC_dev.c:1510:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:1526:10: error: 'I2C_TX_DATA' undeclared (first use in this function)
     case I2C_TX_DATA:
          ^~~~~~~~~~~
 
../Hardware/IIC_devices/IIC_dev.c:1808:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:1825:10: error: 'I2C_RX_DATA' undeclared (first use in this function)
     case I2C_RX_DATA:
          ^~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:2020:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:2038:10: error: 'I2C_RX_COMPLETE' undeclared (first use in this function)
     case I2C_RX_COMPLETE:
          ^~~~~~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:2039:10: error: 'I2C_TX_COMPLETE' undeclared (first use in this function)
     case I2C_TX_COMPLETE:
          ^~~~~~~~~~~~~~~
Building file: ../Applications/uTaskerSerialBoot/serial_loader.c
make: *** [Hardware/IIC_devices/IIC_dev.o] Error 1
Hardware/IIC_devices/subdir.mk:18: recipe for target 'Hardware/IIC_devices/IIC_dev.o' failed

I followed this video https://www.youtube.com/watch?v=K8ScSgpgQ6M&feature=youtu.be

Regards

Pages: 1 [2]