mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 01:28:32 -04:00
Add FreeRTOS-Plus directory.
This commit is contained in:
parent
7bd5f21ad5
commit
f508a5f653
6798 changed files with 134949 additions and 19 deletions
31
FreeRTOS/Demo/uIP_Demo_IAR_ARM7/SrcIAR/init.c
Normal file
31
FreeRTOS/Demo/uIP_Demo_IAR_ARM7/SrcIAR/init.c
Normal file
|
@ -0,0 +1,31 @@
|
|||
//*----------------------------------------------------------------------------
|
||||
//* ATMEL Microcontroller Software Support - ROUSSET -
|
||||
//*----------------------------------------------------------------------------
|
||||
//* The software is delivered "AS IS" without warranty or condition of any
|
||||
//* kind, either express, implied or statutory. This includes without
|
||||
//* limitation any warranty or condition with respect to merchantability or
|
||||
//* fitness for any particular purpose, or against the infringements of
|
||||
//* intellectual property rights of others.
|
||||
//*----------------------------------------------------------------------------
|
||||
//* File Name : init.c
|
||||
//* Object : Low level initialisations written in C
|
||||
//* Creation : ODi 06/26/2002
|
||||
//*
|
||||
//*----------------------------------------------------------------------------
|
||||
#include "board.h"
|
||||
//#include "init.h"
|
||||
#include <string.h>
|
||||
|
||||
//*----------------------------------------------------------------------------
|
||||
//* \fn AT91F_DBGU_Printk
|
||||
//* \brief This function is used to send a string through the DBGU channel (Very low level debugging)
|
||||
//*----------------------------------------------------------------------------
|
||||
void AT91F_DBGU_Printk(
|
||||
char *buffer) // \arg pointer to a string ending by \0
|
||||
{
|
||||
while(*buffer != '\0') {
|
||||
while (!AT91F_US_TxReady((AT91PS_USART)AT91C_BASE_DBGU));
|
||||
AT91F_US_PutChar((AT91PS_USART)AT91C_BASE_DBGU, *buffer++);
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue