Giter Club home page Giter Club logo

tebl / rc6502-apple-1-replica Goto Github PK

View Code? Open in Web Editor NEW
139.0 19.0 35.0 145.81 MB

An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!

Home Page: https://hvetebolle.blogspot.no/p/rc6502.html

License: GNU General Public License v3.0

C++ 15.95% Assembly 8.50% Batchfile 0.02% Perl 0.28% Makefile 0.19% HTML 40.86% CSS 9.43% JavaScript 10.88% TeX 13.81% C 0.08%
replicas sbc kit apple1 6502 kicad rc6502

rc6502-apple-1-replica's Introduction

RC6502 Apple 1 Replica

Since building and spending time with the excellent RC2014 computer kit, I wanted to build another one from scratch while learning even more about them along the way. Combine that with the love of old machines I'll never be able to own, and the missing knowledge to actually do that I instead started looking for books on how things work on a more basic level.

Seems someone, Tow Owad ofcourse, wrote a book on called "Apple 1 Replica Creation, Back to the garage" on how to build an Apple 1 computer from scratch and made it freely available on http://www.applefritter.com/. Couldn't possibly find a more perfect match, so thank you for that Tom! Only thing missing was the PCBs, so with that in mind I set about designing them in KiCAD. Before long, the RC6502 Apple 1 Replica was born.

I started designing each function as a separate module for ease of debugging, later all this was concentrated down into a computer on a single PCB. A so called Single Board Computer (SBC) to call my own, but with the ability to connect it up to a backplane of your choice (either my own, or you can use the RC2014 one) so that extra functionality can be plugged in and added as you please. The fun part is designing additions for it, so check out the various modules if there's something you'd like to add to it.

I've been documenting the build process of the various components on my blog at https://hvetebolle.blogspot.no/p/rc6502.html, but be warned that it's in my native language (Norwegian) so this might not be anywhere close to readable for most people. For those of you relying on English as a language, and don't want to try out Google Translate, the essence of it is that it all amounts to a fully functional Apple 1 replica computer built with the cheapest parts possible!

RC6502 Computer RC6502 SBC Computer

Modules

Like the RC2014 I've decided to keep things very modular with each card more or less doing one simple thing, easier to wrap ones head around as a beginner and a lot easier to understand when troubleshooting - also a lot cheaper to upgrade or replace since you don't actually need to replace the entire thing, just the specific board. With the conversion of the RC6502 computer to a SBC-version (Single Board Computer), you now have the option to build an all in one version on a single PCB - alternatively you can build the completely full-sized version as before if you want to! Most can be accomplished with the SBC version so to start things off, I recommend getting PCBs of the SBC (order) as well as the backplane (order).

The full-sized system uses a 39-pin bus described in Bus.md. The SBC supports the same bus, allowing you to use expansion cards with it; jumpers on the SBC allow you to disable any of the RAM, ROM, PIA and clock so that their functionality can be replaced by peripheral cards on the bus.

In order to build a single board computer (SBC) of RC6502 you'll need the following modules:

In order to build the complete full-sized RC6502 you'll need the following modules:

Optional modules:

If you would like to have a copy of one or more modules, what you'll need to do is zip up the contents of the export directory for each module and give that to your favourite PCB fabrication plant. Personally I prefer to use PCBWay, each module is only 5$ each and new accounts even get the first one free! Please use the supplied link when signing up to help me support this project, I'll get a small discount on future orders and hopefully I can afford to keep developing new and exciting modules. Some of the modules also have an order-link, using this you won't have to deal with the rather daunting PCB fabrication order forms so you know it'll work on the first order attempt!

rc6502-apple-1-replica's People

Contributors

0cjs avatar jpdias avatar natevw avatar tebl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rc6502-apple-1-replica's Issues

How to write to digital I/O LEDs?

Hi, thanks for a great SBC. I've assembled a number of additional components like the Joystick/Digital I/O board and the VDU too. So far, everything works except I don't know how to write to the LEDs.

I tried using WozMon to write to the same address I can read the buttons from (A000) but nothing happens -- the LEDs are just always on. Is there some direction register I have to set or something?

No life...

Hi
Are there any known issues with your rev F board?
I've built one but there's no sign of life. All soldering looks ok but I may just have a short somewhere...

Thanks
IMG_20190923_224540082
IMG_20190923_224552503

Video Out gets stuck and other Instabilities

First of all, I'm not sure if this is an issue, or some problem of my build. Nonetheless, I hope someone can help me out (and in the process, maybe document some learning).

TL;DR; PIA Communicator either gets stuck, or enters and endless loop of displaying a mix of garbage or the same character. One way to force this in my build is to simply connect the BUS to a breadboard.

As far as I understand the Apple 1 Video Out, there are two signals, RDA and DA. DA says that there's a character to be displayer, and RDA informs the PIA that the terminal is ready to accept that character. Once RDA goes from HIGH to LOW, then DA becomes low. DA is connected to PB7 in the PIA, and is the only pin on PB that is configured as input. The transition from HIGH to LOW in DA is controlled by the negated output of CB2.

Now, whenever the SBC becomes "stuck", according to my quick debug, I can see two things: first, the CPU is not stalled. The Address lines are changing, as well as the data lines. But there's an inconsistency in the signals. CB2 is outputting LOW, which is negated by the 74xx04 IC. I can confirm that its output is HIGH (4.62V). I can also confirm that one pin of the 10nF capacitor exhibits 4.62, but the other pin is at 0V. This is confirmed by probing PB7 which is LOW (should be HIGH). Something, somewhere, is asserting this line LOW, when it shouldn't.

Now, from the schematics, this line seems to be connected solely between the Arduino and the PIA. Nothing else is in between. So my hypothesis is that either the PIA changed the DDR of PB somehow, or the Arduino is pulling the line LOW (somehow).

By the way, I can stall my system in the following simple way: simply connecting the BUS to a breadboard 😕

Problem while using joystick as mouse

the code I copied from the Arduino IDE website is showing an error. showing"MOUSE not defined"
I have even included the MOUSE library

problem

here is the code

#include <Mouse.h>

/*
JoystickMouseControl

Controls the mouse from a joystick on an Arduino Leonardo, Micro or Due.
Uses a pushbutton to turn on and off mouse control, and a second pushbutton
to click the left mouse button.

Hardware:

  • 2-axis joystick connected to pins A0 and A1
  • pushbuttons connected to pin D2 and D3

The mouse movement is always relative. This sketch reads two analog inputs
that range from 0 to 1023 (or less on either end) and translates them into
ranges of -6 to 6.
The sketch assumes that the joystick resting values are around the middle of
the range, but that they vary within a threshold.

WARNING: When you use the Mouse.move() command, the Arduino takes over your
mouse! Make sure you have control before you use the command. This sketch
includes a pushbutton to toggle the mouse control state, so you can turn on
and off mouse control.

created 15 Sep 2011
updated 28 Mar 2012
by Tom Igoe

This example code is in the public domain.

https://www.arduino.cc/en/Tutorial/BuiltInExamples/JoystickMouseControl
*/

#include <Mouse.h>

// set pin numbers for switch, joystick axes, and LED:
const int switchPin = 2; // switch to turn on and off mouse control
const int mouseButton = 3; // input pin for the mouse pushButton
const int xAxis = A0; // joystick X axis
const int yAxis = A1; // joystick Y axis
const int ledPin = 5; // Mouse control LED

// parameters for reading the joystick:
int range = 12; // output range of X or Y movement
int responseDelay = 5; // response delay of the mouse, in ms
int threshold = range / 4; // resting threshold
int center = range / 2; // resting position value

bool mouseIsActive = false; // whether or not to control the mouse
int lastSwitchState = LOW; // previous switch state

void setup() {
pinMode(switchPin, INPUT); // the switch pin
pinMode(ledPin, OUTPUT); // the LED pin
// take control of the mouse:
Mouse.begin();
}

void loop() {
// read the switch:
int switchState = digitalRead(switchPin);
// if it's changed and it's high, toggle the mouse state:
if (switchState != lastSwitchState) {
if (switchState == HIGH) {
mouseIsActive = !mouseIsActive;
// turn on LED to indicate mouse state:
digitalWrite(ledPin, mouseIsActive);
}
}
// save switch state for next comparison:
lastSwitchState = switchState;

// read and scale the two axes:
int xReading = readAxis(A0);
int yReading = readAxis(A1);

// if the mouse control state is active, move the mouse:
if (mouseIsActive) {
Mouse.move(xReading, yReading, 0);
}

// read the mouse button and click or not click:
// if the mouse button is pressed:
if (digitalRead(mouseButton) == HIGH) {
// if the mouse is not pressed, press it:
if (!Mouse.isPressed(MOUSE_LEFT)) {
Mouse.press(MOUSE_LEFT);
}
}
// else the mouse button is not pressed:
else {
// if the mouse is pressed, release it:
if (Mouse.isPressed(MOUSE_LEFT)) {
Mouse.release(MOUSE_LEFT);
}
}

delay(responseDelay);
}

/*
reads an axis (0 or 1 for x or y) and scales the analog input range to a range
from 0 to
*/

int readAxis(int thisAxis) {
// read the analog input:
int reading = analogRead(thisAxis);

// map the reading from the analog input range to the output range:
reading = map(reading, 0, 1023, 0, range);

// if the output reading is outside from the rest position threshold, use it:
int distance = reading - center;

if (abs(distance) < threshold) {
distance = 0;
}

// return the distance for this axis:
return distance;
}

Stuck terminal and die

Hi!

I am trying since a coupe of months to get the Apple1 SBC (Rev F) work but no luck, the terminal only shows "RC6502 apple 1 Replica" and got stuck, no prompt at all 😓

Screenshot 2021-11-11 at 16 53 09

I made some checks on the capacitor and they are all fine, also I reflash the Arduino and the 8KB ROM onto the AT28C64 but still no luck, please can you point me some other checks I can do to find the error out?

IMG_20211111_170951
IMG_20211111_171021
IMG_20211111_172446

Thanks and stay safe!

Forum?

Is there a forum for discussion on this project? I have some questions.

VDU not completely working; help?

Hi, thanks for a great kit computer.

I've built a VDU and a black and white amplifier, and now when I plug the machine in and turn it on I get a sea of question marks, which suggests the video chip is working correctly.

Then I try (using the serial interface) to write to video memory in WozMon like so

8800: 00
8C00: 00
8000: 12 20 20 20

Nothing happens. Querying address 8000 returns FF. It seems like video RAM is not being mapped in? I have the VDU Base jumper set to the topmost one, i.e. 0x8000 and jumpers in VDU_EN, OSC_EN and on the lower positions of both INV_SEL and CSS_SEL. Is there something I should change here?

Edit: Oh, next time I turned it on, I got a sort of checkerboard pattern with 8x8 blocks of question marks and of @ signs (or backwards 6s?). When I write 00 to 8800 it turns into the normal sea of question marks

Edit: I also don't seem to be getting any results when I try to write to the locations of the LEDs (a000 etc.) on the joystick/digital I/O board. But I can at least read the state of those buttons OK.

Trouble with programming Atmega328p with CP2102 usb to ttl module

hello,
I need to program the Atmega328p with a USB to TTL module (cp 2102). my module does not have a DTR pin and I am not able to program using it. whenever I try programming the atmega chip it displays an error stating that "attempt 10 of 10, not in sync".

please can anyone help me with this?

Serial IO BOM for Rev B board

The BOM on the Serial IO board page needs to be updated for the Rev B board. There is a capacitor count difference, and there is a missing diode. I had to go to the schematic to figure out the right parts to install.

pia_communicator: Incorrect Control Character Handling

The control character output handling of the PIA communicator is substantially different from the actual Apple 1. Here is the original Apple 1 behaviour:

  • ASCII Control characters ($00-$1F) other than CR ($0D) print nothing and do not move the cursor.
  • CR ($0D) fills the remainder of the current screen line with spaces and sets the cursor to the next line, scrolling the display if the cursor was on the last line.
  • Characters from the upper-case sticks ($20-$5F, space through underbar) are printed as-is.
  • Characters from the lower-case sticks ($60-$7F) print the same glyphs as the upper-case sticks. (Though $7F is an ASCII control character, the Apple 1 treats it as a printable character with the same glyph as $5F.)

(See the link above for references verifying this behaviour.)

