代码搜索结果
找到约 858 项符合
Stepper 的代码
makefile
# stepper/makefile
# Comment/uncomment the following line to enable/disable debugging
#DEBUG = y
# Change it here or specify it on the "make" commandline
INCLUDEDIR = /usr/include
ifeq ($(DEBUG),y)
stepper.h
/*
* stepper.h -- definitions for the char module
*
*********/
/*
* Macros to help debugging
*/
#undef PDEBUG /* undef it, just in case */
#ifdef STEP_DEBUG
# ifdef __KERNEL__
timelog
#!/bin/sh
#set -v
while true; do
echo T`date +%H:%M` M`cut -f 1 -d ' ' /proc/loadavg` > /dev/stepper
sleep 10; done
stepper.c
/*
* stepper.c -- char module
*
*********/
#ifndef __KERNEL__
# define __KERNEL__
#endif
#ifndef MODULE
# define MODULE
#endif
#define __NO_VERSION__ /* don't define kernel_verion in module.h *
main.c
/*
* timer application code
* compile :
* $arm-elf-gcc -Wl,-elf2flt -o keystep keyboard.c stepper.c
* $cp keystep /tftpboot/examples
* run in target:
* #cd /var
*
main.c
/*
* timer application code
* compile :
* $arm-elf-gcc -Wl,-elf2flt -o keystep keyboard.c stepper.c
* $cp keystep /tftpboot/examples
* run in target:
* #cd /var
*
makefile
CC = arm-elf-gcc
LD = arm-elf-ld
EXEC = stepper
OBJS = stepper.o
CFLAGS +=
LDFLAGS += -Wl,-elf2flt
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS$(LDLIBS_$@))
cp $(EXEC) /t
stepper.apj
# ADT Project File, Format Version 1.00
# WARNING: DO NOT EDIT OR DELETE THIS FILE!
[APJ begin]
Active Config=_string(DEBUG)
[Project begin]
ProjectName=_string(stepper)
stepper.c
#include
#include
#include
#include "../include/44b.h"
#define STEP_INTERVALE 0x40
#define STEPER_VALUE_MIN 0x40
#def
stylerc
style "main"
{
#the style of vscrollbar
GtkVScrollbar::min-slider-length = 0
GtkVScrollbar::fixed-slider-length = 1
GtkVScrollbar::has-backward-stepper = 0
GtkVScrollbar::has-forward-stepper = 0