This commit is contained in:
Nav
2021-04-06 02:10:14 +01:00
parent 2fd045e056
commit 7a28f93ee9
85 changed files with 319 additions and 1177 deletions

View File

@@ -9,7 +9,7 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
protected:
public:
Mega(const Avr8& avr8) : Avr8(avr8) {};
Mega(const Avr8& avr8): Avr8(avr8) {};
virtual bool supportsPromotion() override {
return false;

View File

@@ -7,7 +7,7 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
class Tiny: public Avr8
{
public:
Tiny(const Avr8& avr8) : Avr8(avr8) {};
Tiny(const Avr8& avr8): Avr8(avr8) {};
virtual bool supportsPromotion() override {
return false;

View File

@@ -7,7 +7,7 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
class XMega: public Avr8
{
public:
XMega(const Avr8& avr8) : Avr8(avr8) {};
XMega(const Avr8& avr8): Avr8(avr8) {};
virtual bool supportsPromotion() override {
return false;

View File

@@ -1,6 +1,5 @@
#pragma once
#include <src/Logger/Logger.hpp>
#include <sstream>
#include <iomanip>
@@ -14,16 +13,6 @@ namespace Bloom::Targets::Microchip::Avr
protected:
std::optional<TargetSignature> id;
virtual void setId(unsigned char byteZero, unsigned char byteOne, unsigned char byteTwo) {
if (!this->id.has_value()) {
this->id = TargetSignature();
}
this->id->byteZero = byteZero;
this->id->byteOne = byteOne;
this->id->byteTwo = byteTwo;
}
virtual void setId(const TargetSignature& id) {
this->id = id;
}

View File

@@ -4,7 +4,6 @@
#include <string>
#include <vector>
#include <memory>
#include <src/EventManager/Events/Event.hpp>
#include <set>
#include <map>
@@ -18,8 +17,6 @@
namespace Bloom::Targets
{
using namespace Events;
class Target
{
protected:

View File

@@ -1,5 +1,5 @@
#pragma once
#include <src/Targets/Target.hpp>
#include <src/Targets/Microchip/AVR/Target.hpp>
#include <src/Targets/Microchip/AVR/AVR8/Avr8.hpp>
#include "src/Targets/Target.hpp"
#include "src/Targets/Microchip/AVR/Target.hpp"
#include "src/Targets/Microchip/AVR/AVR8/Avr8.hpp"