Skip to content

Instantly share code, notes, and snippets.

@Pharap
Created March 22, 2018 22:27
Show Gist options
  • Save Pharap/73dd8ba81f5500a90201d03e46aefa6c to your computer and use it in GitHub Desktop.
Save Pharap/73dd8ba81f5500a90201d03e46aefa6c to your computer and use it in GitHub Desktop.
Pokitto Wave Player Info
-------------- Build: WavePlayer in PokittoEmBitz ---------------
Compiling: Examples\WavePlayer\main.cpp
Compiling: Examples\WavePlayer\wave_player.cpp
Compiling: Pokitto\mbed-pokitto\common\assert.c
Compiling: Pokitto\mbed-pokitto\common\board.c
Compiling: Pokitto\mbed-pokitto\common\BusIn.cpp
Compiling: Pokitto\mbed-pokitto\common\BusInOut.cpp
Compiling: Pokitto\mbed-pokitto\common\BusOut.cpp
Compiling: Pokitto\mbed-pokitto\common\CallChain.cpp
Compiling: Pokitto\mbed-pokitto\common\CAN.cpp
Compiling: Pokitto\mbed-pokitto\common\error.c
In file included from Pokitto/Pokitto.h:50:0,
from Examples\WavePlayer\main.cpp:2:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
Examples\WavePlayer\main.cpp: In function 'int main()':
Examples\WavePlayer\main.cpp:26:19: warning: unused variable 'cou' [-Wunused-variable]
uint8_t ob=0, cou=1;
^
In file included from Pokitto/Pokitto.h:50:0,
from Examples\WavePlayer\wave_player.cpp:14:
In file included from Pokitto/Pokitto.h:50:0,
from Examples\WavePlayer\main.cpp:2:
Pokitto\POKITTO_HW/PokittoEEPROM.h: At global scope:
Compiling: Pokitto\mbed-pokitto\common\Ethernet.cpp
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
Compiling: Pokitto\mbed-pokitto\common\FileBase.cpp
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
Compiling: Pokitto\mbed-pokitto\common\FileLike.cpp
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Examples\WavePlayer\main.cpp:2:
Compiling: Pokitto\mbed-pokitto\common\FilePath.cpp
Compiling: Pokitto\mbed-pokitto\common\FileSystemLike.cpp
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\mbed-pokitto\common\gpio.c
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
Compiling: Pokitto\mbed-pokitto\common\I2C.cpp
^
Examples\WavePlayer\wave_player.cpp: In member function 'void wave_player::play(FILE*)':
Examples\WavePlayer\wave_player.cpp:155:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (channel=0;channel<wav_format.num_channels;channel++) {
^
Examples\WavePlayer\wave_player.cpp: In member function 'void wave_player::play2(FILE*)':
Examples\WavePlayer\wave_player.cpp:327:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (channel=0;channel<wav_format.num_channels;channel++) {
^
In file included from Pokitto/Pokitto.h:50:0,
from Examples\WavePlayer\wave_player.cpp:14:
Pokitto\POKITTO_HW/PokittoEEPROM.h: At global scope:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
Compiling: Pokitto\mbed-pokitto\common\I2CSlave.cpp
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Examples\WavePlayer\wave_player.cpp:14:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\mbed-pokitto\common\InterruptIn.cpp
Compiling: Pokitto\mbed-pokitto\common\InterruptManager.cpp
Compiling: Pokitto\mbed-pokitto\common\LocalFileSystem.cpp
Compiling: Pokitto\mbed-pokitto\common\lp_ticker_api.c
Compiling: Pokitto\mbed-pokitto\common\mbed_interface.c
Compiling: Pokitto\mbed-pokitto\common\pinmap_common.c
Compiling: Pokitto\mbed-pokitto\common\RawSerial.cpp
Compiling: Pokitto\mbed-pokitto\common\retarget.cpp
Compiling: Pokitto\mbed-pokitto\common\rtc_time.c
Compiling: Pokitto\mbed-pokitto\common\semihost_api.c
Compiling: Pokitto\mbed-pokitto\common\Serial.cpp
Compiling: Pokitto\mbed-pokitto\common\SerialBase.cpp
Compiling: Pokitto\mbed-pokitto\common\SPI.cpp
Compiling: Pokitto\mbed-pokitto\common\SPISlave.cpp
Compiling: Pokitto\mbed-pokitto\common\Stream.cpp
Compiling: Pokitto\mbed-pokitto\common\Ticker.cpp
Compiling: Pokitto\mbed-pokitto\common\ticker_api.c
Compiling: Pokitto\mbed-pokitto\common\Timeout.cpp
Compiling: Pokitto\mbed-pokitto\common\Timer.cpp
Compiling: Pokitto\mbed-pokitto\common\TimerEvent.cpp
Compiling: Pokitto\mbed-pokitto\common\us_ticker_api.c
Compiling: Pokitto\mbed-pokitto\common\wait_api.c
Compiling: Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X\cmsis_nvic.c
Compiling: Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X\system_LPC11U6x.c
Compiling: Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X\TOOLCHAIN_GCC_ARM\TARGET_LPC11U68\startup_LPC11U68.cpp
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\analogin_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\gpio_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\gpio_irq_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\i2c_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\pinmap.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\pwmout_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\rtc_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\serial_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\sleep.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\spi_api.c
Compiling: Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X\us_ticker.c
Compiling: Pokitto\POKITTO_CORE\FONTS\adventurer12x16.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\donut7x10.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\dragon6x8.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\font3x3.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\font3x5.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\font5x7.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\fontC64.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\fontC64UIGfx.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\karateka8x11.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\koubit7x7.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\mini4x6.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\runes6x8.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\TIC806x6.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\tight4x7.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\tiny5x7.cpp
Compiling: Pokitto\POKITTO_CORE\FONTS\ZXSpec.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palAction.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palCGA.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palDB16.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palDefault.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palGameboy.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palMagma.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palMono.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palPico.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palRainbow.cpp
Compiling: Pokitto\POKITTO_CORE\PALETTES\palZXSpec.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoBacklight.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoBattery.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoButtons.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoConsole.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoCore.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoDisk.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoDisplay.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoItoa.cpp
Compiling: Pokitto\POKITTO_CORE\PokittoLogos.cpp
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoBattery.h:44,
from Pokitto\POKITTO_CORE\PokittoBattery.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE\PokittoCore.h:57,
from Pokitto\POKITTO_CORE\PokittoButtons.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_CORE\PokittoPalette.cpp
Pokitto\POKITTO_CORE\PokittoConsole.cpp: In static member function 'static void Pokitto::Console::Draw()':
Compiling: Pokitto\POKITTO_CORE\PokittoSound.cpp
Pokitto\POKITTO_CORE\PokittoConsole.cpp:287:10: warning: unused variable 'oldenable' [-Wunused-variable]
bool oldenable;
^
In file included from Pokitto/Pokitto.h:50:0,
Compiling: Pokitto\POKITTO_HW\clock_11u6x.c
In file included from Pokitto\POKITTO_CORE\PokittoDisplay.h:72:0,
from Pokitto\POKITTO_CORE\PokittoDisplay.cpp:67:
Pokitto\POKITTO_CORE\PokittoDisplay.cpp: In static member function 'static void Pokitto::Display::clear()':
Pokitto/Pokitto_settings.h:330:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
#define POK_BITFRAME 1210
^
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:506:56: note: in expansion of macro 'POK_BITFRAME'
if ((bgcolor>>1) & 0x1) memset((void*)m_scrbuf+POK_BITFRAME,0xFF,j);// G
^
Pokitto/Pokitto_settings.h:330:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
#define POK_BITFRAME 1210
Compiling: Pokitto\POKITTO_HW\dma_11u6x.c
^
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:507:37: note: in expansion of macro 'POK_BITFRAME'
else memset((void*)m_scrbuf+POK_BITFRAME,0x00,j);// G
from Pokitto\POKITTO_CORE\PokittoDisk.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_CORE\PokittoDisk.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_CORE\PokittoDisk.cpp:21:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\HWButtons.cpp
Compiling: Pokitto\POKITTO_HW\HWLCD.cpp
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth/Synth_osc.h:24,
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoConsole.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h: At global scope:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\HWSound.cpp
In file included from Pokitto\POKITTO_HW\dma_11u6x.h:36:0,
from Pokitto\POKITTO_HW\dma_11u6x.c:33:
Pokitto\POKITTO_HW\clock_11u6x.h:38:0: warning: "bool" redefined
#define bool unsigned char
^
In file included from Pokitto\POKITTO_HW\lpc_types.h:36:0,
from Pokitto\POKITTO_HW\dma_11u6x.h:35,
from Pokitto\POKITTO_HW\dma_11u6x.c:33:
i:\program files (x86)\embitz\1.11\share\em_armgcc\lib\gcc\arm-none-eabi\5.4.1\include\stdbool.h:33:0: note: this is the location of the previous definition
#define bool _Bool
^
Compiling: Pokitto\POKITTO_HW\iap.cpp
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE\PokittoPalette.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\Pokitto_extport.cpp
from Pokitto\POKITTO_LIBS\Synth/Synth.h:24,
from Pokitto\POKITTO_CORE\PokittoSound.cpp:67:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
Pokitto\POKITTO_CORE\PokittoSound.cpp: In static member function 'static int Pokitto::Sound::playMusicStream()':
Pokitto\POKITTO_CORE\PokittoSound.cpp:883:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth/Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth/Synth.h:24,
from Pokitto\POKITTO_CORE\PokittoSound.cpp:67:
Pokitto\POKITTO_HW/PokittoEEPROM.h: At global scope:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoSound.h:45,
from Pokitto\POKITTO_CORE\PokittoSound.cpp:64:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\PokittoClock.cpp
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto\POKITTO_HW\HWButtons.cpp:38:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\PokittoHW.cpp
^
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:508:69: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
if ((bgcolor>>2) & 0x1) memset((void*)m_scrbuf+POK_BITFRAME*2,0xFF,j);// B
^
Pokitto\POKITTO_CORE\PokittoCore.cpp: In static member function 'static void Pokitto::Core::jumpToLoader()':
Pokitto\POKITTO_CORE\PokittoCore.cpp:271:14: warning: unused variable 'bootversion' [-Wunused-variable]
uint32_t bootversion=0, sdversion=0, sdjump=0;
^
Pokitto\POKITTO_CORE\PokittoCore.cpp: In static member function 'static void Pokitto::Core::askLoader()':
Pokitto\POKITTO_CORE\PokittoCore.cpp:387:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (getTime()>c2+1000) {
^
Pokitto\POKITTO_CORE\PokittoCore.cpp: In static member function 'static void Pokitto::Core::showLogo()':
Pokitto\POKITTO_CORE\PokittoCore.cpp:690:14: warning: unused variable 'counter' [-Wunused-variable]
uint16_t counter=0, i=0;
^
Pokitto\POKITTO_CORE\PokittoCore.cpp: In static member function 'static char* Pokitto::Core::filemenu(char*)':
Pokitto\POKITTO_CORE\PokittoCore.cpp:988:13: warning: variable 'fc' set but not used [-Wunused-but-set-variable]
uint16_t fc,bc;
^
Pokitto\POKITTO_CORE\PokittoCore.cpp:988:16: warning: variable 'bc' set but not used [-Wunused-but-set-variable]
uint16_t fc,bc;
^
Pokitto\POKITTO_CORE\PokittoCore.cpp: In static member function 'static char* Pokitto::Core::filemenu()':
Pokitto\POKITTO_CORE\PokittoCore.cpp:1021:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return filemenu("");
^
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE\PokittoCore.h:57,
from Pokitto\POKITTO_CORE\PokittoCore.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h: At global scope:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_HW\SoftwareI2C.cpp
In file included from Pokitto/Pokitto.h:50:0,
Pokitto\POKITTO_HW\iap.cpp: In function 'int CopyPageToFlash(uint32_t, uint8_t*)':
Pokitto\POKITTO_HW\iap.cpp:33:14: warning: unused variable 'writecount' [-Wunused-variable]
uint32_t writecount=0;
^
Pokitto\POKITTO_HW\iap.cpp:36:26: warning: unused variable 'page' [-Wunused-variable]
unsigned int sector, page;
^
Pokitto\POKITTO_HW\iap.cpp: In function 'int HelloFromIAP()':
Pokitto\POKITTO_HW\iap.cpp:196:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Compiling: Pokitto\POKITTO_HW\timer_11u6x.c
from Pokitto\POKITTO_HW\Pokitto_extport.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_HW\Pokitto_extport.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_HW\Pokitto_extport.cpp:21:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\CRC16.cpp
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto\POKITTO_HW\PokittoHW.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\CRC7.cpp
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto\POKITTO_HW\PokittoClock.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\ChaN\ccsbcs.cpp
In file included from Pokitto\POKITTO_HW\timer_11u6x.c:35:0:
Pokitto\POKITTO_HW\clock_11u6x.h:38:0: warning: "bool" redefined
#define bool unsigned char
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.c:34:0:
Pokitto\POKITTO_HW\timer_11u6x.h:43:0: note: this is the location of the previous definition
#define bool uint8_t
^
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\ChaN\diskio.cpp
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\ChaN\ff.cpp
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:509:50: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
else memset((void*)m_scrbuf+POK_BITFRAME*2,0x00,j);// B
^
Pokitto\POKITTO_CORE\PokittoDisplay.cpp: In static member function 'static void Pokitto::Display::drawBitmapData(int16_t, int16_t, int16_t, int16_t, const uint8_t*)':
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:1468:32: warning: variable 'bitNum' set but not used [-Wunused-but-set-variable]
int16_t i, j, byteNum, bitNum, byteWidth = (w + 7) >> 3;
^
Pokitto\POKITTO_CORE\PokittoDisplay.cpp:1566:20: warning: variable 'xclip' set but not used [-Wunused-but-set-variable]
int16_t scrx,scry,xclip,xjump,scrxjump;
^
In file included from Pokitto\POKITTO_CORE\PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE\PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE\PokittoDisplay.cpp:67:
Pokitto\POKITTO_HW/HWLCD.h: At global scope:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\FATDirHandle.cpp
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\FATFileHandle.cpp
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\FATFileSystem\FATFileSystem.cpp
Compiling: Pokitto\POKITTO_LIBS\SDFileSystem\SDFileSystem.cpp
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:15:0: warning: "LPC_PMU_BASE" redefined
#define LPC_PMU_BASE 0x40038000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1180:0: note: this is the location of the previous definition
#define LPC_PMU_BASE 0x40038000UL
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth.cpp
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:16:0: warning: "LPC_IOCON_BASE" redefined
#define LPC_IOCON_BASE 0x40044000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_envfuncs.cpp
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1183:0: note: this is the location of the previous definition
#define LPC_IOCON_BASE 0x40044000UL
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_helpers.cpp
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:18:0: warning: "LPC_GPIO_PORT_BASE" redefined
#define LPC_GPIO_PORT_BASE 0xA0000000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_mixfuncs.cpp
Pokitto\POKITTO_HW\HWLCD.cpp: In function 'void Pokitto::lcdRefreshMode1(uint8_t*, uint8_t, uint8_t, uint8_t, uint8_t, uint16_t*)':
Pokitto\POKITTO_HW\HWLCD.cpp:483:17: warning: unused variable 's' [-Wunused-variable]
uint8_t s=0;
^
Pokitto\POKITTO_HW\HWLCD.cpp:453:18: warning: variable 'xptr' set but not used [-Wunused-but-set-variable]
uint16_t x,y,xptr;
^
Pokitto\POKITTO_HW\HWLCD.cpp:455:17: warning: unused variable 'yoffset' [-Wunused-variable]
uint8_t *d, yoffset=0;
^
Pokitto\POKITTO_HW\HWLCD.cpp: In function 'void Pokitto::lcdRefreshMode14(uint8_t*, uint16_t*)':
Pokitto\POKITTO_HW\HWLCD.cpp:1714:14: warning: unused variable 'data' [-Wunused-variable]
uint16_t x,y,data,xptr;
^
Pokitto\POKITTO_HW\HWLCD.cpp:1714:19: warning: unused variable 'xptr' [-Wunused-variable]
uint16_t x,y,data,xptr;
^
Pokitto\POKITTO_HW\HWLCD.cpp: In function 'void Pokitto::lcdRefreshMode1Spr(uint8_t*, uint8_t, uint8_t, uint8_t, uint8_t, uint16_t*, Pokitto::SpriteInfo*, bool)':
Pokitto\POKITTO_HW\HWLCD.cpp:767:69: warning: 'sprh' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprDirtyYMaxEnd = sprDirtyYMax + sprh - 1;
^
Pokitto\POKITTO_HW\HWLCD.cpp:754:69: warning: 'sprw' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprDirtyXMaxEnd = sprDirtyXMax + sprw - 1 + 4; // Add 4 pixels to dirty rect width (needed?)
^
Pokitto\POKITTO_HW\HWLCD.cpp:707:46: warning: 'sprOldY' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprx, spry, sprOldX, sprOldY;
^
Pokitto\POKITTO_HW\HWLCD.cpp:707:37: warning: 'sprOldX' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprx, spry, sprOldX, sprOldY;
^
Pokitto\POKITTO_HW\HWLCD.cpp:707:31: warning: 'spry' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprx, spry, sprOldX, sprOldY;
^
Pokitto\POKITTO_HW\HWLCD.cpp:707:25: warning: 'sprx' may be used uninitialized in this function [-Wmaybe-uninitialized]
int16_t sprx, spry, sprOldX, sprOldY;
^
In file included from Pokitto\POKITTO_HW\HWLCD.cpp:37:0:
Pokitto\POKITTO_HW\HWLCD.h: At global scope:
Pokitto\POKITTO_HW\HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_oscfuncs.cpp
In file included from Pokitto/Pokitto.h:50:0,
In file included from Pokitto/Pokitto.h:50:0,
In file included from Pokitto/Pokitto.h:50:0,
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_songfuncs.cpp
from Pokitto\POKITTO_LIBS\Synth\Synth_helpers.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_helpers.cpp:21:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth_helpers.cpp:21:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Compiling: Pokitto\POKITTO_LIBS\Synth\Synth_wavefuncs.cpp
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_envfuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_envfuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_envfuncs.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Linking executable: .\build\wavplay.elf
from Pokitto\POKITTO_LIBS\Synth\Synth.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_mixfuncs.cpp:38:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_mixfuncs.cpp:38:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_mixfuncs.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
static void setup_gpio()
^
In file included from Pokitto/Pokitto.h:50:0,
In file included from Pokitto/Pokitto.h:50:0,
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_wavefuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_wavefuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_wavefuncs.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_songfuncs.cpp:38:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_songfuncs.cpp:38:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_songfuncs.cpp:38:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_oscfuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_oscfuncs.cpp:37:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_CORE/PokittoDisplay.h:73,
from Pokitto\POKITTO_CORE/PokittoCore.h:57,
from Pokitto/Pokitto.h:41,
from Pokitto\POKITTO_LIBS\Synth\Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth.h:24,
from Pokitto\POKITTO_LIBS\Synth\Synth_oscfuncs.cpp:37:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1197:0: note: this is the location of the previous definition
#define LPC_GPIO_PORT_BASE 0xA0000000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:22:0: warning: "LPC_USART0_BASE" redefined
#define LPC_USART0_BASE 0x40008000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1171:0: note: this is the location of the previous definition
#define LPC_USART0_BASE 0x40008000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:23:0: warning: "LPC_USART1_BASE" redefined
#define LPC_USART1_BASE 0x4006C000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1189:0: note: this is the location of the previous definition
#define LPC_USART1_BASE 0x4006C000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:24:0: warning: "LPC_USART2_BASE" redefined
#define LPC_USART2_BASE 0x40070000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1190:0: note: this is the location of the previous definition
#define LPC_USART2_BASE 0x40070000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:25:0: warning: "LPC_USART3_BASE" redefined
#define LPC_USART3_BASE 0x40074000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1191:0: note: this is the location of the previous definition
#define LPC_USART3_BASE 0x40074000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:26:0: warning: "LPC_USART4_BASE" redefined
#define LPC_USART4_BASE 0x4004C000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1185:0: note: this is the location of the previous definition
#define LPC_USART4_BASE 0x4004C000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:27:0: warning: "LPC_I2C0_BASE" redefined
#define LPC_I2C0_BASE 0x40000000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1169:0: note: this is the location of the previous definition
#define LPC_I2C0_BASE 0x40000000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:28:0: warning: "LPC_I2C1_BASE" redefined
#define LPC_I2C1_BASE 0x40020000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1177:0: note: this is the location of the previous definition
#define LPC_I2C1_BASE 0x40020000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:29:0: warning: "LPC_SSP0_BASE" redefined
#define LPC_SSP0_BASE 0x40040000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1182:0: note: this is the location of the previous definition
#define LPC_SSP0_BASE 0x40040000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:30:0: warning: "LPC_SSP1_BASE" redefined
#define LPC_SSP1_BASE 0x40058000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1186:0: note: this is the location of the previous definition
#define LPC_SSP1_BASE 0x40058000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:32:0: warning: "LPC_ADC_BASE" redefined
#define LPC_ADC_BASE 0x4001C000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1176:0: note: this is the location of the previous definition
#define LPC_ADC_BASE 0x4001C000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:33:0: warning: "LPC_SCT0_BASE" redefined
#define LPC_SCT0_BASE 0x5000C000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1195:0: note: this is the location of the previous definition
#define LPC_SCT0_BASE 0x5000C000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:34:0: warning: "LPC_SCT1_BASE" redefined
#define LPC_SCT1_BASE 0x5000E000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1196:0: note: this is the location of the previous definition
#define LPC_SCT1_BASE 0x5000E000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:39:0: warning: "LPC_RTC_BASE" redefined
#define LPC_RTC_BASE 0x40024000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1178:0: note: this is the location of the previous definition
#define LPC_RTC_BASE 0x40024000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:40:0: warning: "LPC_WWDT_BASE" redefined
#define LPC_WWDT_BASE 0x40004000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1170:0: note: this is the location of the previous definition
#define LPC_WWDT_BASE 0x40004000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:41:0: warning: "LPC_DMA_BASE" redefined
#define LPC_DMA_BASE 0x50004000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1194:0: note: this is the location of the previous definition
#define LPC_DMA_BASE 0x50004000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:42:0: warning: "LPC_CRC_BASE" redefined
#define LPC_CRC_BASE 0x50000000
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1193:0: note: this is the location of the previous definition
#define LPC_CRC_BASE 0x50000000UL
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:121:0: warning: "LPC_DMA" redefined
#define LPC_DMA ((LPC_DMA_T *) LPC_DMA_BASE)
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1230:0: note: this is the location of the previous definition
#define LPC_DMA ((LPC_DMA_Type *) LPC_DMA_BASE)
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:209:0: warning: "LPC_SCT0" redefined
#define LPC_SCT0 ((LPC_SCT_T *) LPC_SCT0_BASE)
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1231:0: note: this is the location of the previous definition
#define LPC_SCT0 ((LPC_SCT0_Type *) LPC_SCT0_BASE)
^
In file included from Pokitto\POKITTO_HW\timer_11u6x.h:35:0,
from Pokitto\POKITTO_HW\HWSound.cpp:45:
Pokitto\POKITTO_HW\lpc_defs.h:210:0: warning: "LPC_SCT1" redefined
#define LPC_SCT1 ((LPC_SCT_T *) LPC_SCT1_BASE)
^
In file included from Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/cmsis.h:10:0,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/objects.h:19,
from Pokitto\mbed-pokitto\targets\hal\TARGET_NXP\TARGET_LPC11U6X/device.h:55,
from Pokitto\mbed-pokitto\api/platform.h:21,
from Pokitto\mbed-pokitto\api/mbed.h:21,
from Pokitto\POKITTO_HW\HWSound.cpp:37:
Pokitto\mbed-pokitto\targets\cmsis\TARGET_NXP\TARGET_LPC11U6X/LPC11U6x.h:1232:0: note: this is the location of the previous definition
#define LPC_SCT1 ((LPC_SCT0_Type *) LPC_SCT1_BASE)
^
In file included from Pokitto\POKITTO_HW\HWSound.cpp:46:0:
Pokitto\POKITTO_HW\clock_11u6x.h:38:0: warning: "bool" redefined
#define bool unsigned char
^
In file included from Pokitto\POKITTO_HW\HWSound.cpp:45:0:
Pokitto\POKITTO_HW\timer_11u6x.h:43:0: note: this is the location of the previous definition
#define bool uint8_t
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth/Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth/Synth.h:24,
from Pokitto\POKITTO_HW\HWSound.cpp:44:
Pokitto\POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
Pokitto\POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
In file included from Pokitto/Pokitto.h:50:0,
from Pokitto\POKITTO_LIBS\Synth/Synth_osc.h:24,
from Pokitto\POKITTO_LIBS\Synth/Synth.h:24,
from Pokitto\POKITTO_HW\HWSound.cpp:44:
Pokitto\POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
In file included from Pokitto\POKITTO_CORE/PokittoGlobs.h:48:0,
from Pokitto\POKITTO_HW\HWSound.cpp:43:
Pokitto\POKITTO_HW/HWLCD.h:150:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^
Creating Hex-file.
Running target post-build steps
arm-none-eabi-objcopy.exe -I ihex .\build\wavplay.hex -O binary .\build\wavplay.bin
.\build\lpcrc .\build\wavplay.bin
succesfully updated crc to: efff5373
Process terminated with status 0 (0 minutes, 8 seconds)
0 errors, 118 warnings (0 minutes, 8 seconds)
/**************************************************************************/
/*!
@file My_settings.h
@author XX
@section HOW TO USE My_settings
My_settings can be used to set project settings inside the mbed online IDE
*/
/**************************************************************************/
#ifndef MY_SETTINGS_H
#define MY_SETTINGS_H
#define PROJ_HIRES 0 //1 = high resolution (220x176) , 0 = low resolution fast mode (110x88)
#define PROJ_ENABLE_SOUND 1 // 0 = all sound functions disabled
#define PROJ_ENABLE_SYNTH 1
#define PROJ_SOUND_BUFFERED 1 // use buffered IRQ
#define NOPETITFATFS
#define PROJ_AUD_FREQ 11025//22050
#define PROJ_FPS 40
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment