Home

Download

stdout

---- movement_config.h
#ifndef MOVEMENT_CONFIG_H_
#define MOVEMENT_CONFIG_H_

#include "movement_faces.h"


#define PRIMARY_FACES(F) \
  F(stock_clock) \
  F(beats) \
  F(alarm) \
  F(countdown) \
  F(fast_stopwatch) \



#define SECONDARY_FACES(F) \
  F(ping) \
  F(wordle) \
  F(probability) \



#define TERTIARY_FACES(F) \
  F(temperature_display) \
  F(voltage) \
  F(settings) \
  F(set_time) \
  F(page_ordering) \
  F(tunes) \




#define MOVEMENT_DEBOUNCE_TICKS 0



/* Determines the intensity of the led colors
 * Set a hex value 0-15 with 0x0 being off and 0xF being max intensity
 */
#define MOVEMENT_DEFAULT_RED_COLOR 0x0
#define MOVEMENT_DEFAULT_GREEN_COLOR 0xF
#define MOVEMENT_DEFAULT_BLUE_COLOR 0x0

/* Set to true for 24h mode or false for 12h mode */
#define MOVEMENT_DEFAULT_24H_MODE false

/* Enable or disable the sound on mode button press */
#define MOVEMENT_DEFAULT_BUTTON_SOUND true

#define MOVEMENT_DEFAULT_BUTTON_VOLUME WATCH_BUZZER_VOLUME_SOFT
#define MOVEMENT_DEFAULT_SIGNAL_VOLUME WATCH_BUZZER_VOLUME_LOUD
#define MOVEMENT_DEFAULT_ALARM_VOLUME WATCH_BUZZER_VOLUME_LOUD

/* Set the timeout before switching back to the main watch face
 * Valid values are:
 * 0: 60 seconds
 * 1: 2 minutes
 * 2: 5 minutes
 * 3: 30 minutes
 */
#define MOVEMENT_DEFAULT_TIMEOUT_INTERVAL 0

/* Set the timeout before switching to low energy mode
 * Valid values are:
 * 0: Never
 * 1: 10 minutes
 * 2: 1 hour
 * 3: 2 hours
 * 4: 6 hours
 * 5: 12 hours
 * 6: 1 day
 * 7: 7 days
 */
#define MOVEMENT_DEFAULT_LOW_ENERGY_INTERVAL 2

/* Set the led duration
 * Valid values are:
 * 0: No LED
 * 1: 1 second
 * 2: 3 seconds
 * 3: 5 seconds
 */
#define MOVEMENT_DEFAULT_LED_DURATION 1

/* Sets how steps are counted when on the clock_face
 * Valid values are:
 * MOVEMENT_SC_OFF: Don't count steps on clock_face
 * MOVEMENT_SC_ALWAYS: Always count steps on clock_face
 * MOVEMENT_SC_DAYTIME: Count steps between MOVEMENT_STEP_COUNT_START and MOVEMENT_STEP_COUNT_END
 * MOVEMENT_SC_NOT_INSTALLED: The LIS2DW isn't installed (the code handles this without it needing to be manally set)
 */
#define MOVEMENT_DEFAULT_COUNT_STEPS MOVEMENT_SC_OFF

/* If the settings are set to use this start and end hor,
    We only count steps when the step counter face is on.
*/
#define MOVEMENT_STEP_COUNT_START 5
#define MOVEMENT_STEP_COUNT_END 22

#endif // MOVEMENT_CONFIG_H_
---- movement_tunes_config.h
#ifndef MOVEMENT_TUNES_CONFIG_H_
#define MOVEMENT_TUNES_CONFIG_H_


#define INCLUDE_ALARM_TUNE_CHEETAHMEN 1

#define INCLUDE_ALARM_TUNE_CIRNOS_PERFECT_MATH_CLASS 1

#define INCLUDE_ALARM_TUNE_CRAB_RAVE 1

#define INCLUDE_ALARM_TUNE_CRAZY_FROG 1

#define INCLUDE_ALARM_TUNE_DK_ISLAND_SWING 1

#define INCLUDE_ALARM_TUNE_DRILLCHU 1

#define INCLUDE_ALARM_TUNE_E1M1 1

#define INCLUDE_ALARM_TUNE_ELMO 1

#define INCLUDE_ALARM_TUNE_FARM 1

#define INCLUDE_ALARM_TUNE_FLOWERING_NIGHT 1

#define INCLUDE_ALARM_TUNE_FORD 1

#define INCLUDE_ALARM_TUNE_GIGI_DAG 1

#define INCLUDE_ALARM_TUNE_GOD_KNOWS 1

#define INCLUDE_ALARM_TUNE_INNOCENT_STARTER 1

#define INCLUDE_ALARM_TUNE_INTER 1

#define INCLUDE_ALARM_TUNE_IPHONE 1

#define INCLUDE_ALARM_TUNE_LEASE 1

#define INCLUDE_ALARM_TUNE_LEVAN_POLKKA 1

#define INCLUDE_ALARM_TUNE_LONELY_ROLLING_STAR 1

#define INCLUDE_ALARM_TUNE_LUCKY_STAR 1

#define INCLUDE_ALARM_TUNE_MAGICAL_SOUND_SHOWER 1

#define INCLUDE_ALARM_TUNE_NAZRIN 1

#define INCLUDE_ALARM_TUNE_NOKIA 1

#define INCLUDE_ALARM_TUNE_ONEOFTHESEDAYS 1

#define INCLUDE_ALARM_TUNE_PACMAN 1

#define ALARM_TUNE_DEFAULT 1

#define INCLUDE_ALARM_TUNE_PICTIONARY 1

#define INCLUDE_ALARM_TUNE_RUNNING_90S 1

#define INCLUDE_ALARM_TUNE_RUNNING_IN_THE_90S 1

#define INCLUDE_ALARM_TUNE_SAILOR_MOON 1

#define INCLUDE_ALARM_TUNE_SAMSUNG 1

#define SIGNAL_TUNE_DEFAULT 1

#define INCLUDE_ALARM_TUNE_YOU 1

#define INCLUDE_ALARM_TUNE_VOICES 1

#define INCLUDE_ALARM_TUNE_UNWELCOME_SCHOOL 1

#define INCLUDE_ALARM_TUNE_TWINKLE 1

#define INCLUDE_ALARM_TUNE_PARTY_NIGHT 1

#define INCLUDE_ALARM_TUNE_SIX_TRILLION_YEARS 1

#define INCLUDE_ALARM_TUNE_SKYPE 1

#define INCLUDE_ALARM_TUNE_SMACK_MY 1

#define INCLUDE_ALARM_TUNE_SONIC_1_INVINCIBILITY 1

#define INCLUDE_ALARM_TUNE_TO_HEART 1

#define INCLUDE_SIGNAL_TUNE_AMONG_US 1

#define INCLUDE_SIGNAL_TUNE_BOSUN_WHISTLE 1

#define INCLUDE_SIGNAL_TUNE_EVANGELION 1

#define INCLUDE_SIGNAL_TUNE_FF_VICTORY 1

#define INCLUDE_SIGNAL_TUNE_GAME_BOY 1

#define INCLUDE_SIGNAL_TUNE_GAME_BOY_PAUSE 1

#define INCLUDE_SIGNAL_TUNE_HARRY_POTTER_LONG 1

#define INCLUDE_SIGNAL_TUNE_HARRY_POTTER_SHORT 1

#define INCLUDE_SIGNAL_TUNE_JURASSIC_PARK 1

#define INCLUDE_SIGNAL_TUNE_KIM_POSSIBLE 1

#define INCLUDE_SIGNAL_TUNE_KIRBY_VICTORY 1

#define INCLUDE_SIGNAL_TUNE_LAYLA 1

#define INCLUDE_SIGNAL_TUNE_MARIO_1UP 1

#define INCLUDE_SIGNAL_TUNE_MARIO_PUP 1

#define INCLUDE_SIGNAL_TUNE_MARIO_THEME 1

#define INCLUDE_SIGNAL_TUNE_MGS_CODEC 1

#define INCLUDE_SIGNAL_TUNE_MINECRAFT 1

#define INCLUDE_SIGNAL_TUNE_NEO_GEO 1

#define INCLUDE_SIGNAL_TUNE_OCEAN 1

#define INCLUDE_SIGNAL_TUNE_POWER_RANGERS 1

#define INCLUDE_SIGNAL_TUNE_SONIC_RING 1

#define INCLUDE_SIGNAL_TUNE_THIRD_SANCTUARY 1

#define INCLUDE_SIGNAL_TUNE_WESTMINSTER 1

#define INCLUDE_SIGNAL_TUNE_WHATSAPP 1

#define INCLUDE_SIGNAL_TUNE_WINDOWS_XP 1

#define INCLUDE_SIGNAL_TUNE_ZELDA_SECRET 1

#define INCLUDE_ALARM_TUNE_BABY 1

#define INCLUDE_ALARM_TUNE_BAD_APPLE 1

#define INCLUDE_ALARM_TUNE_BRAIN_POWER 1

#define INCLUDE_ALARM_TUNE_BUTTERFLY 1

#define INCLUDE_ALARM_TUNE_CALAMARI_INKANTATION 1

#define INCLUDE_ALARM_TUNE_CARAMELLDANSEN 1

#define INCLUDE_ALARM_TUNE_CBAT 1


#endif
make BUILD=/builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic MOVEMENT_CONFIG=/builds/24f6a05e38e106202816d99840250f8a/movement_config.h MOVEMENT_TUNES_CONFIG=/builds/24f6a05e38e106202816d99840250f8a/movement_tunes_config.h DISPLAY=classic BOARD=sensorwatch_pro
:
CC /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/page_ordering_face.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/movement_custom_signal_tunes.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/movement.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/movement_custom_alarm_tunes.o
LD /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.elf
OBJCOPY /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.hex
OBJCOPY /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.bin
size:
   text	   data	    bss	    dec	    hex	filename
 148892	   2860	   6180	 157932	  268ec	/builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.elf
 148892	   2860	   6180	 157932	  268ec	(TOTALS)
UF2CONV /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.uf2
Converting to uf2, output size: 303616, start address: 0x2000
Wrote 303616 bytes to /builds/24f6a05e38e106202816d99840250f8a/build-sensorwatch_pro_classic/firmware.uf2
:
CC /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/page_ordering_face.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/movement.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/movement_custom_signal_tunes.o
CC /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/movement_custom_alarm_tunes.o
LD /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/firmware.elf
HTML /builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic/firmware.html

stderr

fatal: detected dubious ownership in repository at '/second-movement'
To add an exception for this directory, call:

	git config --global --add safe.directory /second-movement
movement_custom_signal_tunes.c:27:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_signal_tunes.c: In function 'movement_custom_signal_tunes_init':
movement_custom_signal_tunes.c:960:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_signal_tunes.c: At top level:
movement_custom_signal_tunes.c:963:9: warning: no previous prototype for 'movement_custom_signal_tunes_get_active_tune_index' [-Wmissing-prototypes]
movement_custom_signal_tunes.c: In function 'movement_custom_signal_tunes_set_active_tune_index':
movement_custom_signal_tunes.c:969:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_signal_tunes.c: At top level:
movement_custom_signal_tunes.c:537:21: warning: 'KIRBY_VICTORY_REST' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:33:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_alarm_tunes.c: In function 'movement_custom_alarm_tunes_init':
movement_custom_alarm_tunes.c:5740:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_alarm_tunes.c: At top level:
movement_custom_alarm_tunes.c:5743:9: warning: no previous prototype for 'movement_custom_alarm_tunes_get_active_tune_index' [-Wmissing-prototypes]
movement_custom_alarm_tunes.c: In function 'movement_custom_alarm_tunes_set_active_tune_index':
movement_custom_alarm_tunes.c:5749:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
movement_custom_alarm_tunes.c: At top level:
movement_custom_alarm_tunes.c:5202:21: warning: 'LEASE_QUARTER' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:4169:21: warning: 'SAILOR_MOON_QUARTER' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:3131:21: warning: 'LEVAN_POLKKA_REST' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:2430:21: warning: 'NINETIES_NOTE' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:907:21: warning: 'PICTIONARY_DEFAULT_NOTE_DURATION' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:573:21: warning: 'TO_HEART_QUARTER_NOTE' defined but not used [-Wunused-const-variable=]
movement_custom_alarm_tunes.c:571:21: warning: 'TO_HEART_SIXTEENTH_NOTE' defined but not used [-Wunused-const-variable=]
watch-faces/settings/page_ordering_face.c:81:8: warning: no previous prototype for '_section_start' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c:94:8: warning: no previous prototype for '_section_num' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c:107:6: warning: no previous prototype for '_set_section_place' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c:122:8: warning: no previous prototype for '_section_end' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c:136:9: warning: no previous prototype for '_next_section_start' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c: In function '_next_section_start':
watch-faces/settings/page_ordering_face.c:139:13: warning: unused variable 'num_faces' [-Wunused-variable]
watch-faces/settings/page_ordering_face.c: At top level:
watch-faces/settings/page_ordering_face.c:150:9: warning: no previous prototype for '_next_section_end' [-Wmissing-prototypes]
movement.c:1719:6: warning: no previous prototype for 'movement_led_stay_off' [-Wmissing-prototypes]
watch-faces/settings/page_ordering_face.c: In function 'page_ordering_face_loop':
watch-faces/settings/page_ordering_face.c:206:27: warning: '%2u' directive output may be truncated writing between 2 and 5 bytes into a region of size 4 [-Wformat-truncation=]
In function '_page_ordering_face_update_lcd',
    inlined from 'page_ordering_face_loop' at watch-faces/settings/page_ordering_face.c:469:5:
