Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Can't Compile Firmware #2

Open
jay8ee opened this issue Sep 22, 2019 · 3 comments
Open

Can't Compile Firmware #2

jay8ee opened this issue Sep 22, 2019 · 3 comments

Comments

@jay8ee
Copy link

jay8ee commented Sep 22, 2019

Hi there.

I cannot compile the custom firmware while following the instructions in the readme. I have tried the following:

  1. Made a copy of 'ble_app_peripheral' from the SDK
  2. Checked it compiled OK
  3. Replaced user_custs1_def.h and user_custs1_def.c with the ones from this repo
  4. Added user_extractor.h and user_extractor.c to the project
  5. Added the init_key() and init_blob() to the end of user_app_connection

I get a bunch of compile error because the rest of the ble_app reference constants there were in the original user_custs1_def.h

Am I meant to just comment out the places that refer to these now deleted constants?

Thanks.

@jay8ee
Copy link
Author

jay8ee commented Sep 23, 2019

To be clear, I can compile the firmware if I comment out the code that references these constants.
After looking at the other closed issue, it sounds like there maybe some more work inbound, so I'll hand tight until then :)

@Jesus805
Copy link
Owner

Hi, yes I plan to update the repository as soon as I'm done with my documentation. The only code that you should need to comment out is the write callbacks

@jay8ee
Copy link
Author

jay8ee commented Sep 23, 2019

Thanks for the reply.

I had to comment out :

  • the body of app_adcval1_timer_cb_handler
  • three instances of switch (msg_param->handle) in user_catch_rest_hndl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants