Firmware: update version number to 0.1.2

This commit is contained in:
ikari 2012-01-02 23:36:42 +01:00
parent 22fe28c624
commit a52638b4be
3 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
CONFIG_VERSION=0.1.1
#FWVER=000101
CONFIG_FWVER=257
CONFIG_VERSION="0.1.2"
#FWVER=00010200
CONFIG_FWVER=66048
CONFIG_MCU_FOSC=12000000

View File

@ -1,12 +1,13 @@
#ifndef _CONFIG_H
#define _CONFIG_H
#include "autoconf.h"
// #define DEBUG_FS
// #define DEBUG_SD
// #define DEBUG_IRQ
// #define DEBUG_MSU1
#define VER "0.0.1(NSFW)"
#define IN_AHBRAM __attribute__ ((section(".ahbram")))
#define SD_DT_INT_SETUP() do {\

View File

@ -76,7 +76,7 @@ int main(void) {
LPC_PINCON->PINSEL0 |= BV(20) | BV(21); /* MAT3.0 (FPGA clock) */
led_pwm();
sdn_init();
printf("\n\nsd2snes mk.2\n============\nfw ver.: " VER "\ncpu clock: %d Hz\n", CONFIG_CPU_FREQUENCY);
printf("\n\nsd2snes mk.2\n============\nfw ver.: " CONFIG_VERSION "\ncpu clock: %d Hz\n", CONFIG_CPU_FREQUENCY);
printf("PCONP=%lx\n", LPC_SC->PCONP);
file_init();
@ -127,6 +127,7 @@ printf("PCONP=%lx\n", LPC_SC->PCONP);
}
file_close();
}
uart_trace(sdn_getcid(), 0, 17);
snes_bootprint(" Loading ... \0");
if(get_cic_state() == CIC_PAIR) {
printf("PAIR MODE ENGAGED!\n");