Search found 3 matches

by ocnek1
Sat Mar 17, 2018 4:06 am
Forum: General Discussion
Topic: Multipe C files - Update make?
Replies: 2
Views: 4092

Re: Multipe C files - Update make?

Hi Kolban.

Thanks for the reply. Yep, looks like you are correct :) I've just added a couple of new .c / .h files and everything seems to link and work OK.

.....well that was easy :o

Yes, I'm just working with the ESP-IDF build system.

Thanks.
by ocnek1
Fri Mar 16, 2018 8:04 pm
Forum: General Discussion
Topic: pointer to static struct gatts_profile_inst gl_profile
Replies: 0
Views: 2084

pointer to static struct gatts_profile_inst gl_profile

Hello, I would like to use some values of gl_profile in another task that is in another file. How do I go about making a global pointer to this struct? /* One gatt-based profile one app_id and one gatts_if, this array will store the gatts_if returned by ESP_GATTS_REG_EVT */ static struct gatts_profi...
by ocnek1
Fri Mar 16, 2018 5:13 pm
Forum: General Discussion
Topic: Multipe C files - Update make?
Replies: 2
Views: 4092

Multipe C files - Update make?

Hello, Sorry for the basic question. I've ran through some of the examples with no troubles, but would like to add some of my own functionality in separate c files so I don't have one big long source file. How do go about adding my own files to a project? Do I have to update a make file somewhere? S...