Compare commits
No commits in common. "ccad2b7494e0021cbdf98317874144c900e9d52f" and "099fe8cea791e5424f78d554ae450034af71e0ac" have entirely different histories.
ccad2b7494
...
099fe8cea7
@ -119,7 +119,7 @@ using a magnetic 4 pin plug.
|
|||||||
|------------|----------|------|----------|-------------|--------------|---------|
|
|------------|----------|------|----------|-------------|--------------|---------|
|
||||||
||PB_20|I/O|**UART0_RX**/PWM1/UART1_CTS/I²C_SCL|U/D|**USB/Serial TX flash pin**||
|
||PB_20|I/O|**UART0_RX**/PWM1/UART1_CTS/I²C_SCL|U/D|**USB/Serial TX flash pin**||
|
||||||
||PB_19|I/O|**UART0_TX**/PWM0/UART1_RTS/**I²C_SDA**|U/D|**USB/Serial RX flash pin** and **BMA456, Touch Panel, HMC5883L and BMP280 SDA pins**||
|
||PB_19|I/O|**UART0_TX**/PWM0/UART1_RTS/**I²C_SDA**|U/D|**USB/Serial RX flash pin** and **BMA456, Touch Panel, HMC5883L and BMP280 SDA pins**||
|
||||||
||WAKEUP|I|**External Wake Up Pin**|D|**BMA456 IRQ 1 line** and **Touch Panel IRQ line** through NAND Gate|The chip is waken up when the pin is HIGH|
|
||WAKEUP|I|**External Wake Up Pin**|D|**BMA456 IRQ line** and **Touch Panel IRQ line** through NAND Gate|The chip is waken up when the pin is HIGH|
|
||||||
||RESET|I|Reset Pin|D|**Micro switch** and **USB/Serial RTS pin**||
|
||RESET|I|Reset Pin|D|**Micro switch** and **USB/Serial RTS pin**||
|
||||||
||XTAL_OUT|O|External crystal output||||
|
||XTAL_OUT|O|External crystal output||||
|
||||||
||XTAL_IN|I|External crystal input||||
|
||XTAL_IN|I|External crystal input||||
|
||||||
@ -231,7 +231,11 @@ to save power
|
|||||||
|
|
||||||
### **To sort out :**
|
### **To sort out :**
|
||||||
* DW01A chip not driving the double N mosfet as expected :-(
|
* DW01A chip not driving the double N mosfet as expected :-(
|
||||||
* Round lipo battery not having the capacity advertised, will have to change it :-(
|
* Round lipo battery not having the capcity advertised, will have to change it :-(
|
||||||
|
|
||||||
|
## and once soldered :
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Next steps :
|
## Next steps :
|
||||||
* Finish to design and print the casing.
|
* Finish to design and print the casing.
|
||||||
|
@ -33,7 +33,6 @@ COMPONENTS_$(TARGET) = \
|
|||||||
$(TOP_DIR)/app/libuser$(LIB_EXT) \
|
$(TOP_DIR)/app/libuser$(LIB_EXT) \
|
||||||
$(TOP_DIR)/app/app_drivers/libappdrivers$(LIB_EXT) \
|
$(TOP_DIR)/app/app_drivers/libappdrivers$(LIB_EXT) \
|
||||||
$(TOP_DIR)/app/persistency/libpersistency$(LIB_EXT) \
|
$(TOP_DIR)/app/persistency/libpersistency$(LIB_EXT) \
|
||||||
$(TOP_DIR)/app/translation/libtranslation$(LIB_EXT) \
|
|
||||||
$(TOP_DIR)/lvgl/liblvgl$(LIB_EXT)
|
$(TOP_DIR)/lvgl/liblvgl$(LIB_EXT)
|
||||||
|
|
||||||
ifeq ($(USE_LIB), 0)
|
ifeq ($(USE_LIB), 0)
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#ifndef FIRMWARE_VERSION_H
|
|
||||||
#define FIRMWARE_VERSION_H
|
|
||||||
|
|
||||||
#define FIRMWARE_VERSION "0.0.1" //Firmware creation
|
|
||||||
#define FIRMWARE_TIME_DATE (__TIME__" "__DATE__)
|
|
||||||
|
|
||||||
|
|
||||||
#endif //FIRMWARE_VERSION_H
|
|
@ -1,15 +0,0 @@
|
|||||||
TOP_DIR = ../..
|
|
||||||
sinclude $(TOP_DIR)/tools/w800/conf.mk
|
|
||||||
|
|
||||||
ifndef PDIR
|
|
||||||
GEN_LIBS = libtranslation$(LIB_EXT)
|
|
||||||
endif
|
|
||||||
|
|
||||||
#DEFINES +=
|
|
||||||
|
|
||||||
sinclude $(TOP_DIR)/tools/w800/rules.mk
|
|
||||||
|
|
||||||
INCLUDES := $(INCLUDES) -I $(PDIR)include
|
|
||||||
|
|
||||||
PDIR := ../$(PDIR)
|
|
||||||
sinclude $(PDIR)Makefile
|
|
@ -1,39 +0,0 @@
|
|||||||
#include "wm_type_def.h"
|
|
||||||
#include "translation.h"
|
|
||||||
#include "watch_settings.h"
|
|
||||||
|
|
||||||
static const char * const translation_dictionary[][TRANSLATED_LANGUAGES_COUNT] =
|
|
||||||
{
|
|
||||||
[TRANSLATION_WATCH] = {
|
|
||||||
[TRANSLATION_FRENCH] = "Montre",
|
|
||||||
[TRANSLATION_GERMAN] = "Uhr",
|
|
||||||
[TRANSLATION_ENGLISH]= "Watch"
|
|
||||||
},
|
|
||||||
[TRANSLATION_ALARM] = {
|
|
||||||
[TRANSLATION_FRENCH] = "Reveil",
|
|
||||||
[TRANSLATION_GERMAN] = "Wecker",
|
|
||||||
[TRANSLATION_ENGLISH]= "Alarm"
|
|
||||||
},
|
|
||||||
[TRANSLATION_COMPASS] = {
|
|
||||||
[TRANSLATION_FRENCH] = "Boussole",
|
|
||||||
[TRANSLATION_GERMAN] = "Kompass",
|
|
||||||
[TRANSLATION_ENGLISH]= "Compass"
|
|
||||||
},
|
|
||||||
[TRANSLATION_ALTIMETER] = {
|
|
||||||
[TRANSLATION_FRENCH] = "Altimetre",
|
|
||||||
[TRANSLATION_GERMAN] = "Hohenmesser",
|
|
||||||
[TRANSLATION_ENGLISH]= "Altimeter"
|
|
||||||
},
|
|
||||||
[TRANSLATION_SETTINGS] = {
|
|
||||||
[TRANSLATION_FRENCH] = "Parametres",
|
|
||||||
[TRANSLATION_GERMAN] = "Einstellungen",
|
|
||||||
[TRANSLATION_ENGLISH]= "Settings"
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
const char *translation_get_word(TranslationWord_e word)
|
|
||||||
{
|
|
||||||
uint8_t word_count = sizeof translation_dictionary / sizeof(*translation_dictionary);
|
|
||||||
uint8_t language = persistency_get_settings()->languageAndUI.language;
|
|
||||||
return translation_dictionary[word % word_count][language % TRANSLATED_LANGUAGES_COUNT];
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
#ifndef TRANSLATION_H
|
|
||||||
#define TRANSLATION_H
|
|
||||||
|
|
||||||
#define TRANSLATED_LANGUAGES_COUNT (3)
|
|
||||||
|
|
||||||
typedef enum TranslationLanguage
|
|
||||||
{
|
|
||||||
TRANSLATION_FRENCH = 0,
|
|
||||||
TRANSLATION_GERMAN,
|
|
||||||
TRANSLATION_ENGLISH
|
|
||||||
} TranslationLanguage_e;
|
|
||||||
|
|
||||||
typedef enum TranslationWord
|
|
||||||
{
|
|
||||||
TRANSLATION_WATCH = 0,
|
|
||||||
TRANSLATION_ALARM,
|
|
||||||
TRANSLATION_COMPASS,
|
|
||||||
TRANSLATION_ALTIMETER,
|
|
||||||
TRANSLATION_SETTINGS
|
|
||||||
} TranslationWord_e;
|
|
||||||
|
|
||||||
const char * translation_get_word(TranslationWord_e word);
|
|
||||||
|
|
||||||
#endif //TRANSLATION_H
|
|
@ -49,7 +49,6 @@ INCLUDES += -I $(TOP_DIR)/app/app_drivers/mmc_sdio
|
|||||||
INCLUDES += -I $(TOP_DIR)/app/app_drivers/i2c
|
INCLUDES += -I $(TOP_DIR)/app/app_drivers/i2c
|
||||||
INCLUDES += -I $(TOP_DIR)/app/app_drivers/watch_peripherals
|
INCLUDES += -I $(TOP_DIR)/app/app_drivers/watch_peripherals
|
||||||
INCLUDES += -I $(TOP_DIR)/app/persistency
|
INCLUDES += -I $(TOP_DIR)/app/persistency
|
||||||
INCLUDES += -I $(TOP_DIR)/app/translation
|
|
||||||
INCLUDES += -I $(TOP_DIR)/app/gfx
|
INCLUDES += -I $(TOP_DIR)/app/gfx
|
||||||
INCLUDES += -I $(TOP_DIR)/app
|
INCLUDES += -I $(TOP_DIR)/app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user