A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix
This commit is contained in:
parent
42cae1c6c9
commit
bb2dcaa057
572 changed files with 1708 additions and 1708 deletions
|
@ -32,8 +32,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __6502DEF_H__
|
||||
#define __6502DEF_H__
|
||||
#ifndef S502DEF_H_
|
||||
#define S502DEF_H_
|
||||
|
||||
#include <ctype.h>
|
||||
#include <conio.h>
|
||||
|
@ -160,4 +160,4 @@ typedef unsigned short uip_stats_t;
|
|||
#define cfs_remove remove
|
||||
#endif /* WITH_PFS */
|
||||
|
||||
#endif /* __6502DEF_H__ */
|
||||
#endif /* S502DEF_H_ */
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H__
|
||||
#define __CONFIG_H__
|
||||
#ifndef CONFIG_H_
|
||||
#define CONFIG_H_
|
||||
|
||||
struct ethernet_config * CC_FASTCALL config_read(char *filename);
|
||||
|
||||
#endif /* __CONFIG_H__ */
|
||||
#endif /* CONFIG_H_ */
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ERROR_H__
|
||||
#define __ERROR_H__
|
||||
#ifndef ERROR_H_
|
||||
#define ERROR_H_
|
||||
|
||||
void error_exit(void);
|
||||
|
||||
#endif /* __ERROR_H__ */
|
||||
#endif /* ERROR_H_ */
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __PFS_H__
|
||||
#define __PFS_H__
|
||||
#ifndef PFS_H_
|
||||
#define PFS_H_
|
||||
|
||||
int __fastcall__ pfs_open(const char* name, int flags);
|
||||
void __fastcall__ pfs_close(int fd);
|
||||
|
@ -42,4 +42,4 @@ int __fastcall__ pfs_write(int fd, void* buf, unsigned int len);
|
|||
int __fastcall__ pfs_seek(int fd, int offset, int whence);
|
||||
int __fastcall__ pfs_remove(const char *name);
|
||||
|
||||
#endif /* __PFS_H__ */
|
||||
#endif /* PFS_H_ */
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __UNLOAD_H__
|
||||
#define __UNLOAD_H__
|
||||
#ifndef UNLOAD_H_
|
||||
#define UNLOAD_H_
|
||||
|
||||
#define LOADER_UNLOAD unload
|
||||
|
||||
void unload(void);
|
||||
|
||||
#endif /* __UNLOAD_H__ */
|
||||
#endif /* UNLOAD_H_ */
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ETHERNET_DRV_H__
|
||||
#define __ETHERNET_DRV_H__
|
||||
#ifndef ETHERNET_DRV_H_
|
||||
#define ETHERNET_DRV_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
|
@ -44,4 +44,4 @@ PROCESS_NAME(ethernet_process);
|
|||
|
||||
uint8_t ethernet_output(void);
|
||||
|
||||
#endif /* __ETHERNET_DRV_H__ */
|
||||
#endif /* ETHERNET_DRV_H_ */
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ETHERNET_H__
|
||||
#define __ETHERNET_H__
|
||||
#ifndef ETHERNET_H_
|
||||
#define ETHERNET_H_
|
||||
|
||||
void CC_FASTCALL ethernet_init(struct ethernet_config *config);
|
||||
uint16_t ethernet_poll(void);
|
||||
void ethernet_send(void);
|
||||
void ethernet_exit(void);
|
||||
|
||||
#endif /* __ETHERNET_H__ */
|
||||
#endif /* ETHERNET_H_ */
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
within a function.
|
||||
*/
|
||||
|
||||
#ifndef __LC_H__
|
||||
#define __LC_H__
|
||||
#ifndef LC_H_
|
||||
#define LC_H_
|
||||
|
||||
typedef void * lc_t;
|
||||
|
||||
|
@ -48,4 +48,4 @@ void __fastcall__ lc_resume(lc_t *lc);
|
|||
#define LC_INIT(lc) (lc) = NULL
|
||||
#define LC_END(lc)
|
||||
|
||||
#endif /* __LC_H__ */
|
||||
#endif /* LC_H_ */
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
#define MTARCH_CPUSTACKSIZE 256
|
||||
#define MTARCH_CSTACKSIZE 256
|
||||
|
@ -46,4 +46,4 @@ struct mtarch_thread {
|
|||
unsigned char zp [MTARCH_ZPSIZE];
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
|
||||
|
@ -39,4 +39,4 @@
|
|||
|
||||
#define rtimer_arch_now() clock_time()
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DEBUG_UART_H__1V2039076V__
|
||||
#define __DEBUG_UART_H__1V2039076V__
|
||||
#ifndef DEBUG_UART_H_1V2039076V__
|
||||
#define DEBUG_UART_H_1V2039076V__
|
||||
|
||||
|
||||
void
|
||||
|
@ -30,4 +30,4 @@ dbg_blocking_putchar(const char ch);
|
|||
void
|
||||
dbg_drain();
|
||||
|
||||
#endif /* __DEBUG_UART_H__1V2039076V__ */
|
||||
#endif /* DEBUG_UART_H_1V2039076V__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __IO_H__7UTLUP9AG6__
|
||||
#define __IO_H__7UTLUP9AG6__
|
||||
#ifndef IO_H_7UTLUP9AG6__
|
||||
#define IO_H_7UTLUP9AG6__
|
||||
|
||||
#include <AT91SAM7S64.h>
|
||||
|
||||
|
@ -12,4 +12,4 @@ int splhigh(void);
|
|||
|
||||
void splx(int saved);
|
||||
|
||||
#endif /* __IO_H__7UTLUP9AG6__ */
|
||||
#endif /* IO_H_7UTLUP9AG6__ */
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
*/
|
||||
#ifndef __CODEPROP_H__
|
||||
#define __CODEPROP_H__
|
||||
#ifndef CODEPROP_H_
|
||||
#define CODEPROP_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
|
@ -48,4 +48,4 @@ extern struct elfloader_output *codeprop_output;
|
|||
|
||||
extern char *codeprop_filesystem;
|
||||
|
||||
#endif /* __CODEPROP_H__ */
|
||||
#endif /* CODEPROP_H_ */
|
||||
|
|
|
@ -63,8 +63,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ELFLOADER_ARCH_H__
|
||||
#define __ELFLOADER_ARCH_H__
|
||||
#ifndef ELFLOADER_ARCH_H_
|
||||
#define ELFLOADER_ARCH_H_
|
||||
|
||||
#include "elfloader-otf.h"
|
||||
|
||||
|
@ -94,7 +94,7 @@ int elfloader_arch_relocate(int input_fd,
|
|||
char *sectionaddr,
|
||||
struct elf32_rela *rela, char *addr);
|
||||
|
||||
#endif /* __ELFLOADER_ARCH_H__ */
|
||||
#endif /* ELFLOADER_ARCH_H_ */
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __ELFLOADER_H__
|
||||
#define __ELFLOADER_H__
|
||||
#ifndef ELFLOADER_H_
|
||||
#define ELFLOADER_H_
|
||||
|
||||
#include "cfs/cfs.h"
|
||||
|
||||
|
@ -308,7 +308,7 @@ struct elf32_rela {
|
|||
};
|
||||
|
||||
|
||||
#endif /* __ELFLOADER_H__ */
|
||||
#endif /* ELFLOADER_H_ */
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __RAM_SEGMENTS_H__8EDB9N09UD__
|
||||
#define __RAM_SEGMENTS_H__8EDB9N09UD__
|
||||
#ifndef RAM_SEGMENTS_H_8EDB9N09UD__
|
||||
#define RAM_SEGMENTS_H_8EDB9N09UD__
|
||||
|
||||
PROCESS_NAME(ram_segments_cleanup_process);
|
||||
|
||||
#endif /* __RAM_SEGMENTS_H__8EDB9N09UD__ */
|
||||
#endif /* RAM_SEGMENTS_H_8EDB9N09UD__ */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __RTIMER_ARCH_INTERRUPT_H__P0PXG70757__
|
||||
#define __RTIMER_ARCH_INTERRUPT_H__P0PXG70757__
|
||||
#ifndef RTIMER_ARCH_INTERRUPT_H_P0PXG70757__
|
||||
#define RTIMER_ARCH_INTERRUPT_H_P0PXG70757__
|
||||
|
||||
void rtimer_interrupt (void);
|
||||
|
||||
#endif /* __RTIMER_ARCH_INTERRUPT_H__P0PXG70757__ */
|
||||
#endif /* RTIMER_ARCH_INTERRUPT_H_P0PXG70757__ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Simon Berg <ksb@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
|
||||
|
@ -19,4 +19,4 @@ void rtimer_arch_set(rtimer_clock_t t);
|
|||
|
||||
rtimer_clock_t rtimer_arch_now(void);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SYS_INTERRUPT_H__QIHZ66NP8K__
|
||||
#define __SYS_INTERRUPT_H__QIHZ66NP8K__
|
||||
#ifndef SYS_INTERRUPT_H_QIHZ66NP8K__
|
||||
#define SYS_INTERRUPT_H_QIHZ66NP8K__
|
||||
|
||||
|
||||
/* Returns true if it handled an activbe interrupt */
|
||||
|
@ -28,4 +28,4 @@ sys_interrupt_prepend_handler(SystemInterruptHandler *handler);
|
|||
void
|
||||
sys_interrupt_remove_handler(SystemInterruptHandler *handler);
|
||||
|
||||
#endif /* __SYS_INTERRUPT_H__QIHZ66NP8K__ */
|
||||
#endif /* SYS_INTERRUPT_H_QIHZ66NP8K__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_INTERRUPT_H__0HRIPZ5SIA__
|
||||
#define __USB_INTERRUPT_H__0HRIPZ5SIA__
|
||||
#ifndef USB_INTERRUPT_H_0HRIPZ5SIA__
|
||||
#define USB_INTERRUPT_H_0HRIPZ5SIA__
|
||||
|
||||
void
|
||||
usb_int (void);
|
||||
|
@ -18,4 +18,4 @@ usb_arch_suspend_int();
|
|||
void
|
||||
usb_arch_resume_int();
|
||||
|
||||
#endif /* __USB_INTERRUPT_H__0HRIPZ5SIA__ */
|
||||
#endif /* USB_INTERRUPT_H_0HRIPZ5SIA__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __EFSL_CONFIG_H__
|
||||
#define __EFSL_CONFIG_H__
|
||||
#ifndef EFSL_CONFIG_H_
|
||||
#define EFSL_CONFIG_H_
|
||||
|
||||
/* Close enough */
|
||||
#define HW_ENDPOINT_LPC2000_SD
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SDCARD_H__KJBBKS6O57__
|
||||
#define __SDCARD_H__KJBBKS6O57__
|
||||
#ifndef SDCARD_H_KJBBKS6O57__
|
||||
#define SDCARD_H_KJBBKS6O57__
|
||||
|
||||
#include <efs.h>
|
||||
#include <ls.h>
|
||||
|
@ -24,4 +24,4 @@ extern process_event_t sdcard_removed_event;
|
|||
void
|
||||
sdcard_event_process(struct process *p);
|
||||
|
||||
#endif /* __SDCARD_H__KJBBKS6O57__ */
|
||||
#endif /* SDCARD_H_KJBBKS6O57__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __EFSL_SPI_H__6B6MX40N68__
|
||||
#define __EFSL_SPI_H__6B6MX40N68__
|
||||
#ifndef EFSL_SPI_H_6B6MX40N68__
|
||||
#define EFSL_SPI_H_6B6MX40N68__
|
||||
|
||||
#include <types.h>
|
||||
|
||||
|
@ -18,4 +18,4 @@ void if_spiSetSpeed(euint8 speed);
|
|||
euint8 if_spiSend(hwInterface *iface, euint8 outgoing);
|
||||
|
||||
|
||||
#endif /* __EFSL_SPI_H__6B6MX40N68__ */
|
||||
#endif /* EFSL_SPI_H_6B6MX40N68__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SDCARD_H__KJBBKS6O57__
|
||||
#define __SDCARD_H__KJBBKS6O57__
|
||||
#ifndef SDCARD_H_KJBBKS6O57__
|
||||
#define SDCARD_H_KJBBKS6O57__
|
||||
|
||||
#include <sys/process.h>
|
||||
|
||||
|
@ -19,4 +19,4 @@ extern process_event_t sdcard_removed_event;
|
|||
void
|
||||
sdcard_event_process(struct process *p);
|
||||
|
||||
#endif /* __SDCARD_H__KJBBKS6O57__ */
|
||||
#endif /* SDCARD_H_KJBBKS6O57__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __STRFORMAT_H__
|
||||
#define __STRFORMAT_H__
|
||||
#ifndef STRFORMAT_H_
|
||||
#define STRFORMAT_H_
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
@ -22,4 +22,4 @@ int format_str(const StrFormatContext *ctxt, const char *format, ...)
|
|||
int
|
||||
format_str_v(const StrFormatContext *ctxt, const char *format, va_list ap);
|
||||
|
||||
#endif /* __STRFORMAT_H__ */
|
||||
#endif /* STRFORMAT_H_ */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __CDC_ACM_H__UFV6K50827__
|
||||
#define __CDC_ACM_H__UFV6K50827__
|
||||
#ifndef CDC_ACM_H_UFV6K50827__
|
||||
#define CDC_ACM_H_UFV6K50827__
|
||||
|
||||
void
|
||||
usb_cdc_acm_setup();
|
||||
|
||||
#endif /* __CDC_ACM_H__UFV6K50827__ */
|
||||
#endif /* CDC_ACM_H_UFV6K50827__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_H__K1Q26ESJOC__
|
||||
#define __CDC_H__K1Q26ESJOC__
|
||||
#ifndef CDC_H_K1Q26ESJOC__
|
||||
#define CDC_H_K1Q26ESJOC__
|
||||
#include <usb.h>
|
||||
/* Communication Class */
|
||||
/* Class code */
|
||||
|
@ -211,4 +211,4 @@ struct usb_cdc_line_coding
|
|||
Uchar bDataBits;
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __CDC_H__K1Q26ESJOC__ */
|
||||
#endif /* CDC_H_K1Q26ESJOC__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_ETH_H__NUI0ULFC7C__
|
||||
#define __CDC_ETH_H__NUI0ULFC7C__
|
||||
#ifndef CDC_ETH_H_NUI0ULFC7C__
|
||||
#define CDC_ETH_H_NUI0ULFC7C__
|
||||
|
||||
#include <net/uip.h>
|
||||
|
||||
|
@ -10,4 +10,4 @@ usb_cdc_eth_set_ifaddr(uip_ipaddr_t *addr);
|
|||
void
|
||||
usb_cdc_eth_setup();
|
||||
|
||||
#endif /* __CDC_ETH_H__NUI0ULFC7C__ */
|
||||
#endif /* CDC_ETH_H_NUI0ULFC7C__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DHCPS_H__6M2XYUGNTK__
|
||||
#define __DHCPS_H__6M2XYUGNTK__
|
||||
#ifndef DHCPS_H_6M2XYUGNTK__
|
||||
#define DHCPS_H_6M2XYUGNTK__
|
||||
#include "contiki-net.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -44,4 +44,4 @@ struct dhcps_config
|
|||
**/
|
||||
void dhcps_init(const struct dhcps_config *conf);
|
||||
|
||||
#endif /* __DHCPS_H__6M2XYUGNTK__ */
|
||||
#endif /* DHCPS_H_6M2XYUGNTK__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#define __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#ifndef DESCRIPTORS_H_RPFUB8O7OV__
|
||||
#define DESCRIPTORS_H_RPFUB8O7OV__
|
||||
|
||||
#ifndef STRUCTGEN
|
||||
#include "usb.h"
|
||||
|
@ -7,4 +7,4 @@
|
|||
|
||||
extern const struct usb_st_device_descriptor device_descriptor;
|
||||
extern const struct usb_st_configuration_descriptor const *configuration_head;
|
||||
#endif /* __DESCRIPTORS_H__RPFUB8O7OV__ */
|
||||
#endif /* DESCRIPTORS_H_RPFUB8O7OV__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RBC_CONST_H__7YXZF39S33__
|
||||
#define __RBC_CONST_H__7YXZF39S33__
|
||||
#ifndef RBC_CONST_H_7YXZF39S33__
|
||||
#define RBC_CONST_H_7YXZF39S33__
|
||||
|
||||
#include <spc2_const.h>
|
||||
|
||||
|
@ -63,4 +63,4 @@
|
|||
|
||||
#define SCSI_WRITE_FUA 0x08
|
||||
|
||||
#endif /* __RBC_CONST_H__7YXZF39S33__ */
|
||||
#endif /* RBC_CONST_H_7YXZF39S33__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __RBC_STRUCT_H__10L0HKARRV__
|
||||
#define __RBC_STRUCT_H__10L0HKARRV__
|
||||
#ifndef RBC_STRUCT_H_10L0HKARRV__
|
||||
#define RBC_STRUCT_H_10L0HKARRV__
|
||||
|
||||
#include <spc2_struct.h>
|
||||
|
||||
|
@ -55,4 +55,4 @@ struct rbc_write_cmd
|
|||
} CC_BYTE_ALIGNED;
|
||||
|
||||
|
||||
#endif /* __RBC_STRUCT_H__10L0HKARRV__ */
|
||||
#endif /* RBC_STRUCT_H_10L0HKARRV__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SCSI_COMMAND_H__SR3ALQCZSH__
|
||||
#define __SCSI_COMMAND_H__SR3ALQCZSH__
|
||||
#ifndef SCSI_COMMAND_H_SR3ALQCZSH__
|
||||
#define SCSI_COMMAND_H_SR3ALQCZSH__
|
||||
|
||||
#define SCSI_CMD_CHANGE_DEFINITION 0x40
|
||||
#define SCSI_CMD_COMPARE 0x39
|
||||
|
@ -67,4 +67,4 @@
|
|||
|
||||
|
||||
|
||||
#endif /* __SCSI_COMMAND_H__SR3ALQCZSH__ */
|
||||
#endif /* SCSI_COMMAND_H_SR3ALQCZSH__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SPC2_STRUCT_H__6R1KTJP0NJ__
|
||||
#define __SPC2_STRUCT_H__6R1KTJP0NJ__
|
||||
#ifndef SPC2_STRUCT_H_6R1KTJP0NJ__
|
||||
#define SPC2_STRUCT_H_6R1KTJP0NJ__
|
||||
|
||||
typedef uint8_t uint40_bytes[5];
|
||||
typedef uint8_t uint32_bytes[4];
|
||||
|
@ -136,4 +136,4 @@ struct spc2_mode_page
|
|||
uint8_t page_length;
|
||||
} CC_BYTE_ALIGNED;
|
||||
|
||||
#endif /* __SPC2_STRUCT_H__6R1KTJP0NJ__ */
|
||||
#endif /* SPC2_STRUCT_H_6R1KTJP0NJ__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_MSC_BULK_H__SHSP6ONHDJ__
|
||||
#define __USB_MSC_BULK_H__SHSP6ONHDJ__
|
||||
#ifndef USB_MSC_BULK_H_SHSP6ONHDJ__
|
||||
#define USB_MSC_BULK_H_SHSP6ONHDJ__
|
||||
|
||||
#include <usb.h>
|
||||
#include <stdint.h>
|
||||
|
@ -100,4 +100,4 @@ usb_msc_receive_data_buf_flags(uint8_t *data, unsigned int len,
|
|||
|
||||
|
||||
|
||||
#endif /* __USB_MSC_BULK_H__SHSP6ONHDJ__ */
|
||||
#endif /* USB_MSC_BULK_H_SHSP6ONHDJ__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_API_H__SYN81IFYBN__
|
||||
#define __USB_API_H__SYN81IFYBN__
|
||||
#ifndef USB_API_H_SYN81IFYBN__
|
||||
#define USB_API_H_SYN81IFYBN__
|
||||
|
||||
#include <sys/process.h>
|
||||
|
||||
|
@ -142,4 +142,4 @@ usb_get_ep_events(uint8_t addr);
|
|||
unsigned int
|
||||
usb_get_current_configuration(void);
|
||||
|
||||
#endif /* __USB_API_H__SYN81IFYBN__ */
|
||||
#endif /* USB_API_H_SYN81IFYBN__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#define __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#ifndef USB_ARCH_H_0Z52ZDP0H6__
|
||||
#define USB_ARCH_H_0Z52ZDP0H6__
|
||||
|
||||
#include <contiki-conf.h>
|
||||
#include <usb-api.h>
|
||||
|
@ -89,4 +89,4 @@ usb_arch_get_global_events(void);
|
|||
int
|
||||
usb_arch_send_pending(uint8_t ep_addr);
|
||||
|
||||
#endif /* __USB_ARCH_H__0Z52ZDP0H6__ */
|
||||
#endif /* USB_ARCH_H_0Z52ZDP0H6__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_CORE_H__YIKJDA7S1X__
|
||||
#define __USB_CORE_H__YIKJDA7S1X__
|
||||
#ifndef USB_CORE_H_YIKJDA7S1X__
|
||||
#define USB_CORE_H_YIKJDA7S1X__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -20,4 +20,4 @@ void
|
|||
usb_get_ctrl_data(uint8_t *data, unsigned int length,
|
||||
usb_ctrl_data_callback cb);
|
||||
|
||||
#endif /* __USB_CORE_H__YIKJDA7S1X__ */
|
||||
#endif /* USB_CORE_H_YIKJDA7S1X__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_H__6PFTDPIMZM__
|
||||
#define __USB_H__6PFTDPIMZM__
|
||||
#ifndef USB_H_6PFTDPIMZM__
|
||||
#define USB_H_6PFTDPIMZM__
|
||||
#include <stdint.h>
|
||||
|
||||
/* Adapted from usb_kbd_enum.h in c5131-usb-kbd-light-1_0_2 package from
|
||||
|
@ -182,4 +182,4 @@ struct usb_st_language_descriptor
|
|||
Uint16 wlangid[1]; /* language id */
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __USB_H__6PFTDPIMZM__ */
|
||||
#endif /* USB_H_6PFTDPIMZM__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DEBUG_UART_H__1V2039076V__
|
||||
#define __DEBUG_UART_H__1V2039076V__
|
||||
#ifndef DEBUG_UART_H_1V2039076V__
|
||||
#define DEBUG_UART_H_1V2039076V__
|
||||
|
||||
#ifndef dbg_setup_uart
|
||||
#define dbg_setup_uart dbg_setup_uart_default
|
||||
|
@ -24,4 +24,4 @@ dbg_blocking_putchar(const char ch);
|
|||
void
|
||||
dbg_drain();
|
||||
|
||||
#endif /* __DEBUG_UART_H__1V2039076V__ */
|
||||
#endif /* DEBUG_UART_H_1V2039076V__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __GPIO_H__LK7NAD1HN8__
|
||||
#define __GPIO_H__LK7NAD1HN8__
|
||||
#ifndef GPIO_H_LK7NAD1HN8__
|
||||
#define GPIO_H_LK7NAD1HN8__
|
||||
#include <stm32f10x_map.h>
|
||||
|
||||
#define _GPIO_INPUT_ANALOG(h,l) 0
|
||||
|
@ -126,4 +126,4 @@ MODIFY_REG(AFIO->MAPR, AFIO_MAPR_SWJ_CFG | mask, AFIO_MAPR_SWJ_CFG_VALUE | value
|
|||
|
||||
|
||||
|
||||
#endif /* __GPIO_H__LK7NAD1HN8__ */
|
||||
#endif /* GPIO_H_LK7NAD1HN8__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __NVIC_H__LE94F5JS4D__
|
||||
#define __NVIC_H__LE94F5JS4D__
|
||||
#ifndef NVIC_H_LE94F5JS4D__
|
||||
#define NVIC_H_LE94F5JS4D__
|
||||
#include <stm32f10x_map.h>
|
||||
#include <stm32f10x_nvic.h>
|
||||
|
||||
|
@ -13,4 +13,4 @@ MODIFY_REG(NVIC->IPR[(i)/4], 0xf<<(((i)&3)*8), (p)<<(((i)&3)*8))
|
|||
|
||||
#define NVIC_SET_SYSTICK_PRI(p) MODIFY_REG(SCB->SHPR[2], 0xf<<24, (p)<<24)
|
||||
|
||||
#endif /* __NVIC_H__LE94F5JS4D__ */
|
||||
#endif /* NVIC_H_LE94F5JS4D__ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Simon Berg <ksb@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
|
||||
|
@ -16,4 +16,4 @@ void rtimer_arch_set(rtimer_clock_t t);
|
|||
|
||||
rtimer_clock_t rtimer_arch_now(void);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __AVR_BOOTLOADER_H__
|
||||
#define __AVR_BOOTLOADER_H__
|
||||
#ifndef AVR_BOOTLOADER_H_
|
||||
#define AVR_BOOTLOADER_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <avr/io.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __COMPILER_H__
|
||||
#define __COMPILER_H__
|
||||
#ifndef COMPILER_H_
|
||||
#define COMPILER_H_
|
||||
|
||||
#ifdef __IMAGECRAFT__
|
||||
|
||||
|
@ -36,4 +36,4 @@
|
|||
|
||||
|
||||
|
||||
#endif /* __COMPILER_H__ */
|
||||
#endif /* COMPILER_H_ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DEBUG_H__
|
||||
#define __DEBUG_H__
|
||||
#ifndef DEBUG_H_
|
||||
#define DEBUG_H_
|
||||
|
||||
#if 0
|
||||
#define debug_print(x)
|
||||
|
@ -17,4 +17,4 @@ void debug_print16(unsigned short v);
|
|||
|
||||
|
||||
|
||||
#endif /* __DEBUG_H__ */
|
||||
#endif /* DEBUG_H_ */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef __FLASH_H__
|
||||
#define __FLASH_H__
|
||||
#ifndef FLASH_H_
|
||||
#define FLASH_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
void flash_write_page(uint32_t page, uint8_t *buf);
|
||||
|
||||
#endif /* __FLASH_H__ */
|
||||
#endif /* FLASH_H_ */
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __RS232_H__
|
||||
#define __RS232_H__
|
||||
#ifndef RS232_H_
|
||||
#define RS232_H_
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include "contiki-conf.h"
|
||||
|
@ -155,4 +155,4 @@ rs232_send(uint8_t port, unsigned char c);
|
|||
void
|
||||
rs232_redirect_stdout (uint8_t port);
|
||||
|
||||
#endif /* __RS232_H__ */
|
||||
#endif /* RS232_H_ */
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef _COMPILER_H_
|
||||
#define _COMPILER_H_
|
||||
#ifndef COMPILER_H_
|
||||
#define COMPILER_H_
|
||||
|
||||
/*_____ I N C L U D E S ____________________________________________________*/
|
||||
|
||||
|
@ -347,5 +347,5 @@ typedef char r_uart_ptchar;
|
|||
#define Disable_interrupt() cli()
|
||||
|
||||
#endif
|
||||
#endif /* _COMPILER_H_ */
|
||||
#endif /*COMPILER_H_ */
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _CONF_USB_H_
|
||||
#define _CONF_USB_H_
|
||||
#ifndef CONF_USB_H_
|
||||
#define CONF_USB_H_
|
||||
|
||||
|
||||
|
||||
|
@ -153,4 +153,4 @@ extern void suspend_action(void);
|
|||
|
||||
/** @} */
|
||||
|
||||
#endif // _CONF_USB_H_
|
||||
#endif //CONF_USB_H_
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _CONFIG_H_
|
||||
#define _CONFIG_H_
|
||||
#ifndef CONFIG_H_
|
||||
#define CONFIG_H_
|
||||
|
||||
/**
|
||||
@addtogroup usb
|
||||
|
@ -109,5 +109,5 @@
|
|||
|
||||
/** @} */
|
||||
|
||||
#endif // _CONFIG_H_
|
||||
#endif //CONFIG_H_
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#ifndef __CDC_ECM_H__
|
||||
#define __CDC_ECM_H__
|
||||
#ifndef CDC_ECM_H_
|
||||
#define CDC_ECM_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include <stdint.h>
|
||||
|
@ -15,4 +15,4 @@ extern void cdc_ecm_set_ethernet_packet_filter(void);
|
|||
extern void cdc_ecm_configure_endpoints();
|
||||
extern void cdc_ecm_set_active(uint8_t value);
|
||||
|
||||
#endif // __CDC_ECM_H__
|
||||
#endif // CDC_ECM_H_
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#ifndef __CDC_EEM_H__
|
||||
#define __CDC_EEM_H__
|
||||
#ifndef CDC_EEM_H_
|
||||
#define CDC_EEM_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include <stdint.h>
|
||||
|
@ -9,4 +9,4 @@ extern void cdc_eem_process(void);
|
|||
extern uint8_t eem_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
|
||||
extern void cdc_eem_configure_endpoints();
|
||||
|
||||
#endif // __CDC_EEM_H__
|
||||
#endif // CDC_EEM_H_
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _RNDIS_TASK_H_
|
||||
#define _RNDIS_TASK_H_
|
||||
#ifndef RNDIS_TASK_H_
|
||||
#define RNDIS_TASK_H_
|
||||
|
||||
/**
|
||||
\addtogroup RNDIS
|
||||
|
@ -121,5 +121,5 @@ PROCESS_NAME(usb_eth_process);
|
|||
|
||||
/** @} */
|
||||
|
||||
#endif /* _RNDIS_TASK_H_ */
|
||||
#endif /*RNDIS_TASK_H_ */
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _UART_USB_LIB_H_
|
||||
#define _UART_USB_LIB_H_
|
||||
#ifndef UART_USB_LIB_H_
|
||||
#define UART_USB_LIB_H_
|
||||
|
||||
/**
|
||||
\addtogroup cdctask
|
||||
|
@ -85,6 +85,6 @@ extern void uart_usb_configure_endpoints();
|
|||
|
||||
/** @} **/
|
||||
|
||||
#endif /* _UART_USB_LIB_H_ */
|
||||
#endif /*UART_USB_LIB_H_ */
|
||||
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
@{
|
||||
*/
|
||||
|
||||
#ifndef _DFMEM_H_
|
||||
#define _DFMEM_H_
|
||||
#ifndef DFMEM_H_
|
||||
#define DFMEM_H_
|
||||
|
||||
#include "conf_access.h"
|
||||
#include "ctrl_status.h"
|
||||
|
@ -132,6 +132,6 @@ Ctrl_status avrf_usb_write( void );
|
|||
|
||||
|
||||
|
||||
#endif // _DFMEM_H_
|
||||
#endif //DFMEM_H_
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
@{
|
||||
*/
|
||||
|
||||
#ifndef _CONF_ACCESS_H_
|
||||
#define _CONF_ACCESS_H_
|
||||
#ifndef CONF_ACCESS_H_
|
||||
#define CONF_ACCESS_H_
|
||||
|
||||
|
||||
// Active the Logical Unit
|
||||
|
@ -192,6 +192,6 @@
|
|||
#define GLOBAL_WR_PROTECT DISABLED // To manage a global write protection
|
||||
|
||||
|
||||
#endif //! _CONF_ACCESS_H_
|
||||
#endif //!CONF_ACCESS_H_
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
@{
|
||||
*/
|
||||
|
||||
#ifndef _MEM_CTRL_H_
|
||||
#define _MEM_CTRL_H_
|
||||
#ifndef MEM_CTRL_H_
|
||||
#define MEM_CTRL_H_
|
||||
|
||||
#include "storage/conf_access.h"
|
||||
#include "storage/ctrl_status.h"
|
||||
|
@ -153,5 +153,5 @@ Ctrl_status ram_2_memory( U8 lun , const U32 _MEM_TYPE_SLOW_ *addr , U8 _MEM_
|
|||
#endif // (ACCESS_STREAM == ENABLED)
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
#endif // _MEM_CTRL_H_
|
||||
#endif //MEM_CTRL_H_
|
||||
/**@}*/
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
@{
|
||||
*/
|
||||
|
||||
#ifndef _CTRL_STATUS_H_
|
||||
#define _CTRL_STATUS_H_
|
||||
#ifndef CTRL_STATUS_H_
|
||||
#define CTRL_STATUS_H_
|
||||
|
||||
//_____ D E F I N I T I O N S ______________________________________________
|
||||
|
||||
|
@ -66,5 +66,5 @@ typedef enum
|
|||
, CTRL_BUSY =(FAIL+2) // Not initialize
|
||||
} Ctrl_status;
|
||||
|
||||
#endif // _CTRL_STATUS_H_
|
||||
#endif //CTRL_STATUS_H_
|
||||
/** @} */
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
\addtogroup usbstorage
|
||||
@{
|
||||
*/
|
||||
#ifndef _SCSI_DECODER_H_
|
||||
#define _SCSI_DECODER_H_
|
||||
#ifndef SCSI_DECODER_H_
|
||||
#define SCSI_DECODER_H_
|
||||
|
||||
//_____ I N C L U D E S ____________________________________________________
|
||||
|
||||
|
@ -334,5 +334,5 @@ void sbc_lun_status_is_not_present(void);
|
|||
void sbc_lun_status_is_fail(void);
|
||||
void sbc_lun_status_is_protected(void);
|
||||
|
||||
#endif /* _SCSI_DECODER_H_ */
|
||||
#endif /*SCSI_DECODER_H_ */
|
||||
/** @} */
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
\defgroup usbstorage USB Mass Storage Task
|
||||
@{
|
||||
*/
|
||||
#ifndef _STORAGE_TASK_H_
|
||||
#define _STORAGE_TASK_H_
|
||||
#ifndef STORAGE_TASK_H_
|
||||
#define STORAGE_TASK_H_
|
||||
|
||||
//_____ I N C L U D E S ____________________________________________________
|
||||
|
||||
|
@ -65,5 +65,5 @@ void sof_action(void);
|
|||
|
||||
PROCESS_NAME(storage_process);
|
||||
|
||||
#endif /* _STORAGE_TASK_H_ */
|
||||
#endif /*STORAGE_TASK_H_ */
|
||||
/** @} */
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
@{
|
||||
*/
|
||||
|
||||
#ifndef _USB_USERCONFIG_H_
|
||||
#define _USB_USERCONFIG_H_
|
||||
#ifndef USB_USERCONFIG_H_
|
||||
#define USB_USERCONFIG_H_
|
||||
|
||||
//_____ I N C L U D E S ____________________________________________________
|
||||
|
||||
|
@ -543,6 +543,6 @@ U8 Usb_get_dev_desc_length(void);
|
|||
PGM_VOID_P Usb_get_conf_desc_pointer(U8 index) ;
|
||||
U8 Usb_get_conf_desc_length(U8 index);
|
||||
|
||||
#endif // _USB_USERCONFIG_H_
|
||||
#endif //USB_USERCONFIG_H_
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _USB_DRV_H_
|
||||
#define _USB_DRV_H_
|
||||
#ifndef USB_DRV_H_
|
||||
#define USB_DRV_H_
|
||||
|
||||
#include "compiler.h"
|
||||
|
||||
|
@ -936,6 +936,6 @@ U8 usb_endpoint_wait_for_IN_ready();
|
|||
|
||||
#define usb_endpoint_wait_for_read_enabled usb_endpoint_wait_for_write_enabled
|
||||
|
||||
#endif // _USB_DRV_H_
|
||||
#endif //USB_DRV_H_
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _USB_SPECIFIC_REQUEST_H_
|
||||
#define _USB_SPECIFIC_REQUEST_H_
|
||||
#ifndef USB_SPECIFIC_REQUEST_H_
|
||||
#define USB_SPECIFIC_REQUEST_H_
|
||||
|
||||
/*_____ I N C L U D E S ____________________________________________________*/
|
||||
|
||||
|
@ -86,5 +86,5 @@ extern usb_mode_t usb_mode;
|
|||
|
||||
// ____ T Y P E D E F I N I T I O N _______________________________________
|
||||
|
||||
#endif // _USB_SPECIFIC_REQUEST_H_
|
||||
#endif //USB_SPECIFIC_REQUEST_H_
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _USB_ENUM_H_
|
||||
#define _USB_ENUM_H_
|
||||
#ifndef USB_ENUM_H_
|
||||
#define USB_ENUM_H_
|
||||
|
||||
//_____ I N C L U D E S ____________________________________________________
|
||||
|
||||
|
@ -84,5 +84,5 @@ void usb_process_request( void);
|
|||
extern U8 usb_configuration_nb;
|
||||
|
||||
|
||||
#endif // _USB_ENUM_H_
|
||||
#endif //USB_ENUM_H_
|
||||
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _USB_TASK_H_
|
||||
#define _USB_TASK_H_
|
||||
#ifndef USB_TASK_H_
|
||||
#define USB_TASK_H_
|
||||
|
||||
/**
|
||||
\ingroup usbstick
|
||||
|
@ -191,6 +191,6 @@ void usb_device_task (void);
|
|||
|
||||
//! @}
|
||||
|
||||
#endif /* _USB_TASK_H_ */
|
||||
#endif /*USB_TASK_H_ */
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
|
||||
|
@ -55,5 +55,5 @@ struct mtarch_thread {
|
|||
unsigned char *sp;
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __IEEEMANAGER_H__
|
||||
#define __IEEEMANAGER_H__
|
||||
#ifndef IEEEMANAGER_H_
|
||||
#define IEEEMANAGER_H_
|
||||
|
||||
/** \brief The interface structure for the 802.15.4 quasi-MAC. */
|
||||
typedef struct ieee_15_4_manager{
|
||||
|
@ -110,5 +110,5 @@ typedef struct ieee_15_4_manager{
|
|||
|
||||
void ieee_15_4_init(struct ieee_15_4_manager *pieee_15_4_manager);
|
||||
|
||||
#endif /* __IEEEMANAGER_H__ */
|
||||
#endif /* IEEEMANAGER_H_ */
|
||||
/** \} */
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
\addtogroup rf230mac
|
||||
*/
|
||||
|
||||
#ifndef __SICSLOWMAC_H__
|
||||
#define __SICSLOWMAC_H__
|
||||
#ifndef SICSLOWMAC_H_
|
||||
#define SICSLOWMAC_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
@ -91,4 +91,4 @@ void byte_reverse(uint8_t * bytes, uint8_t num);
|
|||
struct mac_driver * sicslowmac_get_driver(void);
|
||||
parsed_frame_t * sicslowmac_get_frame(void);
|
||||
|
||||
#endif /* __SICSLOWMAC_H__ */
|
||||
#endif /* SICSLOWMAC_H_ */
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
|
@ -68,4 +68,4 @@
|
|||
#endif
|
||||
|
||||
void rtimer_arch_sleep(rtimer_clock_t howlong);
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
* (recent updates for the sensinode/cc2430 port)
|
||||
*/
|
||||
|
||||
#ifndef __8051_DEF_H__
|
||||
#define __8051_DEF_H__
|
||||
#ifndef E051_DEF_H_
|
||||
#define E051_DEF_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -110,4 +110,4 @@ typedef unsigned short clock_time_t;
|
|||
#define uip_ipaddr_copy(dest, src) \
|
||||
memcpy(dest, src, sizeof(*dest))
|
||||
|
||||
#endif /* __8051_DEF_H__ */
|
||||
#endif /* E051_DEF_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef __BUS_H__
|
||||
#define __BUS_H__
|
||||
#ifndef BUS_H_
|
||||
#define BUS_H_
|
||||
|
||||
#include "cc2430_sfr.h"
|
||||
#include "8051def.h"
|
||||
|
@ -50,4 +50,4 @@
|
|||
void bus_init(void);
|
||||
void clock_ISR( void ) __interrupt (ST_VECTOR);
|
||||
|
||||
#endif /* __BUS_H__ */
|
||||
#endif /* BUS_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Zach Shelby <zach@sensinode.com>
|
||||
*/
|
||||
|
||||
#ifndef __CC2430_RF_H__
|
||||
#define __CC2430_RF_H__
|
||||
#ifndef CC2430_RF_H_
|
||||
#define CC2430_RF_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "dev/radio.h"
|
||||
|
@ -88,4 +88,4 @@ extern void cc2430_rf_error_ISR(void) __interrupt(RFERR_VECTOR);
|
|||
void rf_dma_callback_isr(void);
|
||||
#endif
|
||||
|
||||
#endif /* __CC2430_RF_H__ */
|
||||
#endif /* CC2430_RF_H_ */
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
*/
|
||||
#ifndef __HWCONF_H__
|
||||
#define __HWCONF_H__
|
||||
#ifndef HWCONF_H_
|
||||
#define HWCONF_H_
|
||||
|
||||
#include "sys/cc.h"
|
||||
|
||||
|
@ -145,4 +145,4 @@ static CC_INLINE void name##_IRQ_FLAG_OFF() { \
|
|||
P2IFG = 0; \
|
||||
}
|
||||
|
||||
#endif /* __HWCONF_H__ */
|
||||
#endif /* HWCONF_H_ */
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __LPM_H__
|
||||
#define __LPM_H__
|
||||
#ifndef LPM_H_
|
||||
#define LPM_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
|
||||
|
@ -54,4 +54,4 @@
|
|||
#define LPM_MODE LPM_MODE_IDLE
|
||||
#endif /* LPM_CONF_MODE */
|
||||
|
||||
#endif /* __LPM_H__ */
|
||||
#endif /* LPM_H_ */
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
struct mtarch_thread {
|
||||
unsigned char *sp;
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
* (rtimer-arch implementation for cc2430)
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "cc2430_sfr.h"
|
||||
|
@ -59,4 +59,4 @@
|
|||
|
||||
void cc2430_timer_1_ISR(void) __interrupt(T1_VECTOR);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
struct mtarch_thread {
|
||||
unsigned char *sp;
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
* (updates for the cc2530 ports)
|
||||
*/
|
||||
|
||||
#ifndef __8051_DEF_H__
|
||||
#define __8051_DEF_H__
|
||||
#ifndef E051_DEF_H_
|
||||
#define E051_DEF_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -115,4 +115,4 @@ typedef unsigned short clock_time_t;
|
|||
#define uip_ipaddr_copy(dest, src) \
|
||||
memcpy(dest, src, sizeof(*dest))
|
||||
|
||||
#endif /* __8051_DEF_H__ */
|
||||
#endif /* E051_DEF_H_ */
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef __CC253X_H__
|
||||
#define __CC253X_H__
|
||||
#ifndef CC253X_H_
|
||||
#define CC253X_H_
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Compiler Abstraction */
|
||||
|
@ -670,4 +670,4 @@ SFRX(X_P2DIR, 0x70FF); /* Port 2 direction */
|
|||
SFRX(X_INFOPAGE, 0x7800); /* Start of Information Page */
|
||||
SFRX(X_IEEE_ADDR, 0x780C); /* Start of unique IEEE Address */
|
||||
|
||||
#endif /* __CC253X_H__ */
|
||||
#endif /* CC253X_H_ */
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __CC2530_RF_H__
|
||||
#define __CC2530_RF_H__
|
||||
#ifndef CC2530_RF_H_
|
||||
#define CC2530_RF_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "dev/radio.h"
|
||||
|
@ -125,4 +125,4 @@ int8_t cc2530_rf_channel_set(uint8_t channel);
|
|||
uint8_t cc2530_rf_power_set(uint8_t new_power);
|
||||
void cc2530_rf_set_addr(uint16_t pan);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* __CC2530_RF_H__ */
|
||||
#endif /* CC2530_RF_H_ */
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __CLOCK_ISR_H__
|
||||
#define __CLOCK_ISR_H__
|
||||
#ifndef CLOCK_ISR_H_
|
||||
#define CLOCK_ISR_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "cc253x.h"
|
||||
|
||||
void clock_isr(void) __interrupt(ST_VECTOR);
|
||||
|
||||
#endif /* __CLOCK_ISR_H__ */
|
||||
#endif /* CLOCK_ISR_H_ */
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __LPM_H__
|
||||
#define __LPM_H__
|
||||
#ifndef LPM_H_
|
||||
#define LPM_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
|
||||
|
@ -54,4 +54,4 @@
|
|||
#define LPM_MODE LPM_MODE_IDLE
|
||||
#endif /* LPM_CONF_MODE */
|
||||
|
||||
#endif /* __LPM_H__ */
|
||||
#endif /* LPM_H_ */
|
||||
|
|
|
@ -142,4 +142,4 @@
|
|||
#define PORT1_0_IRQ_EDGE_R_X() do { PICTL &= ~PICTL_P1ICONL; } while(0)
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#endif /* __PORT_H__ */
|
||||
#endif /* PORT_H_ */
|
||||
|
|
|
@ -28,8 +28,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __CC253x_P2_INTR_H__
|
||||
#define __CC253x_P2_INTR_H__
|
||||
#ifndef CC253x_P2_INTR_H_
|
||||
#define CC253x_P2_INTR_H_
|
||||
|
||||
#include "contiki.h"
|
||||
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
* \author
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
struct mtarch_thread {
|
||||
unsigned char *sp;
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
* (rtimer-arch implementation for cc2430 and then cc253x)
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "cc253x.h"
|
||||
|
@ -57,4 +57,4 @@
|
|||
|
||||
void rtimer_isr(void) __interrupt(T1_VECTOR);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef __SOC_H__
|
||||
#define __SOC_H__
|
||||
#ifndef SOC_H_
|
||||
#define SOC_H_
|
||||
|
||||
|
||||
#ifndef CC2530_LAST_FLASH_BANK
|
||||
|
@ -61,4 +61,4 @@
|
|||
|
||||
void soc_init();
|
||||
|
||||
#endif /* __SOC_H__ */
|
||||
#endif /* SOC_H_ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_ACM_H__UFV6K50827__
|
||||
#define __CDC_ACM_H__UFV6K50827__
|
||||
#ifndef CDC_ACM_H_UFV6K50827__
|
||||
#define CDC_ACM_H_UFV6K50827__
|
||||
|
||||
#include "cdc.h"
|
||||
#include "contiki.h"
|
||||
|
@ -21,4 +21,4 @@ const struct usb_cdc_line_coding *usb_cdc_acm_get_line_coding(void);
|
|||
|
||||
void usb_cdc_acm_set_event_process(struct process *p);
|
||||
|
||||
#endif /* __CDC_ACM_H__UFV6K50827__ */
|
||||
#endif /* CDC_ACM_H_UFV6K50827__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CDC_H__K1Q26ESJOC__
|
||||
#define __CDC_H__K1Q26ESJOC__
|
||||
#ifndef CDC_H_K1Q26ESJOC__
|
||||
#define CDC_H_K1Q26ESJOC__
|
||||
#include "usb.h"
|
||||
/* Communication Class */
|
||||
/* Class code */
|
||||
|
@ -200,4 +200,4 @@ struct usb_cdc_line_coding {
|
|||
Uchar bDataBits;
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __CDC_H__K1Q26ESJOC__ */
|
||||
#endif /* CDC_H_K1Q26ESJOC__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#define __DESCRIPTORS_H__RPFUB8O7OV__
|
||||
#ifndef DESCRIPTORS_H_RPFUB8O7OV__
|
||||
#define DESCRIPTORS_H_RPFUB8O7OV__
|
||||
|
||||
#ifndef STRUCTGEN
|
||||
#include "usb.h"
|
||||
|
@ -7,4 +7,4 @@
|
|||
|
||||
extern const struct usb_st_device_descriptor device_descriptor;
|
||||
extern const struct usb_st_configuration_descriptor const *configuration_head;
|
||||
#endif /* __DESCRIPTORS_H__RPFUB8O7OV__ */
|
||||
#endif /* DESCRIPTORS_H_RPFUB8O7OV__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_API_H__SYN81IFYBN__
|
||||
#define __USB_API_H__SYN81IFYBN__
|
||||
#ifndef USB_API_H_SYN81IFYBN__
|
||||
#define USB_API_H_SYN81IFYBN__
|
||||
|
||||
#include "sys/process.h"
|
||||
|
||||
|
@ -124,4 +124,4 @@ unsigned int usb_get_ep_events(uint8_t addr);
|
|||
|
||||
unsigned int usb_get_current_configuration(void);
|
||||
|
||||
#endif /* __USB_API_H__SYN81IFYBN__ */
|
||||
#endif /* USB_API_H_SYN81IFYBN__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#define __USB_ARCH_H__0Z52ZDP0H6__
|
||||
#ifndef USB_ARCH_H_0Z52ZDP0H6__
|
||||
#define USB_ARCH_H_0Z52ZDP0H6__
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "usb-api.h"
|
||||
|
@ -74,4 +74,4 @@ unsigned int usb_arch_get_global_events(void);
|
|||
/* Return true if not all data has been sent to the host */
|
||||
int usb_arch_send_pending(uint8_t ep_addr);
|
||||
|
||||
#endif /* __USB_ARCH_H__0Z52ZDP0H6__ */
|
||||
#endif /* USB_ARCH_H_0Z52ZDP0H6__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_CORE_H__YIKJDA7S1X__
|
||||
#define __USB_CORE_H__YIKJDA7S1X__
|
||||
#ifndef USB_CORE_H_YIKJDA7S1X__
|
||||
#define USB_CORE_H_YIKJDA7S1X__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -16,4 +16,4 @@ typedef void (*usb_ctrl_data_callback)(uint8_t *data, unsigned int length);
|
|||
void usb_get_ctrl_data(uint8_t *data, unsigned int length,
|
||||
usb_ctrl_data_callback cb);
|
||||
|
||||
#endif /* __USB_CORE_H__YIKJDA7S1X__ */
|
||||
#endif /* USB_CORE_H_YIKJDA7S1X__ */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __USB_H__6PFTDPIMZM__
|
||||
#define __USB_H__6PFTDPIMZM__
|
||||
#ifndef USB_H_6PFTDPIMZM__
|
||||
#define USB_H_6PFTDPIMZM__
|
||||
#include <stdint.h>
|
||||
|
||||
/* Adapted from usb_kbd_enum.h in c5131-usb-kbd-light-1_0_2 package from
|
||||
|
@ -182,4 +182,4 @@ struct usb_st_language_descriptor
|
|||
Uint16 wlangid[1]; /* language id */
|
||||
} BYTE_ALIGNED;
|
||||
|
||||
#endif /* __USB_H__6PFTDPIMZM__ */
|
||||
#endif /* USB_H_6PFTDPIMZM__ */
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __CONTIKI_MC1322X_CONF_H__
|
||||
#define __CONTIKI_MC1322X_CONF_H__
|
||||
#ifndef CONTIKI_MC1322X_CONF_H_
|
||||
#define CONTIKI_MC1322X_CONF_H_
|
||||
|
||||
typedef int32_t s32_t;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __DEBUG_UART_H__1V2039076V__
|
||||
#define __DEBUG_UART_H__1V2039076V__
|
||||
#ifndef DEBUG_UART_H_1V2039076V__
|
||||
#define DEBUG_UART_H_1V2039076V__
|
||||
|
||||
#ifndef dbg_setup_uart
|
||||
#define dbg_setup_uart dbg_setup_uart_default
|
||||
|
@ -24,4 +24,4 @@ dbg_blocking_putchar(const char ch);
|
|||
void
|
||||
dbg_drain();
|
||||
|
||||
#endif /* __DEBUG_UART_H__1V2039076V__ */
|
||||
#endif /* DEBUG_UART_H_1V2039076V__ */
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _MACA_H_
|
||||
#define _MACA_H_
|
||||
#ifndef MACA_H_
|
||||
#define MACA_H_
|
||||
|
||||
#include <packet.h>
|
||||
#include <stdint.h>
|
||||
|
@ -529,4 +529,4 @@ enum maca_status_bits {
|
|||
#define MACA_WRITE(reg, src) (reg = src)
|
||||
#define MACA_READ(reg) reg
|
||||
|
||||
#endif // _MACA_H_
|
||||
#endif //MACA_H_
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __MTARCH_H__
|
||||
#define __MTARCH_H__
|
||||
#ifndef MTARCH_H_
|
||||
#define MTARCH_H_
|
||||
|
||||
#include "contiki-conf.h"
|
||||
|
||||
|
@ -59,5 +59,5 @@ struct mtarch_thread {
|
|||
unsigned char *sp;
|
||||
};
|
||||
|
||||
#endif /* __MTARCH_H__ */
|
||||
#endif /* MTARCH_H_ */
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
* Mariano Alvira <mar@devl.org>
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
#ifndef RTIMER_ARCH_H_
|
||||
#define RTIMER_ARCH_H_
|
||||
|
||||
/* contiki */
|
||||
#include "sys/rtimer.h"
|
||||
|
@ -58,4 +58,4 @@
|
|||
#define rtimer_arch_now() (CRM->RTC_COUNT)
|
||||
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
||||
#endif /* RTIMER_ARCH_H_ */
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue