Fixes for building on a new system
Ran into some issues while building from the source which took a while to figure out the causes. I think these changes will make it easier for new people to also get this built. Had 3 issues:
- no
maindirectory in the root of the repo when running codegen the first time - did not have the BT components selected in menuconfig
- compiler errors, mainly fixed by disabling warnings and increasing one buffer
Thanks for the PR. Your changes fixed my build. However I still can;t flash correctly. When I try make flash I get:
esptool write_flash: error: argument <address> <filename>: Detected overlap at address: 0x8000 for file: /Users/cldrn/Code/tmp/esp-idf/examples/ble_ctf_infinity/build/partitions_singleapp.bin make: *** [flash] Error 2
If I change the offset in sdkconfig to 10000, the image gets written but it does not work as it should and it won't boot.
Did you do anything else to make it work?
Fixed the problem with a different config. I will upload the configuration for future reference.
The main directory is created with the codegen script. The project dynamically generates code based on the configuration csv.