removing ksbit.h file
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// keep in sync with github/pxt/pxtsim/libgeneric.ts
 | 
					// keep in sync with github/pxt/pxtsim/libgeneric.ts
 | 
				
			||||||
enum class NumberFormat {
 | 
					enum class NumberFormat {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * How to create the event.
 | 
					 * How to create the event.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
* Creation, manipulation and display of LED images.
 | 
					* Creation, manipulation and display of LED images.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum class Button {
 | 
					enum class Button {
 | 
				
			||||||
    A = MICROBIT_ID_BUTTON_A,
 | 
					    A = MICROBIT_ID_BUTTON_A,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,12 +0,0 @@
 | 
				
			|||||||
#include "pxt.h"
 | 
					 | 
				
			||||||
#include "ManagedBuffer.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
using namespace pxt;
 | 
					 | 
				
			||||||
MicroBitPin *getPin(int id);
 | 
					 | 
				
			||||||
typedef ImageData* Image;
 | 
					 | 
				
			||||||
typedef BufferData* Buffer;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace pxt {
 | 
					 | 
				
			||||||
  uint32_t programSize();
 | 
					 | 
				
			||||||
  uint32_t afterProgramPage();    
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum class DisplayMode_ {
 | 
					enum class DisplayMode_ {
 | 
				
			||||||
    //% block="black and white"
 | 
					    //% block="black and white"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum MotorCommand {
 | 
					enum MotorCommand {
 | 
				
			||||||
    //% block=coast
 | 
					    //% block=coast
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace music {
 | 
					namespace music {
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum class DigitalPin {
 | 
					enum class DigitalPin {
 | 
				
			||||||
    P0 = MICROBIT_ID_IO_P0,   // edge connector 0
 | 
					    P0 = MICROBIT_ID_IO_P0,   // edge connector 0
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,6 +62,8 @@ namespace pxt {
 | 
				
			|||||||
  uint32_t *allocate(uint16_t sz);
 | 
					  uint32_t *allocate(uint16_t sz);
 | 
				
			||||||
  int templateHash();
 | 
					  int templateHash();
 | 
				
			||||||
  int programHash();
 | 
					  int programHash();
 | 
				
			||||||
 | 
					  uint32_t programSize();
 | 
				
			||||||
 | 
					  uint32_t afterProgramPage();    
 | 
				
			||||||
  int getNumGlobals();
 | 
					  int getNumGlobals();
 | 
				
			||||||
  RefRecord* mkClassInstance(int vtableOffset);
 | 
					  RefRecord* mkClassInstance(int vtableOffset);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -294,6 +296,11 @@ namespace pxt {
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					using namespace pxt;
 | 
				
			||||||
 | 
					MicroBitPin *getPin(int id);
 | 
				
			||||||
 | 
					typedef ImageData* Image;
 | 
				
			||||||
 | 
					typedef BufferData* Buffer;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// The ARM Thumb generator in the JavaScript code is parsing
 | 
					// The ARM Thumb generator in the JavaScript code is parsing
 | 
				
			||||||
// the hex file and looks for the magic numbers as present here.
 | 
					// the hex file and looks for the magic numbers as present here.
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,7 +12,6 @@
 | 
				
			|||||||
        "enums.d.ts",
 | 
					        "enums.d.ts",
 | 
				
			||||||
        "shims.d.ts",
 | 
					        "shims.d.ts",
 | 
				
			||||||
        "pxt-core.d.ts",
 | 
					        "pxt-core.d.ts",
 | 
				
			||||||
        "ksbit.h",
 | 
					 | 
				
			||||||
        "core.cpp",
 | 
					        "core.cpp",
 | 
				
			||||||
        "pxt-helpers.ts",
 | 
					        "pxt-helpers.ts",
 | 
				
			||||||
        "helpers.ts",
 | 
					        "helpers.ts",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#include "ksbit.h"
 | 
					#include "pxt.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum SerialPin {
 | 
					enum SerialPin {
 | 
				
			||||||
    P0 = MICROBIT_ID_IO_P0,
 | 
					    P0 = MICROBIT_ID_IO_P0,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user