Add a few lines to the RX ports that allow the vector to be installed when the FreeRTOS code is built as a library.

This commit is contained in:
Richard Barry 2012-01-13 16:41:42 +00:00
parent 3d48d67c14
commit 29c9a63c41
4 changed files with 18 additions and 0 deletions

View file

@ -73,6 +73,14 @@ PSW is set with U and I set, and PM and IPL clear. */
/*-----------------------------------------------------------*/
/* The following lines are to ensure vSoftwareInterruptEntry can be referenced,
and therefore installed in the vector table, when the FreeRTOS code is built
as a library. */
extern portBASE_TYPE vSoftwareInterruptEntry;
const portBASE_TYPE * p_vSoftwareInterruptEntry = &vSoftwareInterruptEntry;
/*-----------------------------------------------------------*/
/*
* Function to start the first task executing - written in asm code as direct
* access to registers is required.

View file

@ -51,6 +51,7 @@
; licensing and training services.
;*/
.GLB _vSoftwareInterruptISR
.GLB _vSoftwareInterruptEntry
.SECTION P,CODE

View file

@ -74,6 +74,14 @@ PSW is set with U and I set, and PM and IPL clear. */
/*-----------------------------------------------------------*/
/* The following lines are to ensure vSoftwareInterruptEntry can be referenced,
and therefore installed in the vector table, when the FreeRTOS code is built
as a library. */
extern portBASE_TYPE vSoftwareInterruptEntry;
const portBASE_TYPE * p_vSoftwareInterruptEntry = &vSoftwareInterruptEntry;
/*-----------------------------------------------------------*/
/*
* Function to start the first task executing - written in asm code as direct
* access to registers is required.

View file

@ -51,6 +51,7 @@
; licensing and training services.
;*/
.GLB _vSoftwareInterruptISR
.GLB _vSoftwareInterruptEntry
.SECTION P,CODE