Skip to content

Commit

Permalink
Support firmware upload for ITPLE board
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongJun-Lee committed Mar 5, 2024
1 parent 6067fce commit 030bff9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/components/workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,10 @@ class Workspace extends Component<IProps> {

handleHWConnected = () => {
const hw = Entry.hw;
if (hw.programConnected && hw.hwModule && hw.hwModule.name == 'ArduinoExt') {
if (hw.programConnected && hw.hwModule &&
(hw.hwModule.name == 'ArduinoExt' ||
hw.hwModule.name == 'arduino' ||
hw.hwModule.name == 'ITPLE')) {
this.setState({isArduino: true})
} else {
this.setState({isArduino: false})
Expand Down

0 comments on commit 030bff9

Please sign in to comment.