GithubHelp home page GithubHelp logo

osresearch / charliewatch Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 5.0 3.17 MB

An "analog" version of Travis Goodspeed's Goodwatch

C 68.62% Makefile 3.39% C++ 1.24% Assembly 17.53% OpenSCAD 9.22%

charliewatch's People

Contributors

cibomahto avatar osresearch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

charliewatch's Issues

Licence?

What licence is this released under?

Build errors: BUILDTIME & BUILDSEC undeclared here (not in function)

I'm seeing build errors in the latest Code Composer Studio and the GNU v8.3.0.16 compiler on Win10.

I'll keep trying to figure this out, but any suggestions or pointers appreciated.

Build output:

**** Build of configuration Release__GNU for project Charliewatch ****

"D:\\Apps\\ti\\cc920\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../buildtime.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"buildtime.d" -MT"buildtime.o"   -o"buildtime.o" "../buildtime.c"
subdir_rules.mk:9: recipe for target 'buildtime.o' failed
../buildtime.c:4:33: error: 'BUILDTIME' undeclared here (not in a function)
 const uint8_t romsavetime[] = { BUILDTIME };
                                 ^~~~~~~~~
../buildtime.c:5:28: error: 'BUILDSEC' undeclared here (not in a function)
 const uint32_t buildtime = BUILDSEC;
                            ^~~~~~~~
../buildtime.c:5:28: warning: initialization of 'uint32_t' {aka 'const long unsigned int'} from 'const uint8_t *' {aka 'const unsigned char *'} makes integer from pointer without a cast [-Wint-conversion]
../buildtime.c:5:28: error: initializer element is not constant
gmake: *** [buildtime.o] Error 1
Building file: "../adc.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"adc.d" -MT"adc.o"   -o"adc.o" "../adc.c"
Finished building: "../adc.c"
 
Building file: "../button.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"button.d" -MT"button.o"   -o"button.o" "../button.c"
Finished building: "../button.c"
 
Building file: "../animation.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"animation.d" -MT"animation.o"   -o"animation.o" "../animation.c"
Finished building: "../animation.c"
 
Building file: "../clockset.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"clockset.d" -MT"clockset.o"   -o"clockset.o" "../clockset.c"
Finished building: "../clockset.c"
 
Building file: "../led.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"led.d" -MT"led.o"   -o"led.o" "../led.c"
Finished building: "../led.c"
 
Building file: "../main.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"main.d" -MT"main.o"   -o"main.o" "../main.c"
Finished building: "../main.c"
 
Building file: "../power.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"power.d" -MT"power.o"   -o"power.o" "../power.c"
Finished building: "../power.c"
 
Building file: "../rtc.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"rtc.d" -MT"rtc.o"   -o"rtc.o" "../rtc.c"
Finished building: "../rtc.c"
 
Building file: "../ucs.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"ucs.d" -MT"ucs.o"   -o"ucs.o" "../ucs.c"
Finished building: "../ucs.c"
 
Building file: "../stopwatch.c"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"stopwatch.d" -MT"stopwatch.o"   -o"stopwatch.o" "../stopwatch.c"
Finished building: "../stopwatch.c"
 
Building file: "../rtcasm.S"
Invoking: GNU Compiler
"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/bin/msp430-elf-gcc-8.3.0.exe" -c -mmcu=cc430f5137 -mhwmult=f5series -I"D:/Apps/ti/cc920/ccs/ccs_base/msp430/include_gcc" -I"D:/Code/charliewatch/firmware" -I"D:/Apps/ti/cc920/ccs/tools/compiler/msp430-gcc-8.3.0.16_win32/msp430-elf/include" -Os -Wall -MMD -MP -MF"rtcasm.d" -MT"rtcasm.o" -x assembler-with-cpp  -o"rtcasm.o" "../rtcasm.S"
../rtcasm.S: Assembler messages:
../rtcasm.S:60: Warning: a NOP might be needed here, before an interrupt enable instruction
../rtcasm.S:61: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:85: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:120: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:141: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:164: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:185: Warning: a NOP might be needed here, after an interrupt enable instruction
../rtcasm.S:208: Warning: a NOP might be needed here, after an interrupt enable instruction
Finished building: "../rtcasm.S"
 
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Charlieboard-bicolor brd file

Hello,

When I open it in Eagle, it says Dont forget change dimension circle to 0.5642. Do I need to modify the pcb? And when I uploaded the 2 layer board to osh-park, I got this. Is this okay to order and will work correctly?
charlie-watch-bilcolor

Animation displayed on power/reset but time not displayed on battery

Was able to compile and upload the firmware using Code Composer Studio on Windows (had to hardcode BUILDTIME & BUILDSEC as symbols but that is a different issue) and the watch runs and displays the time when powered from the debugger but when I power it from a CR2032 the power on/reset animation is displayed but the time is not shown.

Running on debugger: https://www.youtube.com/watch?v=5fcYsMnCnjc
Running on battery: https://youtu.be/F3Qw3fwuvRY

Have you seen this before? Any ideas why?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.