Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Solved SDKconfig, makefile & Kconfig changes to be made for combining two example program into one
-
Hi ,
I am writing a script to capture audio for 10 sec and play it back via headphone jack. What I'm currently doing is to combine codes fromaudio_recorderandaudio_throughexamples. How should I setupKconfig,makefile and what all changes should I make onSDK configfor the same. -
Hi @matben-0 ,
You can leave
Kconfigas it is by default. For aMakefileyou can use a similar one withaudio_throughexample. You just need to add the source files to it that you use. As config you can just merge these 2 configs from these 2 examples:https://github.com/sonydevworld/spresense/blob/master/sdk/configs/examples/audio_recorder/defconfig
https://github.com/sonydevworld/spresense/blob/master/sdk/configs/examples/audio_through/defconfigBest Regards,
Kamil Tomaszewski -
Hi @kamiltomaszewski thank you so much.
-
Topic has been marked as solved M MatBen 0