EA LPC4357 Development Kits and emWin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EA LPC4357 Development Kits and emWin

632 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gokhannsahin on Tue Jun 30 04:53:35 MST 2015
  Hi everyone,

  I m new Arm programming. I have been trying to make emWin app with LPC4357 Dev.Kits and TFT 7.0 which is Embedded Artists too. But I couldn't . In sample app. which given by Embedded Artist' and in LPC Open 2.10 have no emwin sample app.  Do you have this sample app ?
Labels (1)
0 Kudos
2 Replies

387 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gokhannsahin on Wed Jul 01 07:45:02 MST 2015

   I have run emwin app. with tft 7.0 , but touch screen is wrong. it needs to calibration. Can I calibrate touch screen on emWin ? Should I change only LCDConf.c?
   TFT 800x480 7.0 . I have attached LCDConf.c file. 

 
/*********************************************************************
*                SEGGER Microcontroller GmbH & Co. KG                *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 1996 - 2012  SEGGER Microcontroller GmbH & Co. KG       *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************

** emWin V5.18 - Graphical user interface for embedded applications **
All  Intellectual Property rights  in the Software belongs to  SEGGER.
emWin is protected by  international copyright laws.  Knowledge of the
source code may not be used to write a similar product.  This file may
only be used in accordance with the following terms:

The software has been licensed to  NXP Semiconductors USA, Inc.  whose
registered  office  is  situated  at  1109 McKay Dr, M/S 76, San Jose, 
CA 95131, USA  solely for  the  purposes  of  creating  libraries  for 
NXPs M0, M3/M4 and  ARM7/9 processor-based  devices,  sublicensed  and
distributed under the terms and conditions of the NXP End User License
Agreement.
Full source code is available at: www.segger.com

We appreciate your understanding and fairness.
----------------------------------------------------------------------
File        : LCDConf.c
Purpose     : Display controller configuration (single layer)
---------------------------END-OF-HEADER------------------------------
*/

#include "GUI.h"
#include "GUIDRV_Lin.h"
#include "board.h"

/*********************************************************************
*
*       Layer configuration (to be modified)
*
**********************************************************************
*/
//
// Physical display size
//
#define XSIZE_PHYS  (BOARD_LCD.PPL)  // 240
#define YSIZE_PHYS  (BOARD_LCD.LPP)  // 320

//
// Color conversion
//
#define COLOR_CONVERSION GUICC_M565

#define DISPLAY_ORIENTATION  (GUI_SWAP_XY | GUI_MIRROR_Y)

//
// Display driver
//
//#define DISPLAY_DRIVER GUIDRV_LIN_32
#if   (DISPLAY_ORIENTATION == (GUI_MIRROR_X))
  #define DISPLAY_DRIVER GUIDRV_LIN_OX_16
#elif (DISPLAY_ORIENTATION == (GUI_MIRROR_Y))
  #define DISPLAY_DRIVER GUIDRV_LIN_OY_16
#elif (DISPLAY_ORIENTATION == (GUI_MIRROR_X | GUI_MIRROR_Y))
  #define DISPLAY_DRIVER GUIDRV_LIN_OXY_16
#elif (DISPLAY_ORIENTATION == (GUI_SWAP_XY))
  #define DISPLAY_DRIVER GUIDRV_LIN_OS_16
#elif (DISPLAY_ORIENTATION == (GUI_SWAP_XY | GUI_MIRROR_X))
  #define DISPLAY_DRIVER GUIDRV_LIN_OSX_16
#elif (DISPLAY_ORIENTATION == (GUI_SWAP_XY | GUI_MIRROR_Y))
  #define DISPLAY_DRIVER GUIDRV_LIN_OSY_16
#else
  #define DISPLAY_DRIVER GUIDRV_LIN_16
#endif

//
// Touch screen
//
#define USE_TOUCH   1
//
// Touch screen calibration
#define TOUCH_X_MIN  (         0)  // 0x00E0
#define TOUCH_X_MAX  (XSIZE_PHYS)  // 0x0F40
#define TOUCH_Y_MIN  (         0)  // 0x00C0
#define TOUCH_Y_MAX  (YSIZE_PHYS)  // 0x0F60

//
// Buffers / VScreens
//
#define NUM_BUFFERS  1 // Number of multiple buffers to be used
#define NUM_VSCREENS 1 // Number of virtual screens to be used

/*********************************************************************
*
*       Configuration checking
*
**********************************************************************
*/
#ifndef   VRAM_ADDR
  #define VRAM_ADDR  (FRAMEBUFFER_ADDR)  // 0x28000000 // TBD by customer: This has to be the frame buffer start address
#endif
#ifndef   XSIZE_PHYS
  #error Physical X size of display is not defined!
#endif
#ifndef   YSIZE_PHYS
  #error Physical Y size of display is not defined!
#endif
#ifndef   COLOR_CONVERSION
  #error Color conversion not defined!
#endif
#ifndef   DISPLAY_DRIVER
  #error No display driver defined!
#endif
#ifndef   NUM_VSCREENS
  #define NUM_VSCREENS 1
#else
  #if (NUM_VSCREENS <= 0)
    #error At least one screeen needs to be defined!
  #endif
#endif
#if (NUM_VSCREENS > 1) && (NUM_BUFFERS > 1)
  #error Virtual screens and multiple buffers are not allowed!
#endif

#ifndef   DISPLAY_ORIENTATION
  #define DISPLAY_ORIENTATION  0
#endif

#if ((DISPLAY_ORIENTATION & GUI_SWAP_XY) != 0)
#define LANDSCAPE   1
#else
#define LANDSCAPE   0
#endif

#if (LANDSCAPE == 1)
#define WIDTH       YSIZE_PHYS  /* Screen Width (in pixels)         */
#define HEIGHT      XSIZE_PHYS  /* Screen Hight (in pixels)         */
#else
#define WIDTH       XSIZE_PHYS  /* Screen Width (in pixels)         */
#define HEIGHT      YSIZE_PHYS  /* Screen Hight (in pixels)         */
#endif

#if ((DISPLAY_ORIENTATION & GUI_SWAP_XY) != 0)
  #if ((DISPLAY_ORIENTATION & GUI_MIRROR_X) != 0)
    #define TOUCH_TOP    TOUCH_X_MAX
    #define TOUCH_BOTTOM TOUCH_X_MIN
  #else
    #define TOUCH_TOP    TOUCH_X_MIN
    #define TOUCH_BOTTOM TOUCH_X_MAX
  #endif
  #if ((DISPLAY_ORIENTATION & GUI_MIRROR_Y) != 0)
    #define TOUCH_LEFT   TOUCH_Y_MAX
    #define TOUCH_RIGHT  TOUCH_Y_MIN
  #else
    #define TOUCH_LEFT   TOUCH_Y_MIN
    #define TOUCH_RIGHT  TOUCH_Y_MAX
  #endif
#else
  #if ((DISPLAY_ORIENTATION & GUI_MIRROR_X) != 0)
    #define TOUCH_LEFT   TOUCH_X_MAX
    #define TOUCH_RIGHT  TOUCH_X_MIN
  #else
    #define TOUCH_LEFT   TOUCH_X_MIN
    #define TOUCH_RIGHT  TOUCH_X_MAX
  #endif
  #if ((DISPLAY_ORIENTATION & GUI_MIRROR_Y) != 0)
    #define TOUCH_TOP    TOUCH_Y_MAX
    #define TOUCH_BOTTOM TOUCH_Y_MIN
  #else
    #define TOUCH_TOP    TOUCH_Y_MIN
    #define TOUCH_BOTTOM TOUCH_Y_MAX
  #endif
#endif

/*********************************************************************
*
*       Public code
*
**********************************************************************
*/
/*********************************************************************
*
*       LCD_X_Config
*
* Purpose:
*   Called during the initialization process in order to set up the
*   display driver configuration.
*   
*/
void LCD_X_Config(void) {
  //
  // At first initialize use of multiple buffers on demand
  //
  #if (NUM_BUFFERS > 1)
    GUI_MULTIBUF_Config(NUM_BUFFERS);
  #endif
  //
  // Set display driver and color conversion for 1st layer
  //
  GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 0);
  //
  // Display driver configuration, required for Lin-driver
  //
  if (LCD_GetSwapXY()) {
    LCD_SetSizeEx (0, YSIZE_PHYS, XSIZE_PHYS);
    LCD_SetVSizeEx(0, YSIZE_PHYS * NUM_VSCREENS, XSIZE_PHYS);
  } else {
    LCD_SetSizeEx (0, XSIZE_PHYS, YSIZE_PHYS);
    LCD_SetVSizeEx(0, XSIZE_PHYS, YSIZE_PHYS * NUM_VSCREENS);
  }
  LCD_SetVRAMAddrEx(0, (void *)VRAM_ADDR);
 
  #if (USE_TOUCH == 1)
    //
    // Set orientation of touch screen
    //
    GUI_TOUCH_SetOrientation(DISPLAY_ORIENTATION);
    //
    // Calibrate touch screen
    //
    GUI_TOUCH_Calibrate(GUI_COORD_X, 0, WIDTH  - 1, TOUCH_LEFT, TOUCH_RIGHT);
    GUI_TOUCH_Calibrate(GUI_COORD_Y, 0, HEIGHT - 1, TOUCH_TOP,  TOUCH_BOTTOM);
  #endif

  //
  // Set user palette data (only required if no fixed palette is used)
  //
  #if defined(PALETTE)
    LCD_SetLUTEx(0, PALETTE);
  #endif
}

/*********************************************************************
*
*       LCD_X_DisplayDriver
*
* Purpose:
*   This function is called by the display driver for several purposes.
*   To support the according task the routine needs to be adapted to
*   the display controller. Please note that the commands marked with
*   'optional' are not cogently required and should only be adapted if 
*   the display controller supports these features.
*
* Parameter:
*   LayerIndex - Index of layer to be configured
*   Cmd        - Please refer to the details in the switch statement below
*   pData      - Pointer to a LCD_X_DATA structure
*
* Return Value:
*   < -1 - Error
*     -1 - Command not handled
*      0 - Ok
*/
int LCD_X_DisplayDriver(unsigned LayerIndex, unsigned Cmd, void * pData) {
  int r;

  switch (Cmd) {
  case LCD_X_INITCONTROLLER: {
    //
    // Called during the initialization process in order to set up the
    // display controller and put it into operation. If the display
    // controller is not initialized by any external routine this needs
    // to be adapted by the customer...
    //
    // ...
    return 0;
  }
  case LCD_X_SETVRAMADDR: {
    //
    // Required for setting the address of the video RAM for drivers
    // with memory mapped video RAM which is passed in the 'pVRAM' element of p
    //
    //LCD_X_SETVRAMADDR_INFO * p;
    //p = (LCD_X_SETVRAMADDR_INFO *)pData;
    //...
    return 0;
  }
  case LCD_X_SETORG: {
    //
    // Required for setting the display origin which is passed in the 'xPos' and 'yPos' element of p
    //
    //LCD_X_SETORG_INFO * p;
    //p = (LCD_X_SETORG_INFO *)pData;
    //...
    return 0;
  }
  case LCD_X_SHOWBUFFER: {
    //
    // Required if multiple buffers are used. The 'Index' element of p contains the buffer index.
    //
    //LCD_X_SHOWBUFFER_INFO * p;
    //p = (LCD_X_SHOWBUFFER_INFO *)pData;
    //...
    return 0;
  }
  case LCD_X_SETLUTENTRY: {
    //
    // Required for setting a lookup table entry which is passed in the 'Pos' and 'Color' element of p
    //
    //LCD_X_SETLUTENTRY_INFO * p;
    //p = (LCD_X_SETLUTENTRY_INFO *)pData;
    //...
    return 0;
  }
  case LCD_X_ON: {
    //
    // Required if the display controller should support switching on and off
    //
    return 0;
  }
  case LCD_X_OFF: {
    //
    // Required if the display controller should support switching on and off
    //
    // ...
    return 0;
  }
  default:
    r = -1;
  }
  return r;
}

/*********************************************************************
*
*       Global functions for GUI touch
*
********************************************************************/

#if (USE_TOUCH == 1)  // Used when touch screen support is enabled

/*********************************************************************
*
*       GUI_TOUCH_X_ActivateX()
*
* Function decription:
*   Called from GUI, if touch support is enabled.
*   Switches on voltage on X-axis,
*   prepares measurement for Y-axis.
*   Voltage on Y-axis is switched off.
*/
void GUI_TOUCH_X_ActivateX(void) {
}

/*********************************************************************
*
*       GUI_TOUCH_X_ActivateY()
*
* Function decription:
*   Called from GUI, if touch support is enabled.
*   Switches on voltage on Y-axis,
*   prepares measurement for X-axis.
*   Voltage on X-axis is switched off.
*/
void GUI_TOUCH_X_ActivateY(void) {
}

/*********************************************************************
*
*       GUI_TOUCH_X_MeasureX()
*
* Function decription:
*   Called from GUI, if touch support is enabled.
*   Measures voltage of X-axis.
*/
int  GUI_TOUCH_X_MeasureX(void) {
  return 0;
}

/*********************************************************************
*
*       GUI_TOUCH_X_MeasureY()
*
* Function decription:
*   Called from GUI, if touch support is enabled.
*   Measures voltage of Y-axis.
*/
int  GUI_TOUCH_X_MeasureY(void) {
  return 0;
}

#endif  // USE_TOUCH

/*************************** End of file ****************************/
0 Kudos

387 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gokhannsahin on Tue Jun 30 07:11:06 MST 2015

   I get a this error ;

