ble_ctf_infinity icon indicating copy to clipboard operation
ble_ctf_infinity copied to clipboard

Fixes for building on a new system

Open CoreyBenn opened this issue 6 years ago • 2 comments

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 main directory 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

CoreyBenn avatar Sep 24 '19 21:09 CoreyBenn

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?

cldrn avatar Oct 26 '19 16:10 cldrn

Fixed the problem with a different config. I will upload the configuration for future reference.

cldrn avatar Nov 01 '19 07:11 cldrn

The main directory is created with the codegen script. The project dynamically generates code based on the configuration csv.

hackgnar avatar Jun 27 '23 18:06 hackgnar