Hello
I tried independantly the two examples from the sdk: ble_uart_app and pwm_driver .. both are compiling fine using the Nordic's SES solution.
I found easier to merge pwm_driver into ble_uart. I ran into compiling problems because i am not sure i understood the basics of SES (even though i read the documentation)
The first steps i did are:
1/ add the extra include declaration into the main.c file
2/ add existing c files into the drivers folder of the ble_uart solution (i dont know why on the top of "inserting existing files" i also had to "import them too"
> Isn't it the same to work with the insertion of existing files on the hard drive and importing them into the solution?
I then started to check the differences between the options between the solutions. I found that some include folder are not all inserted in my merge. this is were i got troubles.
Selecting the project, i opened the project->Options and try to add the missing folders by adding their location in "user includes directories" after clicking at the preprocessor tab.
> is there an order to add includes directories? because i got different compilations results in adding ../../../../../../components/drivers_nrf/nrf_soc_nosd
this solution compiled when i placed almost at the end of list of include directory. Strange though because this is the one of the first includes directory in the example pwm_driver.
> for merging the two sdk_config.h files (of about 10 000 lines) i had to compare manually and took me a while. is there a tool that can compare definition automatically between two files?
Thanks for your help
Philippe
I tried independantly the two examples from the sdk: ble_uart_app and pwm_driver .. both are compiling fine using the Nordic's SES solution.
I found easier to merge pwm_driver into ble_uart. I ran into compiling problems because i am not sure i understood the basics of SES (even though i read the documentation)
The first steps i did are:
1/ add the extra include declaration into the main.c file
2/ add existing c files into the drivers folder of the ble_uart solution (i dont know why on the top of "inserting existing files" i also had to "import them too"
> Isn't it the same to work with the insertion of existing files on the hard drive and importing them into the solution?
I then started to check the differences between the options between the solutions. I found that some include folder are not all inserted in my merge. this is were i got troubles.
Selecting the project, i opened the project->Options and try to add the missing folders by adding their location in "user includes directories" after clicking at the preprocessor tab.
> is there an order to add includes directories? because i got different compilations results in adding ../../../../../../components/drivers_nrf/nrf_soc_nosd
this solution compiled when i placed almost at the end of list of include directory. Strange though because this is the one of the first includes directory in the example pwm_driver.
> for merging the two sdk_config.h files (of about 10 000 lines) i had to compare manually and took me a while. is there a tool that can compare definition automatically between two files?
Thanks for your help
Philippe
The post was edited 1 time, last by PhilippeG ().