[En-Nut-Discussion] LICENSE_LUMINARY_ANTI_VIRAL requirement and leftovers

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 10 10:40:40 CEST 2012

Hello Ole,

thanks for the new implementation for the Cortex interrupts. 
Some questions:
make[1]: Entering directory `/opt/spare/bon/ethernut/mbed_npx_lpc1768/arch'
arm-none-eabi-gcc -c -I../.././mbed_npx_lpc1768/include
-I../../trunk/nut/include -DMBED_NXP_LPC1768 -MD -MP -mcpu=cortex-m3 -mthumb
-mlittle-endian -D__CORTEX__ -ffunction-sections -fdata-sections
-fomit-frame-pointer -mfix-cortex-m3-ldrd -Os -Wall -Wstrict-prototypes
-Werror -Wa,-a=cm3/dev/nxp/ih_lpc17xx_pio.lst -DMBED_NXP_LPC1768 -o
../../trunk/nut/arch/cm3/dev/nxp/ih_lpc17xx_pio.c: In function 'GpioIrqCtl':
../../trunk/nut/arch/cm3/dev/nxp/ih_lpc17xx_pio.c:98:37: error: 'GPIO_IRQn'
undeclared (first use in this function)

The (vendor -provided) file lpc176x.h doesn't define GPIO_IRQn. Before your
change, arch/cm3/dev/nxp/ih_lpc17xx_pio.c contained a hard coded 
#define GPIO_IRQn   38

I am not in the inner workings with the LPC, so I didn't dive into the
problem yet. Will you have a look?
Some .nut files still contain the "LICENSE_LUMINARY_ANTI_VIRAL"
requirement. I think we can remove this requirement. Will you do or should

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list