OpenCores
URL https://opencores.org/ocsvn/de1_olpcl2294_system/de1_olpcl2294_system/trunk

Subversion Repositories de1_olpcl2294_system

[/] [de1_olpcl2294_system/] [trunk/] [sw/] [ecos/] [shell/] [main.c] - Diff between revs 3 and 7

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 3 Rev 7
//
//
//
//
//
//
 
 
#include "LPC22xx.h"
#include "LPC22xx.h"
 
 
extern void dbg_sh(void);
extern void dbg_sh(void);
 
 
 
 
 
 
int main(void)
int main(void)
{
{
  // enable cs3
  // enable cs3
  PINSEL2 = 0x0f814924;
  PINSEL2 = 0x0f814924;
 
 
  // configure BCFG3
  // configure BCFG3
  *((unsigned int *)0xFFE0000C) = 0x20007de7;
  *((unsigned int *)0xFFE0000C) = 0x20007de7;
 
 
  dbg_sh();
  dbg_sh();
 
 
  return( -1 );
  return( -1 );
}
}
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.