-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/audiolite_fft: Add an example to explain mkalwcomp.py
Add an example for explaining how to use mkalwcomp.py and how to make user original audiolite component with worker.
- Loading branch information
Showing
15 changed files
with
1,523 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/Make.dep | ||
/.depend | ||
/.built | ||
/*.asm | ||
/*.obj | ||
/*.rel | ||
/*.lst | ||
/*.sym | ||
/*.adb | ||
/*.lib | ||
/*.src | ||
/*.spk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
config EXAMPLES_AUDIOLITE_FFT | ||
tristate "AudioLite sample : audiolite_fft app" | ||
default n | ||
---help--- | ||
Enable the audiolite_fft app. This example includes how to make | ||
user original audiolite component with worker (sub-core) off-load. | ||
|
||
if EXAMPLES_AUDIOLITE_FFT | ||
|
||
config EXAMPLES_AUDIOLITE_FFT_PROGNAME | ||
string "Program name" | ||
default "audiolite_fft" | ||
---help--- | ||
This is the name of the program that will be use when the NSH ELF | ||
program is installed. | ||
|
||
config EXAMPLES_AUDIOLITE_FFT_PRIORITY | ||
int "audiolite_fft task priority" | ||
default 100 | ||
|
||
config EXAMPLES_AUDIOLITE_FFT_STACKSIZE | ||
int "audiolite_fft stack size" | ||
default 2048 | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
ifneq ($(CONFIG_EXAMPLES_AUDIOLITE_FFT),) | ||
CONFIGURED_APPS += audiolite_fft | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
include $(APPDIR)/Make.defs | ||
include $(SDKDIR)/Make.defs | ||
|
||
PROGNAME = $(CONFIG_EXAMPLES_AUDIOLITE_FFT_PROGNAME) | ||
PRIORITY = $(CONFIG_EXAMPLES_AUDIOLITE_FFT_PRIORITY) | ||
STACKSIZE = $(CONFIG_EXAMPLES_AUDIOLITE_FFT_STACKSIZE) | ||
MODULE = $(CONFIG_EXAMPLES_AUDIOLITE_FFT) | ||
|
||
ASRCS = | ||
CSRCS = | ||
MAINSRC = audiolite_fft_main.cxx | ||
|
||
CXXSRCS += alusr_fftworker.cxx | ||
|
||
include $(APPDIR)/Application.mk | ||
|
||
build_fftworker_worker: | ||
@$(MAKE) -C fftworker TOPDIR="$(TOPDIR)" SDKDIR="$(SDKDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) | ||
|
||
clean_fftworker_worker: | ||
@$(MAKE) -C fftworker TOPDIR="$(TOPDIR)" SDKDIR="$(SDKDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) clean | ||
|
||
$(OBJS): build_fftworker_worker | ||
|
||
clean:: clean_fftworker_worker |
Oops, something went wrong.