# HG changeset patch # User jani # Date 1100858607 0 # Node ID a80eae1bfe757d289700b080cccf02aaced631a9 # Parent 93cd84593c28546efac057921bd4776e63b19a91 Really fix thumb build for mcb2100 this time diff --git a/packages/hal/arm/lpc2xxx/mcb2100/current/ChangeLog b/packages/hal/arm/lpc2xxx/mcb2100/current/ChangeLog --- a/packages/hal/arm/lpc2xxx/mcb2100/current/ChangeLog +++ b/packages/hal/arm/lpc2xxx/mcb2100/current/ChangeLog @@ -1,3 +1,8 @@ +2004-11-19 Jani Monoses + + * include/hal_platform_setup.h: + Fix previous fix. LDR needs its operand prefixed with = not #. + 2004-11-15 Jani Monoses * include/hal_platform_setup.h: diff --git a/packages/hal/arm/lpc2xxx/mcb2100/current/include/hal_platform_setup.h b/packages/hal/arm/lpc2xxx/mcb2100/current/include/hal_platform_setup.h --- a/packages/hal/arm/lpc2xxx/mcb2100/current/include/hal_platform_setup.h +++ b/packages/hal/arm/lpc2xxx/mcb2100/current/include/hal_platform_setup.h @@ -59,17 +59,15 @@ .macro _led_init ldr r0,=CYGARC_HAL_LPC2XXX_REG_IO_BASE - ldr r1,#0x00FF0000 // GPIO1 pins - // 16..23 - // outputs + ldr r1,=0x00FF0000 //GPIO1 pins 16..23 outputs str r1,[r0,#CYGARC_HAL_LPC2XXX_REG_IO1DIR] .endm .macro _led x ldr r0,=CYGARC_HAL_LPC2XXX_REG_IO_BASE - ldr r1,#0x00FF0000 + ldr r1,=0x00FF0000 str r1,[r0,#CYGARC_HAL_LPC2XXX_REG_IO1CLR] - ldr r1,#(\x<<16) + ldr r1,=(\x<<16) str r1,[r0,#CYGARC_HAL_LPC2XXX_REG_IO1SET] .endm