2011-03-10 05:11:03 +00:00
|
|
|
class Gpsim < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Simulator for Microchip's PIC microcontrollers"
|
2015-05-09 18:58:55 +00:00
|
|
|
homepage "http://gpsim.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/gpsim/gpsim/0.28.0/gpsim-0.28.1.tar.gz"
|
|
|
|
sha256 "d8d41fb530630e6df31db89a0ca630038395aed4d07c48859655468ed25658ed"
|
gpsim 0.25.0
gpsim is a full-featured software simulator for Microchip PIC
microcontrollers distributed under the GNU General Public License,
Version 2 or higher, and some of it's libraries under GNU Lesser General
Public License, Version 2 or higher.
gpsim has been designed to be as accurate as possible. Accuracy includes
the entire PIC - from the core to the I/O pins and including ALL of the
internal peripherals. Thus it's possible to create stimuli and tie them
to the I/O pins and test the PIC the same PIC the same way you would in
the real world.
gpsim has been designed to be as fast as possible. Real time simulation
speeds of 20Mhz pics are possible. ( A 'goto $' program runs at the same
speed as a 25Mhz pic when simulated on my 400Mhz PII Linux Box. Of
course, as you add stimuli and begin interacting with peripherals, the
performance drops. But it's still fast!)
gpsim has been designed to be as useful as possible. (At least that's
the intent - honest.) The standard simulation paradigm including
breakpoints, single stepping, disassembling, memory inspect & change,
and so on has been implemented. In addition, gpsim supports many
debugging features that are only available with in-circuit emulators.
For example, a continuous trace buffer tracks every action of the
simulator (whether you want it or not). Also, it's possible to set read
and write break points on values (e.g. break if a specific value is read
from or written to a register).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-25 11:16:58 +00:00
|
|
|
|
2015-05-09 18:58:55 +00:00
|
|
|
head "svn://svn.code.sf.net/p/gpsim/code/trunk"
|
gpsim 0.25.0
gpsim is a full-featured software simulator for Microchip PIC
microcontrollers distributed under the GNU General Public License,
Version 2 or higher, and some of it's libraries under GNU Lesser General
Public License, Version 2 or higher.
gpsim has been designed to be as accurate as possible. Accuracy includes
the entire PIC - from the core to the I/O pins and including ALL of the
internal peripherals. Thus it's possible to create stimuli and tie them
to the I/O pins and test the PIC the same PIC the same way you would in
the real world.
gpsim has been designed to be as fast as possible. Real time simulation
speeds of 20Mhz pics are possible. ( A 'goto $' program runs at the same
speed as a 25Mhz pic when simulated on my 400Mhz PII Linux Box. Of
course, as you add stimuli and begin interacting with peripherals, the
performance drops. But it's still fast!)
gpsim has been designed to be as useful as possible. (At least that's
the intent - honest.) The standard simulation paradigm including
breakpoints, single stepping, disassembling, memory inspect & change,
and so on has been implemented. In addition, gpsim supports many
debugging features that are only available with in-circuit emulators.
For example, a continuous trace buffer tracks every action of the
simulator (whether you want it or not). Also, it's possible to set read
and write break points on values (e.g. break if a specific value is read
from or written to a register).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-25 11:16:58 +00:00
|
|
|
|
2015-05-10 00:11:45 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "78a225eb11338a6699ccdb4c23ad4c1682cfdc34f06cf2c4fbeb571b238b45c9" => :yosemite
|
|
|
|
sha256 "dfdf91a9f332b9880ec59934fe661bbc0d50b45d8f7c2cdde888f31bcaac9c40" => :mavericks
|
|
|
|
sha256 "2d0cc0cf61b5df08cce8f9795666228487876cfda9045be3e371b6cd15c70bee" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-05-09 18:58:55 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "gputils" => :build
|
|
|
|
depends_on "glib"
|
|
|
|
depends_on "popt"
|
2013-05-05 04:46:15 +00:00
|
|
|
|
gpsim 0.25.0
gpsim is a full-featured software simulator for Microchip PIC
microcontrollers distributed under the GNU General Public License,
Version 2 or higher, and some of it's libraries under GNU Lesser General
Public License, Version 2 or higher.
gpsim has been designed to be as accurate as possible. Accuracy includes
the entire PIC - from the core to the I/O pins and including ALL of the
internal peripherals. Thus it's possible to create stimuli and tie them
to the I/O pins and test the PIC the same PIC the same way you would in
the real world.
gpsim has been designed to be as fast as possible. Real time simulation
speeds of 20Mhz pics are possible. ( A 'goto $' program runs at the same
speed as a 25Mhz pic when simulated on my 400Mhz PII Linux Box. Of
course, as you add stimuli and begin interacting with peripherals, the
performance drops. But it's still fast!)
gpsim has been designed to be as useful as possible. (At least that's
the intent - honest.) The standard simulation paradigm including
breakpoints, single stepping, disassembling, memory inspect & change,
and so on has been implemented. In addition, gpsim supports many
debugging features that are only available with in-circuit emulators.
For example, a continuous trace buffer tracks every action of the
simulator (whether you want it or not). Also, it's possible to set read
and write break points on values (e.g. break if a specific value is read
from or written to a register).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-25 11:16:58 +00:00
|
|
|
def install
|
2015-05-09 18:50:52 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-gui",
|
gpsim 0.25.0
gpsim is a full-featured software simulator for Microchip PIC
microcontrollers distributed under the GNU General Public License,
Version 2 or higher, and some of it's libraries under GNU Lesser General
Public License, Version 2 or higher.
gpsim has been designed to be as accurate as possible. Accuracy includes
the entire PIC - from the core to the I/O pins and including ALL of the
internal peripherals. Thus it's possible to create stimuli and tie them
to the I/O pins and test the PIC the same PIC the same way you would in
the real world.
gpsim has been designed to be as fast as possible. Real time simulation
speeds of 20Mhz pics are possible. ( A 'goto $' program runs at the same
speed as a 25Mhz pic when simulated on my 400Mhz PII Linux Box. Of
course, as you add stimuli and begin interacting with peripherals, the
performance drops. But it's still fast!)
gpsim has been designed to be as useful as possible. (At least that's
the intent - honest.) The standard simulation paradigm including
breakpoints, single stepping, disassembling, memory inspect & change,
and so on has been implemented. In addition, gpsim supports many
debugging features that are only available with in-circuit emulators.
For example, a continuous trace buffer tracks every action of the
simulator (whether you want it or not). Also, it's possible to set read
and write break points on values (e.g. break if a specific value is read
from or written to a register).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-25 11:16:58 +00:00
|
|
|
"--disable-shared",
|
|
|
|
"--prefix=#{prefix}"
|
2015-05-09 18:58:55 +00:00
|
|
|
system "make", "all"
|
|
|
|
system "make", "install"
|
gpsim 0.25.0
gpsim is a full-featured software simulator for Microchip PIC
microcontrollers distributed under the GNU General Public License,
Version 2 or higher, and some of it's libraries under GNU Lesser General
Public License, Version 2 or higher.
gpsim has been designed to be as accurate as possible. Accuracy includes
the entire PIC - from the core to the I/O pins and including ALL of the
internal peripherals. Thus it's possible to create stimuli and tie them
to the I/O pins and test the PIC the same PIC the same way you would in
the real world.
gpsim has been designed to be as fast as possible. Real time simulation
speeds of 20Mhz pics are possible. ( A 'goto $' program runs at the same
speed as a 25Mhz pic when simulated on my 400Mhz PII Linux Box. Of
course, as you add stimuli and begin interacting with peripherals, the
performance drops. But it's still fast!)
gpsim has been designed to be as useful as possible. (At least that's
the intent - honest.) The standard simulation paradigm including
breakpoints, single stepping, disassembling, memory inspect & change,
and so on has been implemented. In addition, gpsim supports many
debugging features that are only available with in-circuit emulators.
For example, a continuous trace buffer tracks every action of the
simulator (whether you want it or not). Also, it's possible to set read
and write break points on values (e.g. break if a specific value is read
from or written to a register).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-25 11:16:58 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|