Add Elbrus E1C+ platform (#2913)

This commit is contained in:
Georgy Komarov 2020-11-20 12:36:13 +03:00 committed by GitHub
parent f6399c4cba
commit 4517c9aae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View File

@ -1128,6 +1128,8 @@ void CmdLineParser::printHelp()
" 64 bit Windows\n"
" * avr8\n"
" 8 bit AVR microcontrollers\n"
" * elbrus-e1cp\n"
" Elbrus e1c+ architecture\n"
" * pic8\n"
" 8 bit PIC microcontrollers\n"
" Baseline and mid-range architectures\n"

19
platforms/elbrus-e1cp.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<platform>
<char_bit>8</char_bit>
<default-sign>unsigned</default-sign>
<sizeof>
<bool>1</bool>
<short>2</short>
<int>4</int>
<long>8</long>
<long-long>8</long-long>
<float>4</float>
<double>8</double>
<long-double>16</long-double>
<pointer>8</pointer>
<size_t>8</size_t>
<wchar_t>4</wchar_t>
</sizeof>
</platform>

View File

@ -132,6 +132,7 @@
<File Id='arm64wchar_t2.xml' Name='arm64-wchar_t2.xml' Source='$(var.PtfsDir)\arm64-wchar_t2.xml' />
<File Id='arm64wchar_t4.xml' Name='arm64-wchar_t4.xml' Source='$(var.PtfsDir)\arm64-wchar_t4.xml' />
<File Id='avr8.xml' Name='avr8.xml' Source='$(var.PtfsDir)\avr8.xml' />
<File Id='elbrus-e1cp.xml' Name='elbrus-e1cp.xml' Source='$(var.PtfsDir)\elbrus-e1cp.xml' />
<File Id='pic8.xml' Name='pic8.xml' Source='$(var.PtfsDir)\pic8.xml' />
<File Id='pic8-enhanced.xml' Name='pic8-enhanced.xml' Source='$(var.PtfsDir)\pic8-enhanced.xml' />
<File Id='pic16.xml' Name='pic16.xml' Source='$(var.PtfsDir)\pic16.xml' />