pia_communicator passes all control characters directly through to the serial output which produces substantially different behaviour in any standard terminal program because those terminal programs process characters such as ASCII BS ($08) by doing cursor movements that the Apple 1 was incapable of, as well as printing different glyphs for the lower-case sticks.

The obvious fix would be to change pia_communicator to generate ASCII output to the serial port that emulates the behaviour of the actual Apple 1 video system. However, a reasonable argument could be made that not converting the lower-case sticks (excepting $7F) to the equivalant codes in the upper case sticks is not harmful, and potentially useful.

It might (or might not) also be useful to tweak the input handling better emulate the Apple 1 keyboard. pia_communicator already maps lower case to upper case; possibly it should also, for convenience, map backspace to _, the character that WozMon uses to command "remove previous char from input buffer." That, however, may run into issues with other software, such as KRUSADER, which uses backspace (in this case for "cancel line"). I suppose the ideal would be to have some settings in the program to change this on the fly, e.g., ~B<BS> and ~B_ to change the backspace key translation to backspace and underscore, respectively.

Nano Generated 1-MHz CPU Clock?

Couldn't the Nano provide the 1-MHz CPU clock (running as a background task on the Nano)? Example code snippet;

 /***************************************************************************
  *  output 1-MHz clock on OC2A (D11/PB3) for RC6502 SBC                    *
  ***************************************************************************/
  void beginClock()
  { pinMode(11,OUTPUT);             // OC2A (D11/PB3)
 /*                                                                         *
  *  TCCR2A settings for 'normal' or 'CTC' (non-PWM) mode                   *
  *  ------------------------------------------------------------           *
  *  COM2A1:COM2A0 '01' - Toggle OC2A on Compare Match                      *
  *  WGM22:WGM20  '010' - CTC mode (clear timer on compare match)           *
  *                       (WGM22 bit is in TCCR2B register)                 *
  *                                                                         */
    TCCR2A = ((1 << WGM21) | (1 << COM2A0));
    TCCR2B = (1 << CS20);           // prescale = 1:1 (WGM22 = 0)
    TIMSK2 = 0;                     // no interrupts
    OCR2A = 7;                      // match value
  }                                 // 0/1/3/7 => 8/4/2/1 MHz
 /***************************************************************************/

pia_communicator map_to_ascii() seems partly nonsensical

The map_to_ascii() function in pia_communicator seems to be at least partly nonsensical. It's passed the output of Serial.read(), which returns a byte read from the serial port. An examination of the standard AVR source code indicates that it will always return a value between 0 and 255 (if a character is available) and as far as I'm aware the AVR serial ports read values no larger than 8 bits. So:

  1. The "Ctrl A-Z" code checks for values larger than 255, which can never be returned, and thus does nothing. If there is some sort of case (linking to a different library?) where the values this checks can be returned, this should be documented, otherwise the code should be removed.

  2. The "Convert ESC key" code checking for a value of 203 doesn't make sense to me; it would be unusual for a terminal program with correct communications settings to set the high bit on ASCII characters, and if it did why would it do so only for ESC and not for any other characters? Again, remove or document.

How can I use a text video display and keyboard on the system?

Hi all,
I found this awesome project and I decided to give it a try; I bought the needed PCBs on PCBway and I'm waiting for them.
However, sice I don't want to depend on my PC (using Putty etc.) I was trying to understand how to connect a (PS/2?) keyboard and a composite monitor. I got the SBC, backplane, VDU and vdu adapter boards.

I can't find any info about that. Is there any tutorial, page, youtube video about that?

cheers from Brazil :-)

Problems getting color VDU working

I've built a color VDU and double checked all the connections and soldering joints.
When I plug it all in I get either a red screen of G's or red G's with some random green characters.

This seems to suggest at least the video chip is working. I've tested all logic chips and also tested the 62256 ram chip - no issues there.

Have swapped out the MC1372 and MC6847 just in case, but made no difference.

rsz_20220213_150304

rsz_20220213_150334

Any ideas as to where to start troubleshooting on this?

The RC6502 is running fine and I can connect to the console via the Arduino and run basic programs.

I made a game for this

This isn't really an issue, but I thought it may be of interest to people who follow this project.

