mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
First task starting - woohoo!
This commit is contained in:
parent
78d3b371fd
commit
3f2375c020
|
@ -94,10 +94,9 @@ to exclude the API function. */
|
||||||
#define INCLUDE_vTaskDelay 1
|
#define INCLUDE_vTaskDelay 1
|
||||||
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define configKERNEL_INTERRUPT_PRIORITY 1
|
#define configKERNEL_INTERRUPT_PRIORITY 1
|
||||||
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to 0xa0, or priority 5. */
|
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4
|
||||||
|
|
||||||
|
void vApplicationSetupInterrupts( void );
|
||||||
|
|
||||||
#endif /* FREERTOS_CONFIG_H */
|
#endif /* FREERTOS_CONFIG_H */
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
#define portPIT_INTERRUPT_ENABLED ( 0x08 )
|
#define portPIT_INTERRUPT_ENABLED ( 0x08 )
|
||||||
#define configPIT0_INTERRUPT_VECTOR ( 55 )
|
#define configPIT0_INTERRUPT_VECTOR ( 55 )
|
||||||
|
|
||||||
static void vApplicationSetupInterrupts( void )
|
void vApplicationSetupInterrupts( void )
|
||||||
{
|
{
|
||||||
const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );
|
const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );
|
||||||
|
|
|
@ -28,7 +28,7 @@ OBJS = $(OUTPUT_DIR)/portasm.o \
|
||||||
$(OUTPUT_DIR)/tasks.o \
|
$(OUTPUT_DIR)/tasks.o \
|
||||||
$(OUTPUT_DIR)/queue.o \
|
$(OUTPUT_DIR)/queue.o \
|
||||||
$(OUTPUT_DIR)/heap_2.o \
|
$(OUTPUT_DIR)/heap_2.o \
|
||||||
$(OUTPUT_DIR)/FreeRTOS_Timer.o
|
$(OUTPUT_DIR)/FreeRTOS_Tick_Setup.o
|
||||||
|
|
||||||
C_DEPS = $(OBJS:.o=.d)
|
C_DEPS = $(OBJS:.o=.d)
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue