seadolphine2000
Advanced Member level 3
Hello,
I'm working on porting uC/OS-II V2.86 to WinAVR and Atmega128. I downloaded the porting files from Micrium - Home for AVR-GCC compiler. Also, I tried the test application provided but got the following errors:
These are the errors I got when compiling the whole project. I attached the whole folders structure.
Thanks a lot for your time and help.
I'm working on porting uC/OS-II V2.86 to WinAVR and Atmega128. I downloaded the porting files from Micrium - Home for AVR-GCC compiler. Also, I tried the test application provided but got the following errors:
Code:
./os_cfg.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OS_FLAGS'
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1448:6: error: #error "OS_CFG.H, Missing OS_FLAGS_NBITS: Determine #bits used for event flags, MUST be either 8, 16 or 32"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1490:6: error: #error "OS_CFG.H, Missing OS_MBOX_PEND_ABORT_EN: Include code for OSMboxPendAbort()"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1584:6: error: #error "OS_CFG.H, Missing OS_Q_PEND_ABORT_EN: Include code for OSQPendAbort()"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1622:6: error: #error "OS_CFG.H, Missing OS_SEM_PEND_ABORT_EN: Include code for OSSemPendAbort()"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1630:6: error: #error "OS_CFG.H, Missing OS_SEM_SET_EN: Include code for OSSemSet()"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1730:2: error: #error "OS_CFG.H, Missing OS_TMR_EN: When (1) enables code generation for Timer Management"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1792:2: error: #error "OS_CFG.H, Missing OS_APP_HOOKS_EN: Application-defined hooks are called from the uC/OS-II hooks"
/Micrium/Software/uCOS-II/Source/ucos_ii.h:1821:2: error: #error "OS_CFG.H, Missing OS_EVENT_MULTI_EN: Include code for OSEventPendMulti()"
These are the errors I got when compiling the whole project. I attached the whole folders structure.
Thanks a lot for your time and help.