Previously I made a minesweeper clone in 6502 assembly for the Apple II, BBC Micro, Commodore 64 and Atari 8-bit line. It has music and sound on the latter three too.

Anyway, today I ported it to the RC6502 with a color VDU and the joystick controller addons. It doesn't have sound effects but does show LED animations sometimes.

The (messy) source code for all versions is available at https://github.com/liamoc/6502_mep and I've attached the requisite wozmon input file to play it straight away.

main.hex.txt

Also attached is a screenshot (apologies for the poor quality), just to show the game running:

IMG_3161

Edit: It would be trivial to reassemble this to run as a ROM image, btw, because it doesn't depend on any of the existing ROM code. It would just mean changing the location in the assembler configuration to be ROM rather than RAM.

RC6502 Rev D RAM and ROM enabled jumpers

I have built the RC6502 SBC Rev D plugged into the backplane.
So far the arduino terminal coms works but no backslash.
I was wondering what the RAM_EN and ROM_EN should be set to on the SBC.

Regards

Costas

IMG_2273
IMG_2274

555 Timer missing from BOM

The BOM on the readme you have listed for the RC6502 Apple 1 SBC is missing the LM555 timer.

U6
LM555

I think I broke mine by being an idiot

I accidentally left my SBC resting on a conductive surface and turned it on via the 5V power from the backplane. It immediately shorted and seemed to turn off. Upon correcting this issue and plugging it in again, i can't seem to get anything to work anymore. It doesn't seem to be booting correctly. The Arduino itself seems to be fine (it shows a ! when I connect to the serial interface), so I suspect that the EEPROM has been corrupted. I don't think a 5v short would really damage any of the other chips, although I suppose it's possible. Anything else I should try before I start replacing chips?

Why is the peripheral clock (φ2out, bus pin 23) separate from the CPU clock (φ2in, bus pin 21)?

The 6502 has a φ2out pin (39) to allow access to the system clock when the internal oscillator is used. This doesn't seem necessary if an external oscillator is used since it can be fed to the 6502 φ2in pin (37) and also any peripherals that need a clock signal. At a quick glance this seems to be standard practice: the Apple 1, Apple II, Apple IIc and Acorn Electron for example leave CPU φ2out floating and send the same φ2 signal to the CPU and all other peripherals, if I'm reading the schematics right. (The Apple 1 is slightly confusing due to a third clock signal "φ0" on the expansion connector; it's not clear to me what that does, but it does not supply clock to the 6820.) Further, MOS themselves often did not provide a φ2out pin on variants supporting only external clock, including the (discontinued for legal reasons) 6501 and the Commodore 64's 6510.

Is there a particular reason that this design (on both the CPU board and the SBC) uses φ2out from the CPU for the peripherals rather than the same clock signal that's sent to the CPU? Or is it just what seemed right or obvious at the time? I have the feeling that this is incorrect (and also thus wasting one of the bus lines), but I do not know enough about this to be sure.

Can't compile the arduino sketch. Matching lib needed.

Hello,
I am also trying to get the board running. My problem is the Arduino sketch for the serial communication. To compile it, you need to add a MCP23S7 lib. But the matching lib is not provided in the github project. I tried at least 5 different libs, I found on the internet. Also one lib another guy sent me who already built the Apple replica. But no lib matches. The class itself needs different parameters, the methods have different names (and parameters). Is there a chance you could give a link to a suitable library? My board is complete, but the Arduino is a showstopper.
Best regards,
Rene

Reducing noise in video output?

Hi, I recently built a VDU and both amplifiers. With either amplifiers I am getting a flickering pattern of horizontal lines, clearly visible particularly in the background. I've got some old micros that produce similar noise, so I assumed it was normal, but the screenshots in the gallery in the repo don't seem to show the same pattern.

I've attached photos in various graphics modes to demonstrate what i mean. Does anyone know which component might be at fault here? It'd be nice to get a clearer picture.

IMG_3128

IMG_3127

Readme points to invalid location for ROM

Case options?

Seeing as I may have broken my old PIA chip by turning my machine on while it was resting on a metal surface (see #23), I would like to make sure I never make the same mistake again. Are there any case options for the RC6502? I don't have a 3d printer or anything, but I might be able to get access to one. The RC2014 has some designs but I am not sure if they're compatible.

WD65C02 Does not work with CPU Module

The schematic and the silkscreen for the CPU Module PCB list U1 as "WD65C02." That is just the one processor that WILL NOT WORK with the CPU module; the BE pin on the CPU module is left unconnected, but must be pulled high in order for the WD65C02 to work.

PIA Communicator compilation failed

I use the Arduino IDE 1.8.16

d:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware d:\Program Files (x86)\Arduino\hardware -tools d:\Program Files (x86)\Arduino\tools-builder -tools d:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries d:\Program Files (x86)\Arduino\libraries -libraries D:\我的文件\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10816 -build-path C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914 -warnings=none -build-cache C:\Users\ADMINI1\AppData\Local\Temp\arduino_cache_758226 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -verbose F:\working\PIA Communicator\pia_communicator\pia_communicator.ino
d:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware d:\Program Files (x86)\Arduino\hardware -tools d:\Program Files (x86)\Arduino\tools-builder -tools d:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries d:\Program Files (x86)\Arduino\libraries -libraries D:\我的文件\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10816 -build-path C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914 -warnings=none -build-cache C:\Users\ADMINI1\AppData\Local\Temp\arduino_cache_758226 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=d:\Program Files (x86)\Arduino\hardware\tools\avr -verbose F:\working\PIA Communicator\pia_communicator\pia_communicator.ino
Using board 'nano' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp" -o nul
Alternatives for MCP23S17.h: [MCP23S17]
ResolveLibrary(MCP23S17.h)
-> candidates: [MCP23S17]
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp" -o nul
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
-> candidates: [[email protected]]
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp" -o nul
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp" -o nul
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "D:\我的文件\Documents\Arduino\libraries\MCP23S17\MCP23S17.cpp" -o nul
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o nul
Generating function prototypes...
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\preproc\ctags_target_for_gcc_minus_e.cpp"
"d:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\preproc\ctags_target_for_gcc_minus_e.cpp"
正在编译项目...
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o"
Compiling libraries...
Compiling library "MCP23S17"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "D:\我的文件\Documents\Arduino\libraries\MCP23S17\MCP23S17.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o"
Compiling library "SPI"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-ID:\我的文件\Documents\Arduino\libraries\MCP23S17" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\SPI\SPI.cpp.o"
Compiling core...
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\wiring_pulse.S.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\WInterrupts.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\hooks.c" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\hooks.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring.c" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_digital.c" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\wiring_digital.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_shift.c" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_shift.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.c" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\wiring_pulse.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_analog.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial1.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial1.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\CDC.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\CDC.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial0.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial0.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\PluggableUSB.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\PluggableUSB.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial2.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial2.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial3.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial3.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\IPAddress.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\IPAddress.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Print.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\Print.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Stream.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\Stream.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\Tone.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\USBCore.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\USBCore.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WMath.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\WMath.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WString.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\WString.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\abi.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\abi.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp" -o "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\main.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\new.cpp" -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\core\new.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_pulse.S.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\WInterrupts.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\hooks.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_analog.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_digital.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_pulse.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\wiring_shift.c.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\CDC.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial0.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial1.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial2.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\HardwareSerial3.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\IPAddress.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\PluggableUSB.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\Print.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\Stream.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\Tone.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\USBCore.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\WMath.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\WString.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\abi.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\main.cpp.o"
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\core.a" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\core\new.cpp.o"
Archiving built core (caching) in: C:\Users\ADMINI1\AppData\Local\Temp\arduino_cache_758226\core\core_arduino_avr_nano_cpu_atmega328old_c3bfe3f79ffbeab93536a1a484b588d9.a
Linking everything together...
"d:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914/pia_communicator.ino.elf" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\sketch\pia_communicator.ino.cpp.o" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\SPI\SPI.cpp.o" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914/core\core.a" "-LC:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914" -lm
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::MCP23S17(SPIClass&, unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::MCP23S17(SPIClass&, unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::readRegister(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::writeRegister(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::readAll()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::writeAll()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::begin()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::pinMode(unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::digitalWrite(unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::digitalRead(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::readPort(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::readPort()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::writePort(unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::writePort(unsigned int)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::enableInterrupt(unsigned char, unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::disableInterrupt(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::setMirror(bool)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::getInterruptPins()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::getInterruptValue()'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::setInterruptLevel(unsigned char)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_232914\libraries\MCP23S17\MCP23S17.cpp.o (symbol from plugin): In function MCP23S17::MCP23S17(SPIClass*, unsigned char, unsigned char)': (.text+0x0): multiple definition of MCP23S17::setInterruptOD(bool)'
C:\Users\ADMINI
1\AppData\Local\Temp\arduino_build_232914\sketch\MCP23S17.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
使用库 MCP23S17 在文件夹: D:\我的文件\Documents\Arduino\libraries\MCP23S17 (legacy)
使用 1.0 版本的库 SPI 在文件夹: D:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
为开发板 Arduino Nano 编译时出错。

SBC Schematics seems incorrect

Pin D6 (9) of the Arduino Nano is reported to be connected to the CLOCK (which would be interesting, for those that don't have an available crystal, or to do some cycle-stepping). However, at least in the Revision H of the PCB, this pin is not connected.

Electrolytic Capacitor missing from Serial Board BOM

On the schematic there's a 10nF electrolytic capacitor - C5 - that doesn't appear on the BOM. Also, the silkscreen on the board for C5 is the one used for bypass caps (i.e., it looks like brackets [ ] ) instead of the round polarized symbol you'd normally expect.

Trouble with programming arduino

Hello,
I recently bought a kit through https://retrotechlyfe.com and I had accidentally formatted the preprogrammed arduino that came with the kit. I would like some help figuring out which sketch I need to upload to the arduino, since the seller will not release any info.

Board Rev: H
Controller: Arduino Nano
Chip: ATmega328p

Thanks to who ever decides to help me out!

Wrong jumper info in documentation

Hello!

I'm currently building the SBC version and I have noticed a problem in the description of two of the jumpers

The documentation (readme.md) says:

_VP GND:

Shorted: WD65C02 CPU. Leaves pin 1 of the CPU (V̅P̅ on the WD65C02) floating.
Open: Original MOS 6502, UM6502, SY6502, R65C02. Connects pin 1 of the CPU to
ground, providing an additional ground connection for the CPU._

In the revision H board it is just the opposite: Jumper open left pin 1 floating and jumper closed ties it to ground.

Another problem is with RAM Enable jumper:

_RAM_EN

Left pair shorted: Enable RAM. Connects RAM C̅S̅/O̅E̅ to address decoding logic (CS_RAM).
Right pair shorted: Disable RAM. Connects RAM C̅S̅/O̅E̅ to Vcc._

In revision H board the jumper is placed vertically, so it must be placed in the upper pair to enable the RAM and in the lower pair to disable it.

Hope it helps. Greetings!

Which versions of 6502 are compatible with SBC version?

Hello, thank you for this design! Looks fun, I have some PCBs on their way and hoping to build one maybe with a Rapberry Pi Pico eventually!

I am trying to source the right 6502 processor without spending too much. The BOM says "UM6502 or SY6502" implying this needs an NMOS version of the 6502? These are older and more expensive afaict. I also read at #2 (comment):

it does not appear to work with a Rockwell R6502AP (or I have a bad one.)

Which I think is NMOS but at least a different (maximum? must be exact?) clock speed of 2MHz instead of the usual 1MHz.

But I also read on https://hvetebolle.blogspot.com/2017/06/rc6502-montering-og-feilsking.html (translated):

[3.3k resistor] recommended when using 65c02 processors from Western Design […] The card works with the far cheaper and far more up-to-date versions of the 6502 processor, so is happy so far.

That sounds like the newer cheap CMOS ones? Would a W65C02S6TPG-14 work in the SBC version current revision? [Although maybe not much cheaper new than vintage eBay parts anyway…]

SBC6502 Apple 1 Replica

I have build the Apple 1 Replica, the Arduino UNO and the ROM works correctly. But if i use the Terminal (RS232) i see only dots. Do i need other boards to work with it? Is there a way to use the Terminal for Programming the SBC6502?

This is the start message:

RC6502 Apple 1 Replica
Video DA: 0x01
Video D0-D6: 0x00
Keyboard RDY: 0x01

Rewards Sven.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.