Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Upgrade PIO Core to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Dec 28, 2017
1 parent 13a6890 commit c3bbb0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import path from 'path';
export const IS_WINDOWS = process.platform.startsWith('win');
export const PKG_BASE_DIR = path.resolve(path.dirname(__filename), '..');

export const PIO_CORE_MIN_VERSION = '3.5.0-b.2';
export const PIO_CORE_MIN_VERSION = '3.5.0';
export const TERMINAL_REOPEN_DELAY = 1000; // ms, dalay before serial monitor restore
export const AUTO_REBUILD_DELAY = 3000; // ms

Expand Down Expand Up @@ -83,7 +83,7 @@ export const ATOM_CONFIG = {
'To upgrade to the latest development version, please use ' +
'`Menu: PlatformIO > Upgrade PlatformIO Core`.',
type: 'boolean',
default: false,
default: true,
order: 10
},
customPATH: {
Expand Down
4 changes: 1 addition & 3 deletions lib/installer/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

import * as pioNodeHelpers from 'platformio-node-helpers';
import * as utils from '../utils';

import AtomDependenciesStage from './stages/atom-dependencies';
import CodeCompletionEngineStage from './stages/code-completion-engine';
Expand All @@ -18,7 +17,6 @@ import InstallerProgressModal from './progress-modal';
import { PIO_CORE_MIN_VERSION } from '../config';
import PythonPrompt from './python-prompt';
import StateStorage from './state-storage';
import semver from 'semver';


export default class InstallationManager {
Expand All @@ -36,7 +34,7 @@ export default class InstallationManager {
pioCoreMinVersion: PIO_CORE_MIN_VERSION,
useBuiltinPIOCore: atom.config.get('platformio-ide.useBuiltinPIOCore'),
setUseBuiltinPIOCore: (value) => atom.config.set('platformio-ide.useBuiltinPIOCore', value),
useDevelopmentPIOCore: atom.config.get('platformio-ide.advanced.useDevelopmentPIOCore') || semver.prerelease(utils.getIDEVersion()),
useDevelopmentPIOCore: atom.config.get('platformio-ide.advanced.useDevelopmentPIOCore'),
pythonPrompt: new PythonPrompt()
})
];
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
"etch": "^0.12.6",
"fs-plus": "^3.0.1",
"ini": "^1.3.4",
"platformio-node-helpers": "^0.2.6",
"platformio-node-helpers": "^0.3.0",
"semver": "^5.3.0"
},
"devDependencies": {
"babel-eslint": "^7.2.0",
"babel-eslint": "^8.1.2",
"esformatter": "^0.10.0",
"esformatter-jsx": "^8.0.1",
"eslint": "^4.1.1",
Expand Down

0 comments on commit c3bbb0b

Please sign in to comment.