summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/system/platforms.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/platforms.nim b/lib/system/platforms.nim
index 0a7045fae..eeada5c51 100644
--- a/lib/system/platforms.nim
+++ b/lib/system/platforms.nim
@@ -28,6 +28,7 @@ type
     arm64,                     ## ARM64 based processor
     vm,                        ## Some Virtual machine: Nim's VM or JavaScript
     avr                        ## AVR based processor
+    msp430                     ## TI MSP430 microcontroller
 
   OsPlatform* {.pure.} = enum ## the OS this program will run on.
     none, dos, windows, os2, linux, morphos, skyos, solaris,
@@ -76,5 +77,6 @@ const
                elif defined(arm64): CpuPlatform.arm64
                elif defined(vm): CpuPlatform.vm
                elif defined(avr): CpuPlatform.avr
+               elif defined(msp430): CpuPlatform.msp430
                else: CpuPlatform.none
     ## the CPU this program will run on.