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

pull/4/head
Richard Barry 13 years ago
parent 3d48d67c14
commit 29c9a63c41

@ -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.

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

@ -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.

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

Loading…
Cancel
Save