• AVR Freaks

Hot!Harmony v3 - FreeRTOS not compiling after basic code generation - vector_dispatch

Author
seccoxiru
Junior Member
  • Total Posts : 105
  • Reward points : 0
  • Joined: 2011/10/27 13:42:59
  • Location: 0
  • Status: offline
2020/02/18 12:53:18 (permalink)
4 (1)

Harmony v3 - FreeRTOS not compiling after basic code generation - vector_dispatch

Today was my first try with Harmony.
I am using the newest MPLAB X version (v5.30), newest XC32 compiler version (v2.30) and newest Harmony versions.
I just created an MPLABx project, selected target device PIC32MX270F256D, then I only added the FreeRTOS module, nothing more, and clicked to generated the code.

Pictures attached of the compiling errors and harmony options, and also the complete log.
 
What is that? and how to correct?
Regards.
post edited by seccoxiru - 2020/02/18 12:55:18

Attached Image(s)

#1
LdB_ECM
Super Member
  • Total Posts : 358
  • Reward points : 0
  • Joined: 2019/04/16 22:01:25
  • Location: 0
  • Status: online
Re: Harmony v3 - FreeRTOS not compiling after basic code generation - vector_dispatch 2020/02/18 13:14:47 (permalink)
0
It tells you what the error is vector_dispatch_1 and vector_dispatch_4 are defined in both interrupts.c and in port.c (in freertos).
 
One of them has to go and as freertos is using them and interrupts.c is in a directory called default I am guessing it is the ones in interrupts.c that go.
 
If there is anything exciting happening merge the two codes so it does the code in both.
post edited by LdB_ECM - 2020/02/18 13:17:10
#2
optimus_jack
Junior Member
  • Total Posts : 78
  • Reward points : 0
  • Joined: 2017/02/16 03:02:47
  • Location: 0
  • Status: offline
Re: Harmony v3 - FreeRTOS not compiling after basic code generation - vector_dispatch 2020/02/18 21:41:06 (permalink)
0
seccoxiru
Today was my first try with Harmony.
I am using the newest MPLAB X version (v5.30), newest XC32 compiler version (v2.30) and newest Harmony versions.
I just created an MPLABx project, selected target device PIC32MX270F256D, then I only added the FreeRTOS module, nothing more, and clicked to generated the code.

Pictures attached of the compiling errors and harmony options, and also the complete log.
 
What is that? and how to correct?
Regards.


Hi,
I just tried to reproduce the problem and observed that adding the Core component in the project graph resolves issue.
 
I think when you add core component in the project it disables generation of vectors in interrupt.c which are used by FreeRTOS.
Core is a mandatory component for developing any application which uses drivers, system services, middleware and RTOS
post edited by optimus_jack - 2020/02/18 21:43:09

Attached Image(s)

#3
Jump to:
© 2020 APG vNext Commercial Version 4.5