-v0.9.8 - Ongoing
+v1.0.0 - Ongoing
================
+- *** Moved '/drivers/chibi' to '/drivers/rf/chibi' ***
+- *** Moved '/drivers/sensors/pn532' to '/drivers/rf/pn532' ***
+- *** Renamed '/drivers/spiflash' to '/drivers/storage/spiflash' ***
+- *** Renamed '/drivers/eeprom' to '/drivers/storage/eeprom' ***
- *** Renamed '/drivers/lcd' to '/drivers/display' ***
+- Added basic AS1115 driver for segment displays
- Added driver for HX8340-B based LCDs
- Added flag to projectconfig.h to disable the default
GPIO IRQ Handler functions in code/gpio/gpio.c
##########################################################################
# Chibi Light-Weight Wireless Stack (AT86RF212)
-VPATH += drivers/chibi
+VPATH += drivers/rf/chibi
OBJS += chb.o chb_buf.o chb_drvr.o chb_eeprom.o chb_spi.o
# 4K EEPROM
-VPATH += drivers/eeprom drivers/eeprom/mcp24aa
+VPATH += drivers/storage/eeprom drivers/storage/eeprom/mcp24aa
OBJS += eeprom.o mcp24aa.o
# LM75B temperature sensor
OBJS += mcp4725.o
# RFID/NFC
-VPATH += drivers/sensors/pn532 drivers/sensors/pn532/helpers
+VPATH += drivers/rf/pn532 drivers/rf/pn532/helpers
OBJS += pn532.o pn532_bus_i2c.o pn532_bus_uart.o
OBJS += pn532_mifare_classic.o pn532_mifare_ultralight.o
OBJS += tcs3414.o tsl2561.o
# SPI Flash
-VPATH += drivers/spiflash/w25q16bv
+VPATH += drivers/storage/spiflash/w25q16bv
OBJS += w25q16bv.o
##########################################################################
<?xml version="1.0" encoding="UTF-8"?>
<Session Name="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\build\codelite\LPC1343 Workspace.workspace">
- <int Value="1" Name="m_selectedTab"/>
+ <int Value="0" Name="m_selectedTab"/>
<wxString Value="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\build\codelite\LPC1343 Workspace.workspace" Name="m_workspaceName"/>
<TabInfoArray Name="TabInfoArray">
<TabInfo>
<wxString Value="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\Makefile" Name="FileName"/>
- <int Value="71" Name="FirstVisibleLine"/>
- <int Value="90" Name="CurrentLine"/>
+ <int Value="93" Name="FirstVisibleLine"/>
+ <int Value="104" Name="CurrentLine"/>
<wxArrayString Name="Bookmarks"/>
</TabInfo>
<TabInfo>
</TabInfo>
<TabInfo>
<wxString Value="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\main.c" Name="FileName"/>
- <int Value="9" Name="FirstVisibleLine"/>
+ <int Value="10" Name="FirstVisibleLine"/>
<int Value="28" Name="CurrentLine"/>
<wxArrayString Name="Bookmarks"/>
</TabInfo>
</VirtualDirectory>
</VirtualDirectory>
<VirtualDirectory Name="drivers">
- <VirtualDirectory Name="chibi">
- <File Name="../../drivers/chibi/chb.c"/>
- <File Name="../../drivers/chibi/chb.h"/>
- <File Name="../../drivers/chibi/chb_buf.c"/>
- <File Name="../../drivers/chibi/chb_buf.h"/>
- <File Name="../../drivers/chibi/chb_drvr_at86rf212.c"/>
- <File Name="../../drivers/chibi/chb_drvr_at86rf212.h"/>
- <File Name="../../drivers/chibi/chb_eeprom.c"/>
- <File Name="../../drivers/chibi/chb_eeprom.h"/>
- <File Name="../../drivers/chibi/chb_spi.c"/>
- <File Name="../../drivers/chibi/chb_spi.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="eeprom">
- <VirtualDirectory Name="mcp24aa">
- <File Name="../../drivers/eeprom/mcp24aa/mcp24aa.c"/>
- <File Name="../../drivers/eeprom/mcp24aa/mcp24aa.h"/>
- </VirtualDirectory>
- <VirtualDirectory Name="at25040">
- <File Name="../../drivers/eeprom/at25040/at25040.c"/>
- <File Name="../../drivers/eeprom/at25040/at25040.h"/>
- </VirtualDirectory>
- <File Name="../../drivers/eeprom/eeprom.c"/>
- <File Name="../../drivers/eeprom/eeprom.h"/>
- </VirtualDirectory>
<VirtualDirectory Name="sensors">
<VirtualDirectory Name="lm75b">
<File Name="../../drivers/sensors/lm75b/lm75b.c"/>
<File Name="../../drivers/sensors/lm75b/lm75b.h"/>
</VirtualDirectory>
- <VirtualDirectory Name="pn532">
- <File Name="../../drivers/sensors/pn532/pn532.c"/>
- <File Name="../../drivers/sensors/pn532/pn532.h"/>
- <VirtualDirectory Name="helpers">
- <File Name="../../drivers/sensors/pn532/helpers/pn532_mifare.h"/>
- <File Name="../../drivers/sensors/pn532/helpers/pn532_mifare_classic.c"/>
- <File Name="../../drivers/sensors/pn532/helpers/pn532_mifare_classic.h"/>
- <File Name="../../drivers/sensors/pn532/helpers/pn532_mifare_ultralight.c"/>
- <File Name="../../drivers/sensors/pn532/helpers/pn532_mifare_ultralight.h"/>
- </VirtualDirectory>
- <File Name="../../drivers/sensors/pn532/pn532_bus.h"/>
- <File Name="../../drivers/sensors/pn532/pn532_bus_i2c.c"/>
- <File Name="../../drivers/sensors/pn532/pn532_bus_uart.c"/>
- </VirtualDirectory>
<VirtualDirectory Name="tcs3414">
<File Name="../../drivers/sensors/tcs3414/tcs3414.c"/>
<File Name="../../drivers/sensors/tcs3414/tcs3414.h"/>
<File Name="../../drivers/rtc/isl12022m/isl12022m.h"/>
</VirtualDirectory>
</VirtualDirectory>
- <VirtualDirectory Name="spiflash">
- <File Name="../../drivers/spiflash/spiflash.h"/>
- <VirtualDirectory Name="w25q16bv">
- <File Name="../../drivers/spiflash/w25q16bv/w25q16bv.c"/>
- <File Name="../../drivers/spiflash/w25q16bv/w25q16bv.h"/>
+ <VirtualDirectory Name="storage">
+ <VirtualDirectory Name="spiflash">
+ <VirtualDirectory Name="w25q16bv">
+ <File Name="../../drivers/storage/spiflash/w25q16bv/w25q16bv.c"/>
+ <File Name="../../drivers/storage/spiflash/w25q16bv/w25q16bv.h"/>
+ </VirtualDirectory>
+ <File Name="../../drivers/storage/spiflash/spiflash.h"/>
+ </VirtualDirectory>
+ <VirtualDirectory Name="eeprom">
+ <VirtualDirectory Name="at25040">
+ <File Name="../../drivers/storage/eeprom/at25040/at25040.c"/>
+ <File Name="../../drivers/storage/eeprom/at25040/at25040.h"/>
+ </VirtualDirectory>
+ <VirtualDirectory Name="mcp24aa">
+ <File Name="../../drivers/storage/eeprom/mcp24aa/mcp24aa.c"/>
+ <File Name="../../drivers/storage/eeprom/mcp24aa/mcp24aa.h"/>
+ </VirtualDirectory>
+ <File Name="../../drivers/storage/eeprom/eeprom.c"/>
+ <File Name="../../drivers/storage/eeprom/eeprom.h"/>
+ </VirtualDirectory>
+ </VirtualDirectory>
+ <VirtualDirectory Name="rf">
+ <VirtualDirectory Name="chibi">
+ <File Name="../../drivers/rf/chibi/chb.c"/>
+ <File Name="../../drivers/rf/chibi/chb.h"/>
+ <File Name="../../drivers/rf/chibi/chb_buf.c"/>
+ <File Name="../../drivers/rf/chibi/chb_buf.h"/>
+ <File Name="../../drivers/rf/chibi/chb_drvr.c"/>
+ <File Name="../../drivers/rf/chibi/chb_drvr.h"/>
+ <File Name="../../drivers/rf/chibi/chb_eeprom.c"/>
+ <File Name="../../drivers/rf/chibi/chb_eeprom.h"/>
+ <File Name="../../drivers/rf/chibi/chb_spi.c"/>
+ <File Name="../../drivers/rf/chibi/chb_spi.h"/>
+ <File Name="../../drivers/rf/chibi/types.h"/>
+ </VirtualDirectory>
+ <VirtualDirectory Name="pn532">
+ <File Name="../../drivers/rf/pn532/pn532.c"/>
+ <File Name="../../drivers/rf/pn532/pn532.h"/>
+ <File Name="../../drivers/rf/pn532/pn532_bus.h"/>
+ <File Name="../../drivers/rf/pn532/pn532_bus_i2c.c"/>
+ <File Name="../../drivers/rf/pn532/pn532_bus_uart.c"/>
+ <VirtualDirectory Name="helpers">
+ <File Name="../../drivers/rf/pn532/helpers/pn532_mifare.h"/>
+ <File Name="../../drivers/rf/pn532/helpers/pn532_mifare_classic.c"/>
+ <File Name="../../drivers/rf/pn532/helpers/pn532_mifare_classic.h"/>
+ <File Name="../../drivers/rf/pn532/helpers/pn532_mifare_ultralight.c"/>
+ <File Name="../../drivers/rf/pn532/helpers/pn532_mifare_ultralight.h"/>
+ </VirtualDirectory>
</VirtualDirectory>
</VirtualDirectory>
</VirtualDirectory>
<file file_name="../../projectconfig.h"/>
<file file_name="../../sysdefs.h"/>
<folder Name="drivers">
- <folder Name="eeprom">
- <folder Name="at25040">
- <file file_name="../../drivers/eeprom/at25040/at25040.c">
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- </folder>
- <folder Name="mcp24aa">
- <file file_name="../../drivers/eeprom/mcp24aa/mcp24aa.c">
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- </folder>
- <file file_name="../../drivers/eeprom/eeprom.c"/>
- </folder>
- <folder Name="chibi" file_name="">
- <file file_name="../../drivers/chibi/chb.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/chibi/chb_buf.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/chibi/chb_drvr.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/chibi/chb_eeprom.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/chibi/chb_spi.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- </folder>
<folder Name="sensors">
<folder Name="lm75b">
<file file_name="../../drivers/sensors/lm75b/lm75b.c">
<configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
</file>
</folder>
- <folder Name="pn532">
- <file file_name="../../drivers/sensors/pn532/pn532.c">
- <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/sensors/pn532/pn532_bus_uart.c">
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <folder Name="helpers">
- <file file_name="../../drivers/sensors/pn532/helpers/pn532_mifare_classic.c"/>
- <file file_name="../../drivers/sensors/pn532/helpers/pn532_mifare_ultralight.c"/>
- </folder>
- <file file_name="../../drivers/sensors/pn532/pn532_bus_i2c.c">
- <configuration Name="THUMB Flash Debug" build_exclude_from_build="No"/>
- </file>
- <file file_name="../../drivers/sensors/pn532/pn532_bus.h"/>
- </folder>
<folder Name="tsl2561">
<file file_name="../../drivers/sensors/tsl2561/tsl2561.c">
<configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
</folder>
<file file_name="../../drivers/displays/icons16.h"/>
<file file_name="../../drivers/displays/smallfonts.c"/>
+ <folder Name="segment">
+ <folder Name="as1115">
+ <file file_name="../../drivers/displays/segment/as1115/as1115.c">
+ <configuration Name="THUMB Flash Release" build_exclude_from_build="No"/>
+ </file>
+ </folder>
+ </folder>
</folder>
<folder Name="fatfs" file_name="">
<file file_name="../../drivers/fatfs/ff.c">
<configuration Name="THUMB Flash Debug" build_exclude_from_build="Yes"/>
</file>
</folder>
- <folder Name="spiflash">
- <folder Name="w25q16bv">
- <file file_name="../../drivers/spiflash/w25q16bv/w25q16bv.c"/>
+ <folder Name="rf">
+ <folder Name="chibi" file_name="">
+ <file file_name="../../drivers/rf/chibi/chb.c"/>
+ <file file_name="../../drivers/rf/chibi/chb_buf.c"/>
+ <file file_name="../../drivers/rf/chibi/chb_drvr.c"/>
+ <file file_name="../../drivers/rf/chibi/chb_eeprom.c"/>
+ <file file_name="../../drivers/rf/chibi/chb_spi.c"/>
+ </folder>
+ <folder Name="pn532">
+ <folder Name="helpers">
+ <file file_name="../../drivers/rf/pn532/helpers/pn532_mifare_classic.c"/>
+ <file file_name="../../drivers/rf/pn532/helpers/pn532_mifare_ultralight.c"/>
+ </folder>
+ <file file_name="../../drivers/rf/pn532/pn532.c"/>
+ <file file_name="../../drivers/rf/pn532/pn532_bus_i2c.c"/>
+ <file file_name="../../drivers/rf/pn532/pn532_bus_uart.c"/>
+ </folder>
+ </folder>
+ <folder Name="storage">
+ <folder Name="eeprom">
+ <folder Name="at25040">
+ <file file_name="../../drivers/storage/eeprom/at25040/at25040.c"/>
+ </folder>
+ <folder Name="mcp24aa">
+ <file file_name="../../drivers/storage/eeprom/mcp24aa/mcp24aa.c"/>
+ </folder>
+ <file file_name="../../drivers/storage/eeprom/eeprom.c"/>
+ </folder>
+ <folder Name="spiflash">
+ <folder Name="w25q16bv">
+ <file file_name="../../drivers/storage/spiflash/w25q16bv/w25q16bv.c"/>
+ </folder>
+ <file file_name="../../drivers/storage/spiflash/spiflash.h"/>
</folder>
- <file file_name="../../drivers/spiflash/spiflash.h"/>
</folder>
</folder>
<file file_name="../../sysinit.c"/>
<ProjectSessionItem path="LPC1343_CodeBase" name="unnamed" />
<ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase" name="unnamed" />
<ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase;Source Files" name="unnamed" />
- <ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase;Source Files;drivers" name="unnamed" />
- <ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase;Source Files;drivers;displays" name="unnamed" />
- <ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase;Source Files;drivers;displays;tft" name="unnamed" />
- <ProjectSessionItem path="LPC1343_CodeBase;LPC1343_CodeBase;Source Files;drivers;displays;tft;hw" name="unnamed" />
</Project>
<Register1>
<RegisterWindow openNodes="USB;USB/USBRxPLen;USB/USBTxPLen;USB/USBCtrl" binaryNodes="" hiddenNodes="" unsignedNodes="" visibleGroups="CPU;USB" decimalNodes="" octalNodes="" asciiNodes="" />
</TraceWindow>
<Watch1>
<Watches active="1" update="Each Second" >
- <Watchpoint linenumber="66" radix="10" name="msTicks" expression="msTicks" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/core/systick/systick.c" />
- <Watchpoint linenumber="138" radix="16" name="timer32_0_counter" expression="timer32_0_counter" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/core/timer32/timer32.c" />
- <Watchpoint linenumber="155" radix="-1" name="xTickCount" expression="xTickCount" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/freertos/tasks.c" />
<Watchpoint linenumber="155" radix="16" name="Tick" expression="Tick" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/freertos/tasks.c" />
+ <Watchpoint linenumber="155" radix="-1" name="xTickCount" expression="xTickCount" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/freertos/tasks.c" />
+ <Watchpoint linenumber="138" radix="16" name="timer32_0_counter" expression="timer32_0_counter" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/core/timer32/timer32.c" />
+ <Watchpoint linenumber="66" radix="10" name="msTicks" expression="msTicks" filename="c:/documents and settings/kevin/my documents/my dropbox/microbuilder/code/lpc1343/lpc1343_codebase/core/systick/systick.c" />
</Watches>
</Watch1>
<Watch2>
<Watch4>
<Watches active="0" update="Never" />
</Watch4>
- <Files/>
- <ARMCrossStudioWindow activeProject="LPC1343_CodeBase" autoConnectTarget="SEGGER J-Link" debugSearchFileMap="" fileDialogInitialDirectory="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\drivers\displays\tft\hw" fileDialogDefaultFilter="" autoConnectCapabilities="388991" debugSearchPath="" buildConfiguration="THUMB Flash Release" />
+ <Files>
+ <SessionOpenFile useTextEdit="1" useBinaryEdit="0" codecName="Latin1" x="0" debugPath="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\main.c" y="67" path="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\main.c" left="0" selected="1" name="unnamed" top="19" />
+ </Files>
+ <ARMCrossStudioWindow activeProject="LPC1343_CodeBase" autoConnectTarget="Segger J-Link" debugSearchFileMap="" fileDialogInitialDirectory="C:\Dropbox\microBuilder\Code\LPC1343\LPC1343_CodeBase_GIT\drivers\rf\pn532\helpers" fileDialogDefaultFilter="" autoConnectCapabilities="388991" debugSearchPath="" buildConfiguration="THUMB Flash Release" />
</session>
#include "gpio.h"
#ifdef CFG_CHIBI
-#include "drivers/chibi/chb_drvr.h"
+#include "drivers/rf/chibi/chb_drvr.h"
volatile uint32_t chibi_counter = 0;
#endif
#include "pmu.h"
#ifdef CFG_CHIBI
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
#endif
#define PMU_WDTCLOCKSPEED_HZ 7812
#include "core/adc/adc.h"
#include "core/gpio/gpio.h"
#include "core/systick/systick.h"
-#include "drivers/eeprom/eeprom.h"
+#include "drivers/storage/eeprom/eeprom.h"
#include "drivers/displays/tft/lcd.h"
#include "drivers/displays/tft/drawing.h"
#include "drivers/displays/tft/fonts/dejavusans9.h"
#include "core/gpio/gpio.h"
#include "core/systick/systick.h"
+#include "drivers/displays/segment/as1115/as1115.h"
+
#ifdef CFG_INTERFACE
#include "core/cmd/cmd.h"
#endif
uint32_t currentSecond, lastSecond;
currentSecond = lastSecond = 0;
- lcdTest();
+ // lcdTest();
+
+
+ // as1115Test();
+
+ uint8_t displaybuffer[8];
+
+ displaybuffer[0] = 0x01 | 0x80;
+ displaybuffer[1] = 0x02 | 0x40;
+ displaybuffer[2] = 0x04 | 0x20;
+ displaybuffer[3] = 0x08 | 0x10;
+ displaybuffer[4] = 0x10 | 0x08,
+ displaybuffer[5] = 0x20 | 0x04;
+ displaybuffer[6] = 0x40 | 0X02;
+ displaybuffer[7] = 0x80 | 0X01;
+
+ as1115WriteBuffer(displaybuffer);
while (1)
{
#include "project/commands.h" // Generic helper functions
#ifdef CFG_CHIBI
- #include "drivers/chibi/chb.h"
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
/**************************************************************************/
/*!
#include "project/commands.h" // Generic helper functions
#ifdef CFG_CHIBI
- #include "drivers/chibi/chb.h"
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
/**************************************************************************/
/*!
#include "project/commands.h" // Generic helper functions
#ifdef CFG_I2CEEPROM
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/eeprom.h"
/**************************************************************************/
/*!
#include "project/commands.h" // Generic helper functions
#ifdef CFG_I2CEEPROM
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/eeprom.h"
/**************************************************************************/
/*!
#include "project/commands.h" // Generic helper functions
#ifdef CFG_I2CEEPROM
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/eeprom.h"
#include "core/uart/uart.h"
/**************************************************************************/
#include "project/commands.h" // Generic helper functions
#ifdef CFG_CHIBI
- #include "drivers/chibi/chb.h"
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
#endif
#ifdef CFG_PRINTF_UART
#include "project/commands.h" // Generic helper functions
#ifdef CFG_I2CEEPROM
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/eeprom.h"
#include "core/uart/uart.h"
/**************************************************************************/
#include "project/commands.h" // Generic helper functions
#ifdef CFG_TFTLCD
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/eeprom.h"
#include "drivers/displays/tft/touchscreen.h"
/**************************************************************************/
Software License Agreement (BSD License)
- Copyright (c) 2010, microBuilder SARL
+ Copyright (c) 2012, microBuilder SARL
All rights reserved.
Redistribution and use in source and binary forms, with or without
microBuilder.eu USB stick 802.15.4 868/915MHz RF transceiver
-----------------------------------------------------------------------*/
- // #define CFG_BRD_LPC1343_REFDESIGN
+ #define CFG_BRD_LPC1343_REFDESIGN
// #define CFG_BRD_LPC1343_REFDESIGN_MINIMAL
- #define CFG_BRD_LPC1343_TFTLCDSTANDALONE_USB
+ // #define CFG_BRD_LPC1343_TFTLCDSTANDALONE_USB
// #define CFG_BRD_LPC1343_TFTLCDSTANDALONE_UART
// #define CFG_BRD_LPC1343_802154USBSTICK
// #define CFG_BRD_LPC1343_OLIMEX_P
/*=========================================================================
FIRMWARE VERSION SETTINGS
-----------------------------------------------------------------------*/
- #define CFG_FIRMWARE_VERSION_MAJOR (0)
- #define CFG_FIRMWARE_VERSION_MINOR (9)
- #define CFG_FIRMWARE_VERSION_REVISION (8)
+ #define CFG_FIRMWARE_VERSION_MAJOR (1)
+ #define CFG_FIRMWARE_VERSION_MINOR (0)
+ #define CFG_FIRMWARE_VERSION_REVISION (0)
/*=========================================================================*/
#endif
#ifdef CFG_CHIBI
- #include "drivers/chibi/chb.h"
+ #include "drivers/rf/chibi/chb.h"
#endif
#ifdef CFG_USBHID
#endif
#ifdef CFG_I2CEEPROM
- #include "drivers/eeprom/mcp24aa/mcp24aa.h"
- #include "drivers/eeprom/eeprom.h"
+ #include "drivers/storage/eeprom/mcp24aa/mcp24aa.h"
+ #include "drivers/storage/eeprom/eeprom.h"
#endif
#ifdef CFG_PWM
#include "sysinit.h"
#include "core/gpio/gpio.h"
-#include "drivers/chibi/chb.h"
-#include "drivers/chibi/chb_drvr.h"
+#include "drivers/rf/chibi/chb.h"
+#include "drivers/rf/chibi/chb_drvr.h"
static chb_rx_data_t rx_data;
#if defined CFG_CHIBI
#include <string.h>
#include <stdlib.h>
- #include "drivers/chibi/chb.h"
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
#include "core/uart/uart.h"
static chb_rx_data_t rx_data;
#endif
#if defined CFG_CHIBI
#include <string.h>
#include <stdlib.h>
- #include "drivers/chibi/chb.h"
- #include "drivers/chibi/chb_drvr.h"
+ #include "drivers/rf/chibi/chb.h"
+ #include "drivers/rf/chibi/chb_drvr.h"
#endif
/**************************************************************************/
#include "projectconfig.h"
#include "sysinit.h"
-#include "drivers/sensors/pn532/pn532.h"
-#include "drivers/sensors/pn532/pn532_bus.h"
+#include "drivers/rf/pn532/pn532.h"
+#include "drivers/rf/pn532/pn532_bus.h"
/**************************************************************************/
/*!
#include "sysinit.h"
#include "core/i2c/i2c.h"
-#include "drivers/sensors/pn532/pn532.h"
-#include "drivers/sensors/pn532/pn532_bus.h"
-#include "drivers/sensors/pn532/helpers/pn532_mifare_classic.h"
-#include "drivers/sensors/pn532/helpers/pn532_mifare_ultralight.h"
+#include "drivers/rf/pn532/pn532.h"
+#include "drivers/rf/pn532/pn532_bus.h"
+#include "drivers/rf/pn532/helpers/pn532_mifare_classic.h"
+#include "drivers/rf/pn532/helpers/pn532_mifare_ultralight.h"
/**************************************************************************/
/*!
#include "sysinit.h"
#include "core/i2c/i2c.h"
-#include "drivers/sensors/pn532/pn532.h"
-#include "drivers/sensors/pn532/pn532_bus.h"
-#include "drivers/sensors/pn532/helpers/pn532_mifare_classic.h"
-#include "drivers/sensors/pn532/helpers/pn532_mifare_ultralight.h"
+#include "drivers/rf/pn532/pn532.h"
+#include "drivers/rf/pn532/pn532_bus.h"
+#include "drivers/rf/pn532/helpers/pn532_mifare_classic.h"
+#include "drivers/rf/pn532/helpers/pn532_mifare_ultralight.h"
/**************************************************************************/
/*!
#include "core/gpio/gpio.h"
#include "core/systick/systick.h"
-#include "drivers/spiflash/spiflash.h"
+#include "drivers/storage/spiflash/spiflash.h"
#ifdef CFG_INTERFACE
#include "core/cmd/cmd.h"