Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #437 from sifive/dev_freertos
Browse files Browse the repository at this point in the history
Dev freertos
  • Loading branch information
nategraff-sifive authored Mar 11, 2020
2 parents 7755849 + 9013e60 commit 0ddc1a2
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 13 deletions.
3 changes: 2 additions & 1 deletion bsp/freedom-e310-arty/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = sifive-3-series

TARGET_TAGS = fpga openocd
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/qemu-sifive-e31/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = None

TARGET_TAGS = qemu
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/qemu-sifive-s51/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = None

TARGET_TAGS = qemu
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/qemu-sifive-u54/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = None

TARGET_TAGS = qemu
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/qemu-sifive-u54mc/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = None

TARGET_TAGS = qemu
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/sifive-hifive-unleashed/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = sifive-5-series

TARGET_TAGS = board openocd
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/sifive-hifive1-revb/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = sifive-3-series

TARGET_TAGS = board jlink
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/sifive-hifive1/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = sifive-3-series

TARGET_TAGS = board openocd
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
3 changes: 2 additions & 1 deletion bsp/spike/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RISCV_SERIES = None

TARGET_TAGS = spike
TARGET_DHRY_ITERS = 20000000
TARGET_CORE_ITERS = 5000
TARGET_CORE_ITERS = 5000
TARGET_FREERTOS_WAIT_MS = 1000
2 changes: 1 addition & 1 deletion scripts/esdk-settings-generator
4 changes: 4 additions & 0 deletions scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ endif
RISCV_XCFLAGS += -DITERATIONS=$(TARGET_CORE_ITERS)
endif

ifeq ($(filter freertos,$(PROGRAM)),)
RISCV_XCFLAGS += -DWAIT_MS=$(TARGET_FREERTOS_WAIT_MS)
endif

#############################################################
# Software
#############################################################
Expand Down
2 changes: 1 addition & 1 deletion software/example-freertos-blinky
4 changes: 2 additions & 2 deletions wit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"source": "[email protected]:sifive/openocdcfg-generator.git"
},
{
"commit": "cff1b713ac789bea21bcb794c6e376dd7d8ca8dc",
"commit": "c974863998bf05d96d25bbb153a6f6e80ffd90e2",
"name": "esdk-settings-generator",
"source": "[email protected]:sifive/esdk-settings-generator.git"
},
Expand Down Expand Up @@ -220,7 +220,7 @@
"source": "[email protected]:sifive/Segger_SystemView-metal.git"
},
{
"commit": "4d6cd59095ebf927a2d134838ce58d3af4498a6e",
"commit": "f0187939df63420c7373d3da777e7e423047c2be",
"name": "example-freertos-blinky",
"source": "[email protected]:sifive/example-freertos-blinky.git"
},
Expand Down

0 comments on commit 0ddc1a2

Please sign in to comment.