Skip to content

Commit 931049b

Browse files
authored
Merge pull request #49 from Alex079/fix-default-arguments
Fix default arguments
2 parents 58fa653 + cd0e3e3 commit 931049b

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v2.2.2
2+
- Fix compiler and linker default arguments
3+
14
## v2.2.1
25
- Fix arguments duplication for Atmel version of avr-size
36

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"url": "https://github.com/Alex079/vscode-avr-helper"
1818
},
1919
"publisher": "Alex079",
20-
"version": "2.2.1",
20+
"version": "2.2.2",
2121
"engines": {
2222
"vscode": "^1.64.2"
2323
},
@@ -73,6 +73,8 @@
7373
"-fpermissive",
7474
"-fno-exceptions",
7575
"-fno-threadsafe-statics",
76+
"-ffunction-sections",
77+
"-fdata-sections",
7678
"-pipe"
7779
],
7880
"scope": "resource",
@@ -84,8 +86,7 @@
8486
"type": "string"
8587
},
8688
"default": [
87-
"-ffunction-sections",
88-
"-fdata-sections",
89+
"-Wl,--gc-sections",
8990
"-pipe"
9091
],
9192
"scope": "resource",
@@ -247,8 +248,7 @@
247248
"lint": "eslint --ext .ts --fix src src",
248249
"clean": "rm -rf out dist *.vsix",
249250
"unit-test": "node out/test/unit/wrapper",
250-
"ui-test": "extest setup-and-run -s .vscode-test-ui -e out/extensions -m mocha.json 'out/test/ui/**/*.test.js'",
251-
"test": "yarn run unit-test && yarn run ui-test",
251+
"test": "yarn run unit-test",
252252
"pretest": "yarn run lint && rm -rf out && yarn run compile-tests",
253253
"vscode:prepublish": "rm -rf dist *.vsix && yarn run package"
254254
},

src/test/unit/extension.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as assert from 'assert';
22
import { promises as fs } from 'fs';
33
import { propagateSettings } from '../../main/actions/Propagator';
4-
import { getProperties, getSizeFormat } from '../../main/actions/ToolsCapabilities';
54
import { pickFolder } from '../../main/presentation/Inputs';
65
import { join } from 'path';
76

@@ -28,6 +27,8 @@ suite('Actions Test Suite', () => {
2827
"-fpermissive",
2928
"-fno-exceptions",
3029
"-fno-threadsafe-statics",
30+
"-ffunction-sections",
31+
"-fdata-sections",
3132
"-pipe"
3233
]);
3334
})

0 commit comments

Comments
 (0)