[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389795913 Found the problem. There is a copy-paste error in the nrfx52_config.h :) #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0 #endif Should be: #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0 #endif This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389790986 Hi Michal, After pulling your changes the PWM API errors in the blemesh_light are gone. But encountered the following error: `Error: In file included from repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:31:0: repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/include/nrfx_pwm.h:123:37: error: 'NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE' undeclared here (not in a function) .count_mode = (nrf_pwm_mode_t)NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE,\ ^ repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:58:18: note: in expansion of macro 'NRFX_PWM_DEFAULT_CONFIG' [0].config = NRFX_PWM_DEFAULT_CONFIG,` Update: It builds for the nRF52840pdk but not for nRF52dk. Unfortunately I don't have nRF52840pdk with me. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389790986 Hi Michal, After pulling your changes the PWM API errors in the blemesh_light are gone. But encountered the following error: `Error: In file included from repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:31:0: repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/include/nrfx_pwm.h:123:37: error: 'NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE' undeclared here (not in a function) .count_mode = (nrf_pwm_mode_t)NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE,\ ^ repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:58:18: note: in expansion of macro 'NRFX_PWM_DEFAULT_CONFIG' [0].config = NRFX_PWM_DEFAULT_CONFIG,` Update: It builds for the nRF52840pdk but not for nRF52dk This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389790986 Hi Michal, After pulling your changes the PWM API errors in the blemesh_light are gone. But encountered the following error: `Error: In file included from repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:31:0: repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/include/nrfx_pwm.h:123:37: error: 'NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE' undeclared here (not in a function) .count_mode = (nrf_pwm_mode_t)NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE,\ ^ repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:58:18: note: in expansion of macro 'NRFX_PWM_DEFAULT_CONFIG' [0].config = NRFX_PWM_DEFAULT_CONFIG,` Update: It builds for the nRF52840pdf but not for nRF52dk This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389790986 Hi Michal, After pulling your changes the PWM API errors in the blemesh_light are gone. But encountered the following error: `Error: In file included from repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:31:0: repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/include/nrfx_pwm.h:123:37: error: 'NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE' undeclared here (not in a function) .count_mode = (nrf_pwm_mode_t)NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE,\ ^ repos/apache-mynewt-core/hw/drivers/pwm/pwm_nrf52/src/pwm_nrf52.c:58:18: note: in expansion of macro 'NRFX_PWM_DEFAULT_CONFIG' [0].config = NRFX_PWM_DEFAULT_CONFIG,` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389501016 Thanks andrez and rymanluk. Both of your suggestions work! Appreciate your help. However, there are some application specific build errors which I can fix myself. Wonder how this type of build errors can be in the git. Or I'm missing something? `Assembling repos/apache-mynewt-core/hw/bsp/nrf52dk/src/arch/cortex_m4/gcc_startup_nrf52.s Error: repos/apache-mynewt-core/apps/blemesh_light/src/light_model.c: In function 'light_set_lightness': repos/apache-mynewt-core/apps/blemesh_light/src/light_model.c:44:7: error: implicit declaration of function 'pwm_enable_duty_cycle' [-Werror=implicit-function-declaration] rc = pwm_enable_duty_cycle(pwm0, 0, pwm_val); ^` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] SharanIoT commented on issue #1096: nimble dependency error
SharanIoT commented on issue #1096: nimble dependency error URL: https://github.com/apache/mynewt-core/issues/1096#issuecomment-389483488 Sorry, didn't get this - > "to work on master branch you will also need newt build from master. I did 'newt install' and 'newt upgrade' too. It says already "installed and upgraded" This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services