From 88da8a5b4f042532c0b980510b0d90b77158eff4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 11 Sep 2012 16:50:16 +0000 Subject: Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5128 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 9 +- nuttx/Documentation/NuttxPortingGuide.html | 2 +- nuttx/configs/README.txt | 2 +- nuttx/configs/fire-stm32v2/include/board.h | 8 +- nuttx/configs/fire-stm32v2/nsh/defconfig | 114 ++++++------------------- nuttx/configs/fire-stm32v2/src/Makefile | 2 +- nuttx/configs/fire-stm32v2/src/fire-internal.h | 6 +- nuttx/configs/fire-stm32v2/src/up_autoleds.c | 18 ++-- nuttx/configs/fire-stm32v2/src/up_enc28j60.c | 31 +++---- nuttx/configs/fire-stm32v2/src/up_spi.c | 4 +- nuttx/configs/fire-stm32v2/src/up_userleds.c | 12 ++- nuttx/configs/olimex-strp711/nettest/defconfig | 4 +- nuttx/configs/olimex-strp711/src/Makefile | 6 +- nuttx/configs/olimex-strp711/src/up_enc28j60.c | 12 +-- nuttx/configs/olimex-strp711/src/up_spi.c | 8 +- nuttx/drivers/Kconfig | 82 +++++------------- nuttx/drivers/net/Make.defs | 6 +- nuttx/drivers/net/enc28j60.c | 24 +++--- nuttx/include/nuttx/net/enc28j60.h | 8 +- 19 files changed, 135 insertions(+), 223 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index f56e14c04..b49394ba2 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3315,4 +3315,11 @@ require DMA-capable memory. If CONFIG_FAT_DMAMEMORY is defined, then the FAT FS will use platform-provided DMA memory allocators to allocate the block driver I/O buffers. - + * CONFIG_NET_ENC28J60 renamed CONFIG_ENC28J60 to be consistent + in all places. + * drivers/enc28j60.c, include/nuttx/net/enc28j60.h, and + olimex-strp711/src/up_enc28j60.c: No longer passes IRQ number + as a parameters. Instead now passes a call table to manage + ENC28J60 GPIO interrupts. That is because GPIO interrupts are + handled in different ways by different MCUs and some do not + support IRQ numbers for GPIO interrupts. diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 875b78e61..0e169d60d 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4963,7 +4963,7 @@ build

ENC28J60 Ethernet Driver Configuration Settings