You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware https://github.com/topics/platformio-platform
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Mac OS 10.15.5
PlatformIO Version (platformio --version): 4.3.4
Description of problem
I am developing a custom out-of-tree driver with __syscall definition. As described here, I need to append the path containing my header definition to SYSCALL_INCLUDE_DIRS list CMake variables. But the scripts/gen_syscalls.py doesn't aware this additional path.
Steps to Reproduce
Create the header file containing some __syscall functions. Let's say uwb.h
Refer the uwb.h in one of user source files in src
Run the build
Actual Results
In file included from src/main.c:31:
zephyr/include/drivers/uwb.h:89:10: fatal error: syscalls/uwb.h: No such file or directory
#include <syscalls/uwb.h>
Expected Results
Build successfully
Additional info
The additional SYSCALL_INCLUDE_DIRS doesn't take effect. It misses the appointed directory. There is no uwb.h generated in .pio\build\zephyr\include\generated\syscalls
The text was updated successfully, but these errors were encountered:
I run in a similar Problem. Have a look at your boards directory inside your platform-repo. There you can see many .json-Files. There you have to add "syscall_include_dirs": "zephyr" like this:
What kind of issue is this?
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support
PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to appropriate repository:
PlatformIO IDE for Atom or
PlatformIO IDE for VSCode
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Mac OS 10.15.5
PlatformIO Version (
platformio --version
): 4.3.4Description of problem
I am developing a custom out-of-tree driver with __syscall definition. As described here, I need to append the path containing my header definition to SYSCALL_INCLUDE_DIRS list CMake variables. But the
scripts/gen_syscalls.py
doesn't aware this additional path.Steps to Reproduce
uwb.h
zephyr/CMakeLists.txt
src
Actual Results
Expected Results
Build successfully
Additional info
The additional SYSCALL_INCLUDE_DIRS doesn't take effect. It misses the appointed directory. There is no
uwb.h
generated in.pio\build\zephyr\include\generated\syscalls
The text was updated successfully, but these errors were encountered: