Skip to content

Commit

Permalink
Merge pull request #1 from adamdunkels/feature-thingsquare-additions
Browse files Browse the repository at this point in the history
Thingsquare MSPsim additions
  • Loading branch information
adamdunkels committed Aug 29, 2013
2 parents 53fb9fa + 3080997 commit 58f1873
Show file tree
Hide file tree
Showing 16 changed files with 3,089 additions and 24 deletions.
Binary file added images/cc430.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions se/sics/mspsim/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ public static String getNodeTypeByPlatform(String platform) {
if ("exp5438".equals(platform)) {
return "se.sics.mspsim.platform.ti.Exp5438Node";
}
if ("exp1101".equals(platform)) {
return "se.sics.mspsim.platform.ti.Exp1101Node";
}
if ("exp1120".equals(platform)) {
return "se.sics.mspsim.platform.ti.Exp1120Node";
}
if ("cc430".equals(platform)) {
return "se.sics.mspsim.platform.ti.CC430Node";
}
// Try to guess the node type.
return "se.sics.mspsim.platform." + platform + '.'
+ Character.toUpperCase(platform.charAt(0))
Expand Down
Loading

0 comments on commit 58f1873

Please sign in to comment.