[En-Nut-Discussion] apps/httpd/sample/asp.asp

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Sep 4 11:43:06 CEST 2012


>>>>> "Harald" == Harald Kipp <harald.kipp at egnite.de> writes:

    Harald> Hi Uwe, On 27.08.2012 12:24, Uwe Bonnes wrote:
 
    >> after getting the stm32_emac to work on STM32F207, the asp.asp page
    >> only displays e.g. for nut_version "%nut_version%"

    Harald> I stumbled across a few case typos, one of which may cause this
    Harald> problem.

    Harald> In nut/app/httpd/httpserv.c

    Harald>   #if defined(__ARM__) #define USE_ASP #define USE_SSI #endif

    Harald> should have been

    Harald>   #if defined(__arm__) #define USE_ASP #define USE_SSI #endif

    Harald> The other one is in sys/types.h.

    Harald> Regards,

This boils down into two parts:
- inconststant usage of __arm__ versus __ARM__
- For __CORTEX__ asp and ssi handling were not enabled
-- 
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