mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
This commit is contained in:
parent
d6290b8e48
commit
218c59e058
|
@ -88,7 +88,7 @@
|
|||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 90 )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 40 * 1024 ) )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 30 * 1024 ) )
|
||||
#define configMAX_TASK_NAME_LEN ( 10 )
|
||||
#define configUSE_TRACE_FACILITY 1
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
|
|
|
@ -51,6 +51,7 @@ typedef struct {
|
|||
* may be read by receiving its flags field, similarly MAC_configure routine lets
|
||||
* you modify some of these flags.
|
||||
*/
|
||||
#include "net/pack_struct_start.h"
|
||||
typedef struct {
|
||||
addr_t base_address; /**< Register base address of the driver*/
|
||||
uint8_t flags; /**< Configuration of the driver*/
|
||||
|
@ -113,7 +114,8 @@ typedef struct {
|
|||
uint32_t tx_underflow_error; /**< Number of occurrences of; the FIFO was empty during
|
||||
the frame transmission.*/
|
||||
} statistics;
|
||||
} MAC_instance_t __attribute__((packed));
|
||||
} MAC_instance_t
|
||||
#include "net/pack_struct_end.h"
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
|
|
1675
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.ewd
Normal file
1675
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.ewd
Normal file
File diff suppressed because it is too large
Load diff
1913
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.ewp
Normal file
1913
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.ewp
Normal file
File diff suppressed because it is too large
Load diff
10
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.eww
Normal file
10
Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_IAR.eww
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<workspace>
|
||||
<project>
|
||||
<path>$WS_DIR$\RTOSDemo_IAR.ewp</path>
|
||||
</project>
|
||||
<batchBuild/>
|
||||
</workspace>
|
||||
|
||||
|
|
@ -376,3 +376,4 @@ volatile size_t xFreeStackSpace;
|
|||
reduced accordingly. */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -325,7 +325,7 @@ int main(void)
|
|||
vStartTimerDemoTask( mainTIMER_TEST_PERIOD );
|
||||
|
||||
/* Create the web server task. */
|
||||
// xTaskCreate( vuIP_Task, ( signed char * ) "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );
|
||||
xTaskCreate( vuIP_Task, ( signed char * ) "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );
|
||||
|
||||
/* Start the tasks and timer running. */
|
||||
vTaskStartScheduler();
|
||||
|
|
|
@ -283,7 +283,7 @@ int main(void)
|
|||
|
||||
|
||||
/* To keep linker happy. */
|
||||
int write( int i, char* c, int n)
|
||||
int __write( int i, char* c, int n)
|
||||
{
|
||||
(void)i;
|
||||
(void)n;
|
||||
|
|
|
@ -383,7 +383,7 @@ const unsigned char ucPHYAddress = 1;
|
|||
|
||||
MSS_MAC_init( ucPHYAddress );
|
||||
|
||||
MSS_MAC_set_callback( prvEMACEventListener );
|
||||
MSS_MAC_set_callback( ( MSS_MAC_callback_t ) prvEMACEventListener );
|
||||
|
||||
/* Setup the EMAC and the NVIC for MAC interrupts. */
|
||||
NVIC_SetPriority( EthernetMAC_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||
|
|
Loading…
Reference in a new issue