Home

Download

stdout

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

#include "movement_faces.h"

const watch_face_t watch_faces[] = {

  advanced_alarm_face,

  baby_kicks_face,

  deadline_face,

  deadline_face,

  endless_runner_face,

};


#define SIGNAL_TUNE_DEFAULT 1


#define MOVEMENT_NUM_FACES (sizeof(watch_faces) / sizeof(watch_face_t))
#define MOVEMENT_SECONDARY_FACE_INDEX 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

/* 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

#endif // MOVEMENT_CONFIG_H_
make BUILD=/builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic MOVEMENT_CONFIG=/builds/4d506c3c2739717f196c10a2d1314564/movement_config.h BOARD=sensorwatch_pro DISPLAY=classic
:
CC /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/watch_slcd.o
CC /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/movement.o
LD /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.elf
OBJCOPY /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.hex
OBJCOPY /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.bin
size:
   text	   data	    bss	    dec	    hex	filename
 104520	   2876	   5160	 112556	  1b7ac	/builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.elf
 104520	   2876	   5160	 112556	  1b7ac	(TOTALS)
UF2CONV /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.uf2
Converting to uf2, output size: 215040, start address: 0x2000
Wrote 215040 bytes to /builds/4d506c3c2739717f196c10a2d1314564/build-sensorwatch_pro_classic/firmware.uf2
:
CC /builds/4d506c3c2739717f196c10a2d1314564/build-sim-sensorwatch_pro_classic/movement.o
LD /builds/4d506c3c2739717f196c10a2d1314564/build-sim-sensorwatch_pro_classic/firmware.elf
HTML /builds/4d506c3c2739717f196c10a2d1314564/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
make: make BUILD=/builds/4d506c3c2739717f196c10a2d1314564/build-sim-sensorwatch_pro_classic MOVEMENT_CONFIG=/builds/4d506c3c2739717f196c10a2d1314564/movement_config.h BOARD=sensorwatch_pro DISPLAY=classic
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:34:
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.