Skip to content
Snippets Groups Projects
Commit cd417249 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

configs/z80sim: Fix a naming problem. Also, don't try to build the serial...

configs/z80sim: Fix a naming problem.  Also, don't try to build the serial driver if CONFIG_NFILE_DESCRIPTOR=0.
parent ced5b6d5
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ void up_irqinitialize(void)
* NOTE: Normally, there are seperate enables for "global" interrupts
* and specific device interrupts. In such a "normal" case, the timer
* interrupt should be attached and enabled in the function
* z80sim_timer_initialize()
* z80_timer_initialize()
*/
irq_attach(Z80_IRQ_SYSTIMER, (xcpt_t)z80sim_timerisr, NULL);
......
......@@ -68,7 +68,7 @@ int z80sim_timerisr(int irq, FAR chipreg_t *regs, void *arg)
}
/****************************************************************************
* Function: z80sim_timer_initialize
* Function: z80_timer_initialize
*
* Description:
* This function is called during start-up to initialize the timer
......@@ -76,7 +76,7 @@ int z80sim_timerisr(int irq, FAR chipreg_t *regs, void *arg)
*
****************************************************************************/
void z80sim_timer_initialize(void)
void z80_timer_initialize(void)
{
/* The timer interrupt was attached in up_irqinitialize -- see comments there */
}
......@@ -43,15 +43,14 @@ CSRCS += lib_vsnprintf.c lib_libvsprintf.c lib_dprintf.c lib_vdprintf.c
CSRCS += lib_meminstream.c lib_memoutstream.c lib_memsistream.c
CSRCS += lib_memsostream.c lib_lowoutstream.c
CSRCS += lib_zeroinstream.c lib_nullinstream.c lib_nulloutstream.c
CSRCS += lib_sscanf.c
CSRCS += lib_sscanf.c lib_libnoflush.c lib_libsnoflush.c
# The remaining sources files depend upon file descriptors
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
CSRCS += lib_rawinstream.c lib_rawoutstream.c lib_rawsistream.c
CSRCS += lib_rawsostream.c lib_libnoflush.c lib_libsnoflush.c
CSRCS += lib_remove.c
CSRCS += lib_rawsostream.c lib_remove.c
# And these depend upon both file descriptors and C streams
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment