Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Player Implementation (#21) #22

Open
wants to merge 61 commits into
base: development
Choose a base branch
from
Open

Conversation

Mischback
Copy link
Owner

@Mischback Mischback commented Jul 4, 2022

See #21

Close #25 (as of d5baedb)

Close #26 (as of e586f79)

Consider #23, #24

@Mischback Mischback added the type/feature New feature or request label Jul 4, 2022
@Mischback Mischback added this to the Release 1.0.0 milestone Jul 4, 2022
@Mischback Mischback self-assigned this Jul 4, 2022
Closes #25 for now.

ESP-IDF and ESP-ADF are provided as git submodules to the actual project
repository.

ESP-IDF's relevant commands (e.g. build, menuconfig) are provided using the
project's Makefile. Additionally, they are integrated into VSCode using
task.json and another addon to make commands available in the IDE's status
bar.
Instead, make use of the embedded ESP-IDF in ESP-ADF.

Basically this is just a matter of adjusting the paths in the Makefile,
so this is easy enough.

.vscode/c_cpp_properties.json is modified to reflect these paths.
The serial port to be used may be specified in the Makefile (ESP_SERIAL_PORT)
and is provided for this development machine.
This commit includes several ugly and hackerish fixes.
Obviously, a HTTP stream requires actual access to the internet, but as of
now, map32 does not know if there is internet connectivity before it is
setting up the audio_source (http_stream in this case).

Obviously, map32 needs to know, if external peripheral devices (like
internet connection, but also SD reader, ...) are ready before using them
in its own codebase.

I.e. in the example code, there is a call to the function
``periph_wifi_wait_for_connected(wifi_handle, portMAX_DELAY);``, which
actually blocks until the WiFi is ready.

This needs a lot of investigation!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mnet32] AP terminates without any log Integrate ESP-IDF and ESP-ADF into repository
1 participant