Reorganized project
This commit is contained in:
parent
3387c9edc2
commit
49c06fceb5
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
tools
|
||||
receiver/build
|
||||
receiver/.cache
|
||||
build
|
||||
.cache
|
||||
sdkconfig.old
|
||||
|
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Peugeot 207 Bluetooth music receiver
|
||||
My Peugeot has bluetooth, but only for calling.
|
||||
This project aims to build a bluetooth receiver to attached to the aux in in the glovebox.
|
3
main/CMakeLists.txt
Normal file
3
main/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
idf_component_register(SRCS "src/main.cpp" "src/helper.cpp" "src/wav.cpp" "src/storage.cpp" "src/i2s.cpp" "src/bluetooth.cpp" "src/avrcp.cpp" "src/a2dp.cpp"
|
||||
INCLUDE_DIRS "include"
|
||||
EMBED_FILES "assets/connect.wav" "assets/disconnect.wav")
|
|
@ -1,32 +0,0 @@
|
|||
# _Sample project_
|
||||
|
||||
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
||||
|
||||
This is the simplest buildable example. The example is used by command `idf.py create-project`
|
||||
that copies the project to user specified path and set it's name. For more information follow the [docs page](https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#start-a-new-project)
|
||||
|
||||
|
||||
|
||||
## How to use example
|
||||
We encourage the users to use the example as a template for the new projects.
|
||||
A recommended way is to follow the instructions on a [docs page](https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#start-a-new-project).
|
||||
|
||||
## Example folder contents
|
||||
|
||||
The project **sample_project** contains one source file in C language [main.c](main/main.c). The file is located in folder [main](main).
|
||||
|
||||
ESP-IDF projects are built using CMake. The project build configuration is contained in `CMakeLists.txt`
|
||||
files that provide set of directives and instructions describing the project's source files and targets
|
||||
(executable, library, or both).
|
||||
|
||||
Below is short explanation of remaining files in the project folder.
|
||||
|
||||
```
|
||||
├── CMakeLists.txt
|
||||
├── main
|
||||
│ ├── CMakeLists.txt
|
||||
│ └── main.c
|
||||
└── README.md This is the file you are currently reading
|
||||
```
|
||||
Additionally, the sample project contains Makefile and component.mk files, used for the legacy Make based build system.
|
||||
They are not used or needed when building with CMake and idf.py.
|
|
@ -1,3 +0,0 @@
|
|||
idf_component_register(SRCS "main.cpp" "helper.cpp" "wav.cpp" "storage.cpp" "i2s.cpp" "bluetooth.cpp" "avrcp.cpp" "a2dp.cpp"
|
||||
INCLUDE_DIRS "."
|
||||
EMBED_FILES "connect.wav" "disconnect.wav")
|
Loading…
Reference in New Issue
Block a user