| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm not sure what changed, but VSCode doesn't recognize "c18".
The next best option is c17 or gnu17.
The original change to c18 was
commit 971e1b069f077141e13577b11898b18e8cb739f2.
BRANCH=none
BUG=none
TEST=./util/ide-config.sh vscode all:RW all:RO | tee .vscode/c_cpp_properties.json
# Check that VSCode is happy with gnu17 in
# .vscode/c_cpp_properties.json.
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I6797898dc7b546f805de43e07457a98ba22cc9ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2593917
Commit-Queue: Jett Rink <jettrink@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable C18 syntax in vscode cpptools.
This is important because we use some backward incompatible c18
syntax in EC. This syntax is not properly recognized when c11 mode
is used.
VSCode CPPTools now supports C18.
https://github.com/microsoft/vscode-cpptools/releases/tag/0.28.0
BRANCH=none
BUG=none
TEST=none
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I3e508f6d0e121e872476ca32db89d6abbbc8ff6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2218458
Commit-Queue: Jett Rink <jettrink@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* It can only generate for a single board-image at a time.
* It generates an XML that is importable from an existing CDT project.
See https://gn.googlesource.com/gn/+/master/docs/reference.md#eclipse-ide-support
for a better description about what is generated.
BRANCH=none
BUG=none
TEST=./util/ide-config.sh eclipse nocturne_fp:RW >nocturne_fp-rw.xml
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I891bce7fedf6cf10778618638f7bf5caffe57717
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2084413
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change error messages to print to stderr
* Uglify variables to adhere to shell scripting style
BRANCH=none
BUG=none
TEST=none
Change-Id: I2baef1b9711447b3506c74674db5701e9ba8c753
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2101901
Tested-by: Craig Hesling <hesling@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Craig Hesling <hesling@chromium.org>
|
|
This adds a script that can generates configs for
specific IDEs and board-image pairs.
This initial implementation only supports vscode.
BRANCH=none
BUG=none
TEST=time ./util/ide-config.sh vscode all:RO all:RW > .vscode/c_cpp_properties.json
Change-Id: I533958da962cea68f636999b52a90990beb02303
Signed-off-by: Craig Hesling <hesling@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2082641
Reviewed-by: Jett Rink <jettrink@chromium.org>
|