watch-faces/settings/page_ordering_face.c:206:26: note: directive argument in the range [0, 65535]
watch-faces/settings/page_ordering_face.c:206:9: note: 'snprintf' output between 3 and 6 bytes into a destination of size 4
make: make BUILD=/builds/24f6a05e38e106202816d99840250f8a/build-sim-sensorwatch_pro_classic MOVEMENT_CONFIG=/builds/24f6a05e38e106202816d99840250f8a/movement_config.h MOVEMENT_TUNES_CONFIG=/builds/24f6a05e38e106202816d99840250f8a/movement_tunes_config.h DISPLAY=classic BOARD=sensorwatch_pro
fatal: detected dubious ownership in repository at '/second-movement'
To add an exception for this directory, call:

	git config --global --add safe.directory /second-movement
In file included from movement.c:37:
In file included from gossamer/common/usb.h:32:
In file included from ./tinyusb/src/tusb.h:37:
In file included from ./tinyusb/src/common/tusb_common.h:74:
In file included from ./tinyusb/src/tusb_option.h:247:
./tinyusb/src/common/tusb_mcu.h:562:4: warning: "TUP_DCD_ENDPOINT_MAX is not defined for this MCU, default to 8" [-W#warnings]
  #warning "TUP_DCD_ENDPOINT_MAX is not defined for this MCU, default to 8"
   ^
1 warning generated.
movement_custom_signal_tunes.c:27:9: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'const int8_t[7]' (aka 'const signed char[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
int8_t* signal_tune = default_signal_tune;
        ^             ~~~~~~~~~~~~~~~~~~~
movement_custom_signal_tunes.c:960:17: warning: assigning to 'int8_t *' (aka 'signed char *') from 'const int8_t *' (aka 'const signed char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    signal_tune = signal_tunes[active_signal_tune_index];
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
movement_custom_signal_tunes.c:969:17: warning: assigning to 'int8_t *' (aka 'signed char *') from 'const int8_t *' (aka 'const signed char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    signal_tune = signal_tunes[active_signal_tune_index];
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
movement_custom_alarm_tunes.c:33:9: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'const int8_t[19]' (aka 'const signed char[19]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
int8_t* alarm_tune = default_alarm_tune;
        ^            ~~~~~~~~~~~~~~~~~~
movement_custom_alarm_tunes.c:5740:16: warning: assigning to 'int8_t *' (aka 'signed char *') from 'const int8_t *' (aka 'const signed char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    alarm_tune = alarm_tunes[active_alarm_tune_index];
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
movement_custom_alarm_tunes.c:5749:16: warning: assigning to 'int8_t *' (aka 'signed char *') from 'const int8_t *' (aka 'const signed char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    alarm_tune = alarm_tunes[active_alarm_tune_index];
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.