Add Elbrus 2000 architecture (#19024)
* Add Elbrus 2000 architecture * Add e2k to niminst * Update compiler/installer.ini Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
1a45da9150
commit
5e2b9341f3
5 changed files with 13 additions and 3 deletions
|
|
@ -35,7 +35,8 @@ type
|
|||
msp430, ## TI MSP430 microcontroller
|
||||
riscv32, ## RISC-V 32-bit processor
|
||||
riscv64, ## RISC-V 64-bit processor
|
||||
wasm32 ## WASM, 32-bit
|
||||
wasm32, ## WASM, 32-bit
|
||||
e2k ## MCST Elbrus 2000
|
||||
|
||||
OsPlatform* {.pure.} = enum ## the OS this program will run on.
|
||||
none, dos, windows, os2, linux, morphos, skyos, solaris,
|
||||
|
|
@ -93,5 +94,6 @@ const
|
|||
elif defined(riscv32): CpuPlatform.riscv32
|
||||
elif defined(riscv64): CpuPlatform.riscv64
|
||||
elif defined(wasm32): CpuPlatform.wasm32
|
||||
elif defined(e2k): CpuPlatform.e2k
|
||||
else: CpuPlatform.none
|
||||
## the CPU this program will run on.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue