Sony's Developer World forum

    • Home
    • Forum guidelines

    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

    Spresense
    2
    3
    258
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MatBen 0 last edited by

      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 from audio_recorder and audio_through examples. How should I setup Kconfig , make file and what all changes should I make on SDK config for the same.

      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

        Hi @matben-0 ,

        You can leave Kconfig as it is by default. For a Makefile you can use a similar one with audio_through example. 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/defconfig

        Best Regards,
        Kamil Tomaszewski

        M 1 Reply Last reply Reply Quote
        • M
          MatBen 0 @KamilTomaszewski last edited by

          Hi @kamiltomaszewski thank you so much.

          1 Reply Last reply Reply Quote
          • Topic has been marked as solved  M MatBen 0 
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal