summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-01 19:16:50 +0700
committerhathach <[email protected]>2020-09-01 19:16:50 +0700
commit84425c50b3bb5c892bfab9d094cc3da6a9c04da5 (patch)
tree6e8a46cb5259ea57078381ea8c64c4c3e4b348ca /hw
parentf4e3c6fd8ee125123e2cfa704d61dab34be576c5 (diff)
add more logging to host stack
tested host with lpc4357, don't use fpu with lpc m4 since it seems to cause hardfault (stack does not make use of fpu anyway).
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/ea4357/board.mk6
-rw-r--r--hw/bsp/mcb1800/board.mk2
-rw-r--r--hw/bsp/ngx4330/board.mk2
3 files changed, 3 insertions, 7 deletions
diff --git a/hw/bsp/ea4357/board.mk b/hw/bsp/ea4357/board.mk
index 2ee6b695c..c77ee4536 100644
--- a/hw/bsp/ea4357/board.mk
+++ b/hw/bsp/ea4357/board.mk
@@ -3,8 +3,6 @@ CFLAGS += \
-mthumb \
-mabi=aapcs \
-mcpu=cortex-m4 \
- -mfloat-abi=hard \
- -mfpu=fpv4-sp-d16 \
-nostdlib \
-D__USE_LPCOPEN \
-DCORE_M4 \
@@ -40,8 +38,8 @@ CHIP_FAMILY = transdimension
FREERTOS_PORT = ARM_CM4F
# For flash-jlink target
-JLINK_DEVICE = LPC4357
-JLINK_IF = jtag
+JLINK_DEVICE = LPC4357_M4
+JLINK_IF = swd
# flash using jlink
flash: flash-jlink
diff --git a/hw/bsp/mcb1800/board.mk b/hw/bsp/mcb1800/board.mk
index 7ff17dae3..e3f07d0d0 100644
--- a/hw/bsp/mcb1800/board.mk
+++ b/hw/bsp/mcb1800/board.mk
@@ -6,7 +6,7 @@ CFLAGS += \
-nostdlib \
-DCORE_M3 \
-D__USE_LPCOPEN \
- -DCFG_TUSB_MCU=OPT_MCU_LPC18XX \
+ -DCFG_TUSB_MCU=OPT_MCU_LPC18XX
# mcu driver cause following warnings
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes
diff --git a/hw/bsp/ngx4330/board.mk b/hw/bsp/ngx4330/board.mk
index 97c24b40e..df9df63a1 100644
--- a/hw/bsp/ngx4330/board.mk
+++ b/hw/bsp/ngx4330/board.mk
@@ -3,8 +3,6 @@ CFLAGS += \
-mthumb \
-mabi=aapcs \
-mcpu=cortex-m4 \
- -mfloat-abi=hard \
- -mfpu=fpv4-sp-d16 \
-nostdlib \
-DCORE_M4 \
-DCFG_TUSB_MCU=OPT_MCU_LPC43XX \