summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
62c6445)
# Files included by the user.
lpc2378_USER_CSRC = \
examples/lpc2378/main.c \
# Files included by the user.
lpc2378_USER_CSRC = \
examples/lpc2378/main.c \
+ bertos/drv/timer.c \
+ bertos/cpu/arm/drv/vic_lpc2.c \
+ bertos/cpu/arm/drv/timer_lpc2.c \
#
# Files included by the user.
#
# Files included by the user.
// Emtpy main.c file generated by the wizard
#include <cpu/irq.h>
#include <cfg/debug.h>
// Emtpy main.c file generated by the wizard
#include <cpu/irq.h>
#include <cfg/debug.h>
#include <io/lpc23xx.h>
#define STATUS_LED (1<<19)
#include <io/lpc23xx.h>
#define STATUS_LED (1<<19)
{
IRQ_ENABLE;
kdbg_init();
{
IRQ_ENABLE;
kdbg_init();
kprintf("NXP LPC2378 BeRTOS port test\n");
/* Turn off boot led */
IODIR0 = (1<<21);
kprintf("NXP LPC2378 BeRTOS port test\n");
/* Turn off boot led */
IODIR0 = (1<<21);
kprintf("BeRTOS is up & running: %c\r",
spinner[i % countof(spinner)]);
LED_ON();
kprintf("BeRTOS is up & running: %c\r",
spinner[i % countof(spinner)]);
LED_ON();
- for (int j = 0; j < 200000; j++ );
- for (int j = 0; j < 200000; j++ );