• AVR Freaks

Hot!Unknown type names for ENC28J60 compilation after default tools install

Author
msurmei
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2009/05/12 02:00:44
  • Location: Romania
  • Status: offline
2018/07/22 22:54:04 (permalink)
0

Unknown type names for ENC28J60 compilation after default tools install

After installing under Linux ( Debian Stretch) the  tools ( mplabx v5.00, xc32 v2.10, harmony v2_06) with default settings (paths and so on ...) and running ( even as root ...) the mplab ide + harmony configurator + PIC32MX150F128B, when adding the enc28j60 driver several unknown types are reported, for example:
drv_enc28j60_detect_state.h:63:1: error: unknown type name 'int32_t'
int32_t DRV_ENC28J60_DetectStateTask(struct _DRV_ENC28J60_DriverInfo * pDrvInst);
drv_enc28j60_configure_state.h:106:5: error: unknown type name 'uintptr_t'
uintptr_t op;
drv_enc28j60_check_status_state.h:53:5: error: unknown type name 'bool'
bool linkState;
drv_enc28j60.h:125:2: error: unknown type name 'PORTS_CHANNEL'
PORTS_CHANNEL spiSSPortChannel;
 
What else should I include in the project? As I said, everything is as "default" as possible.
 
#1

3 Replies Related Threads

    kyrk
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2010/03/07 01:48:47
    • Location: 0
    • Status: offline
    Re: Unknown type names for ENC28J60 compilation after default tools install 2018/08/11 05:24:04 (permalink)
    0
    Try to add a BSP to your project. I think that will include the bsp.h in system_config.h
    This bsp.h must include other files with base types. This will solve the problem. I struggle also with this and today I managed to do a diff betwen an example and my project.
    #2
    msurmei
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2009/05/12 02:00:44
    • Location: Romania
    • Status: offline
    Re: Unknown type names for ENC28J60 compilation after default tools install 2018/08/20 08:35:23 (permalink)
    0
    Thanks a lot!
    #3
    Kartha
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2017/07/14 21:44:40
    • Location: 0
    • Status: offline
    Re: Unknown type names for ENC28J60 compilation after default tools install 2019/09/11 19:41:01 (permalink)
    0
    Hello msurmei, did the above suggestion solved your problem? Am also facing the same issue, but I don't know which BSP package to include. Following are the details about my project: 
    Controller used: PIC32MZ1024EFK064.
    Harmony version: v2_06
    Compiler: XC32 v2.10.
    IDE version; 5.05.
    As a trial and error I just added the Explorer 16 BSP but end up with new errors. Please share your experience.
    Thanks a lot.
     
     
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5