Comments (4)
You are absolutely right. I did not include all directories for gcc. My fault. Thank you for your time.
Topic to close.
from vs-code-stm32-ide.
Hmmm. I would need a little more info. Can you share your buildData.json
from this workspace .vscode folder and toolsPaths.json
from "$HOME/.config/Code/User/")
?
Or ideally, just pack whole project?
Also, are you using the latest ideScripts version?
from vs-code-stm32-ide.
Thanks for the quick response. I downloaded ideScripts
directly from the git.
builtData.json
does not have any data and toolsPaths.json
does not exist.
Link to the project: link.
My all paths:
1. /home/dziura/STMProjects/VSCODE/arm-none-eabi-gcc 2. /usr/bin/make' 3. /usr/bin/openocd 4. /usr/share/openocd/scripts/target/stm32f4x_stlink.cfg 5. /usr/share/openocd/scripts/target/stm32f4x.cfg 6. /home/dziura/STMProjects/VSCODE/STM32F40x.svd
STM32F40x.svd
and arm-none-eabi-gcc
are downloaded from the pages indicated in readme.
Command to run script:
dziura@dziura-nb ~/STMProjects/IDETEST/ide $ python3 ideScripts/updatePaths.py
My OS is Solus Linux.
from vs-code-stm32-ide.
Since I don't use Linux, maybe @poshcoe could tell more about gcc
and make
paths.
Anyway, I assume here is the problem:
gccExeFolderPath = os.path.dirname(gccExePath)
gccFolderPath = os.path.dirname(gccExeFolderPath)
searchPath = os.path.join(gccFolderPath, "lib", "gcc", "arm-none-eabi")
fileName = "stdint.h"
filePath = findFileInFolderTree(searchPath, fileName) # returns None
folderPath = os.path.dirname(filePath) # fails
As it seems, findFileInFolderTree()
is unable to find stdint.h
file in your GCC directory. Is this file really accessible? Did you manually change/rename GCC folder structure?
from vs-code-stm32-ide.
Related Issues (20)
- Invalid path detected in 'buildData.json' 'stm32SvdPath' key HOT 9
- how to install HOT 4
- Building issue HOT 6
- .vscode cfg file not found by openocd HOT 3
- GDB not found HOT 2
- Error when Flashing HOT 1
- GNU eclipse tools, GNU Eclipse ARM Embedded GCC: 7-2018-q2 not available HOT 3
- Problem with FreeRTOS HOT 2
- Maybe I got a bug. HOT 4
- Problem with access (seemingly) when executing update.py HOT 8
- Update.py Run Error HOT 1
- Error (unrecoverable) Unable to find matching STM32 CPU name for Keil project device: STM32L072CTx HOT 2
- Install on Mac OS HOT 1
- gccExePath HOT 2
- Paths with spaces HOT 2
- IndexError: list index out of range HOT 1
- Make file missing seprator HOT 1
- PermissionError: [WinError 5] Access is denied HOT 1
- Try build and get this: "undefined reference to .... HOT 2
- update.py generates bad arguments for openocd HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vs-code-stm32-ide.