GUI_Task.c:(.text.GUI_Unlock+0xa): undefined reference to `GUI_X_Unlock'
E:\emWin516_library\LPCXpresso_4\libemWin_516_LPCXpresso423_M4_LE_Redlib.a(GUI_Task.o): In function `GUI_Lock':
GUI_Task.c:(.text.GUI_Lock+0xc): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x14): undefined reference to `GUI_X_Lock'
GUI_Task.c:(.text.GUI_Lock+0x18): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x2e): undefined reference to `GUI_X_GetTaskId'
E:\emWin516_library\LPCXpresso_4\libemWin_516_LPCXpresso423_M4_LE_Redlib.a(GUI_Task.o): In function `GUITASK_Init':
GUI_Task.c:(.text.GUITASK_Init+0x36): undefined reference to `GUI_X_InitOS'
E:\emWin516_library\LPCXpresso_4\libemWin_516_LPCXpresso423_M4_LE_Redlib.a(GUI_Core.o): In function `GUI__Config':
GUI_Core.c:(.text.GUI__Config+0xc): undefined reference to `GUI_X_Config'
GUI_Core.c:(.text.GUI__Config+0x10): undefined reference to `LCD_X_Config'
E:\emWin516_library\LPCXpresso_4\libemWin_516_LPCXpresso423_M4_LE_Redlib.a(GUI_Core.o): In function `GUI_Init':
GUI_Core.c:(.text.GUI_Init+0xe): undefined reference to `GUI_X_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `StopWatch_Elapsed':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_chip_43xx\inc/stopwatch.h:61: undefined reference to `StopWatch_Start'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `StopWatch_DelayMs':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_chip_43xx\inc/stopwatch.h:116: undefined reference to `StopWatch_MsToTicks'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_chip_43xx\inc/stopwatch.h:117: undefined reference to `StopWatch_Start'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `StopWatch_DelayUs':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_chip_43xx\inc/stopwatch.h:128: undefined reference to `StopWatch_UsToTicks'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_chip_43xx\inc/stopwatch.h:129: undefined reference to `StopWatch_Start'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_DelayMs':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:133: undefined reference to `StopWatch_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_DelayUs':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:156: undefined reference to `StopWatch_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_Debug_Init':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:184: undefined reference to `Chip_UART_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:185: undefined reference to `Chip_UART_SetBaud'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_Init':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:299: undefined reference to `Chip_GPIO_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_I2C_Init':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:335: undefined reference to `Chip_I2C_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:336: undefined reference to `Chip_I2C_SetClockRate'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:337: undefined reference to `Chip_I2C_EventHandlerPolling'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:337: undefined reference to `Chip_I2C_EventHandlerPolling'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:337: undefined reference to `Chip_I2C_SetMasterEventHandler'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board.o): In function `Board_LCD_Init':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:363: undefined reference to `Chip_RGU_TriggerReset'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board.c:364: undefined reference to `Chip_RGU_InReset'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board_sysinit.o): In function `Board_SetupExtMemory':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:368: undefined reference to `Chip_EMC_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:370: undefined reference to `Chip_EMC_Dynamic_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:373: undefined reference to `Chip_EMC_Static_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:376: undefined reference to `Chip_EMC_Static_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:379: undefined reference to `Chip_EMC_Static_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(board_sysinit.o): In function `Board_SetupClocking':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/board_sysinit.c:393: undefined reference to `Chip_SetupCoreClock'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(ea_lcd_board.o): In function `I2CWrite':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/ea_lcd_board.c:145: undefined reference to `Chip_I2CM_XferBlocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(lcdb_eeprom.o): In function `I2CWrite':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/lcdb_eeprom.c:80: undefined reference to `Chip_I2CM_XferBlocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(lcdb_eeprom.o): In function `I2CRead':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/lcdb_eeprom.c:98: undefined reference to `Chip_I2CM_XferBlocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(pca9532.o): In function `I2CWrite':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/pca9532.c:70: undefined reference to `Chip_I2CM_XferBlocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(pca9532.o): In function `I2CRead':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/pca9532.c:88: undefined reference to `Chip_I2CM_XferBlocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(tsc2046_touch.o): In function `spiTransfer':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:144: undefined reference to `Chip_SSP_WriteFrames_Blocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:149: undefined reference to `Chip_SSP_ReadFrames_Blocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(tsc2046_touch.o): In function `touch_init':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:336: undefined reference to `Chip_SSP_Init'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:337: undefined reference to `Chip_SSP_SetMaster'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:338: undefined reference to `Chip_SSP_SetBitRate'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:353: undefined reference to `Chip_SSP_WriteFrames_Blocking'
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug\liblpc_board_ea_oem_4357.a(tsc2046_touch.o): In function `touch_xyz':
C:\Users\gokhan.sahin\Documents\LPCXpresso_6.1.2_177\workspace\lpc_board_ea_oem_4357\Debug/../src/tsc2046_touch.c:387: undefined reference to `Chip_SSP_WriteFrames_Blocking'
collect2: ld returned 1 exit status
make: *** [ea_touch_calibration.axf] Error 1


  I have attached my project with board and chip librarys.
0 Kudos