From 09140f465583114356821a3aef72400cbdc9b2f0 Mon Sep 17 00:00:00 2001 From: Lars Even Almaas Date: Thu, 19 Nov 2020 08:11:59 +0100 Subject: [PATCH] Added PIC and MIPS platforms. (#2909) --- cli/cmdlineparser.cpp | 6 ++++++ platforms/mips32.xml | 18 ++++++++++++++++++ platforms/pic16.xml | 18 ++++++++++++++++++ platforms/pic8.xml | 18 ++++++++++++++++++ win_installer/cppcheck.wxs | 3 +++ 5 files changed, 63 insertions(+) create mode 100644 platforms/mips32.xml create mode 100644 platforms/pic16.xml create mode 100644 platforms/pic8.xml diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 6c954011e..144872942 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1128,6 +1128,12 @@ void CmdLineParser::printHelp() " 64 bit Windows\n" " * avr8\n" " 8 bit AVR microcontrollers\n" + " * pic8\n" + " 8 bit PIC microcontrollers\n" + " * pic16\n" + " 16 bit PIC microcontrollers\n" + " * mips32\n" + " 32 bit MIPS microcontrollers\n" " * native\n" " Type sizes of host system are assumed, but no\n" " further assumptions.\n" diff --git a/platforms/mips32.xml b/platforms/mips32.xml new file mode 100644 index 000000000..44cbc5903 --- /dev/null +++ b/platforms/mips32.xml @@ -0,0 +1,18 @@ + + + 8 + signed + + 1 + 2 + 4 + 4 + 8 + 4 + 8 + 8 + 4 + 4 + 4 + + \ No newline at end of file diff --git a/platforms/pic16.xml b/platforms/pic16.xml new file mode 100644 index 000000000..2c926957a --- /dev/null +++ b/platforms/pic16.xml @@ -0,0 +1,18 @@ + + + 8 + unsigned + + 1 + 2 + 2 + 4 + 8 + 4 + 4 + 8 + 2 + 2 + 2 + + \ No newline at end of file diff --git a/platforms/pic8.xml b/platforms/pic8.xml new file mode 100644 index 000000000..b855cbefc --- /dev/null +++ b/platforms/pic8.xml @@ -0,0 +1,18 @@ + + + 8 + unsigned + + 1 + 2 + 2 + 4 + 4 + 4 + 4 + 4 + 2 + 2 + 2 + + diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs index ab0ca673d..f7c958344 100644 --- a/win_installer/cppcheck.wxs +++ b/win_installer/cppcheck.wxs @@ -132,6 +132,9 @@ + + +