Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi I'm trying to launch on esp32c3. #19

Open
rkociuba opened this issue Jul 18, 2023 · 1 comment
Open

Hi I'm trying to launch on esp32c3. #19

rkociuba opened this issue Jul 18, 2023 · 1 comment

Comments

@rkociuba
Copy link

No description provided.

@rkociuba
Copy link
Author

Got this:
In file included from /home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/include/owb_rmt.h:41,
from /home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/include/owb.h:330,
from /home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/owb_rmt.c:59:
/home/rkociuba/esp/esp-idf-5.1/esp-idf/components/driver/deprecated/driver/rmt.h:18:2: warning: #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-Wcpp]
18 | #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h"
| ^~~~~~~
/home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/owb_rmt.c: In function '_init':
/home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/owb_rmt.c:438:28: error: incompatible types when assigning to type 'union ' from type 'int'
438 | GPIO.enable_w1ts = (0x1 << gpio_num);
| ^
/home/rkociuba/esp/esp32-ds18b20-example/components/esp32-owb/owb_rmt.c:442:14: error: 'gpio_dev_t' {aka 'volatile struct gpio_dev_s'} has no member named 'enable1_w1ts'; did you mean 'enable_w1ts'?
442 | GPIO.enable1_w1ts.data = (0x1 << (gpio_num - 32));
| ^~~~~~~~~~~~
| enable_w1ts

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

No branches or pull requests

1 participant