anelok:anelok.git
2 years agofw/ui/ui_login_setup.c: add suspend handler that goes straight to ui_off master
Werner Almesberger [Thu, 2 Apr 2015 13:25:14 +0000 (10:25 -0300)]
fw/ui/ui_login_setup.c: add suspend handler that goes straight to ui_off

2 years agofw/ui/textsel.h (struct textsel_ops): add suspend/resume callbacks
Werner Almesberger [Thu, 2 Apr 2015 13:22:55 +0000 (10:22 -0300)]
fw/ui/textsel.h (struct textsel_ops): add suspend/resume callbacks

For things like ui_login_setup going straight to ui_off on suspend.

2 years agofw/ui/input.c: lower press and extended press timeouts by 25%
Werner Almesberger [Wed, 1 Apr 2015 22:22:52 +0000 (19:22 -0300)]
fw/ui/input.c: lower press and extended press timeouts by 25%

Before After
------ -----
Press 2   s 4 s
Extended 1.5 s 3 s

2 years agofw/: expire authentication when idle (dark screen) for more than 5 minutes
Werner Almesberger [Wed, 1 Apr 2015 17:03:32 +0000 (14:03 -0300)]
fw/: expire authentication when idle (dark screen) for more than 5 minutes

Time can be adjusted in fw/db/auth.c:AUTH_TIMEOUT_MS

2 years agofw/2014/main.c (ui): blink the LED if screen is dark and we're still authenticated
Werner Almesberger [Wed, 1 Apr 2015 16:47:32 +0000 (13:47 -0300)]
fw/2014/main.c (ui): blink the LED if screen is dark and we're still authenticated

2 years agofw/base/pm.c, pm.h (pm_state): return the current power management state
Werner Almesberger [Wed, 1 Apr 2015 16:46:57 +0000 (13:46 -0300)]
fw/base/pm.c, pm.h (pm_state): return the current power management state

2 years agofw/ui/ui_select.c: support extended press on "off" to auth_zap (WIP)
Werner Almesberger [Wed, 1 Apr 2015 16:13:26 +0000 (13:13 -0300)]
fw/ui/ui_select.c: support extended press on "off" to auth_zap (WIP)

We need to do this at all the places that use "off".

2 years agofw/ui/textsel.c, textsel.h: support extended press as well (WIP)
Werner Almesberger [Wed, 1 Apr 2015 16:06:48 +0000 (13:06 -0300)]
fw/ui/textsel.c, textsel.h: support extended press as well (WIP)

The show_icons_extended hack maintains API compatibility but it a tad ugly.
Fix later.

2 years agoxxx
Werner Almesberger [Wed, 1 Apr 2015 16:12:32 +0000 (13:12 -0300)]
xxx

2 years agofw/ui/input.c, input.h: add "extended" press (longer than the regular press)
Werner Almesberger [Wed, 1 Apr 2015 16:05:38 +0000 (13:05 -0300)]
fw/ui/input.c, input.h: add "extended" press (longer than the regular press)

2 years agofw/ui/ui_off.c (off_press): proceed directly to ui_select if auth is still valid
Werner Almesberger [Wed, 1 Apr 2015 16:12:42 +0000 (13:12 -0300)]
fw/ui/ui_off.c (off_press): proceed directly to ui_select if auth is still valid

2 years agofw/db/auth.c (auth_valid, auth_zap): remember the authentication state (WIP)
Werner Almesberger [Wed, 1 Apr 2015 16:02:01 +0000 (13:02 -0300)]
fw/db/auth.c (auth_valid, auth_zap): remember the authentication state (WIP)

We still have to add a timeout mechanism for expiring authentication
after a while.

2 years agofw/ui/: add "zap" icon
Werner Almesberger [Wed, 1 Apr 2015 15:59:51 +0000 (12:59 -0300)]
fw/ui/: add "zap" icon

2 years agofw/db/auth.c: move (dummy) authentication to separate module
Werner Almesberger [Wed, 1 Apr 2015 15:01:59 +0000 (12:01 -0300)]
fw/db/auth.c: move (dummy) authentication to separate module

2 years agobase/clock.c, clock.h (clock_low): support BLPI (but may be useless)
Werner Almesberger [Wed, 1 Apr 2015 03:07:52 +0000 (00:07 -0300)]
base/clock.c, clock.h (clock_low): support BLPI (but may be useless)

Bypassed Low Power Internal (BLPI) promises very low power but it seems
that we're better off in FLL Engaged Internal (FEI), probably because
we race faster to idle (LLS):

- FEI: 720 uA
- BLPI, CPU 1 MHz, bus 0.5 MHz: 840 uA
- BLPI, CPU 4 MHz, bus 0.8 MHz: 800 uA

2 years agosim/: update simulator for recent changes
Werner Almesberger [Wed, 1 Apr 2015 02:51:58 +0000 (23:51 -0300)]
sim/: update simulator for recent changes

2 years agofw/: replace power management hacks with centralized power manager
Werner Almesberger [Wed, 1 Apr 2015 02:47:40 +0000 (23:47 -0300)]
fw/: replace power management hacks with centralized power manager

2 years agofw/disp/console.h, console.c (console_goto): set the cursor position
Werner Almesberger [Wed, 1 Apr 2015 02:34:47 +0000 (23:34 -0300)]
fw/disp/console.h, console.c (console_goto): set the cursor position

2 years agofw/: change almost all uses of "panic" to "oops"
Werner Almesberger [Wed, 1 Apr 2015 02:02:31 +0000 (23:02 -0300)]
fw/: change almost all uses of "panic" to "oops"

2 years agofw/base/gpio.c (gpio_init_out, gpio_init_in): set function after configuring GPIO
Werner Almesberger [Wed, 1 Apr 2015 01:54:37 +0000 (22:54 -0300)]
fw/base/gpio.c (gpio_init_out, gpio_init_in): set function after configuring GPIO

This way, a call to gpio_init_* that's used to reset the pin from an
unknown previous state has not risk of producing a glitch.

2 years agofw/base/qa.c: new function "oops" that prints where it was called from
Werner Almesberger [Wed, 1 Apr 2015 01:51:54 +0000 (22:51 -0300)]
fw/base/qa.c: new function "oops" that prints where it was called from

2 years agofw/: add *_force_on variants of power_3v3 and power_disp
Werner Almesberger [Wed, 1 Apr 2015 01:41:22 +0000 (22:41 -0300)]
fw/: add *_force_on variants of power_3v3 and power_disp

2 years agofw/base/clock.h: add brief description of clock modes
Werner Almesberger [Tue, 31 Mar 2015 23:12:57 +0000 (20:12 -0300)]
fw/base/clock.h: add brief description of clock modes

2 years agodoc/power-saving.fig: power-saving states (WIP)
Werner Almesberger [Mon, 30 Mar 2015 19:46:44 +0000 (16:46 -0300)]
doc/power-saving.fig: power-saving states (WIP)

2 years agodoc/walkthrough/: current menu structure
Werner Almesberger [Mon, 30 Mar 2015 19:41:00 +0000 (16:41 -0300)]
doc/walkthrough/: current menu structure

2 years agofw/ui/ui_login.c (field_x): add main_x0, making left-handed operation work
Werner Almesberger [Mon, 30 Mar 2015 17:18:09 +0000 (14:18 -0300)]
fw/ui/ui_login.c (field_x): add main_x0, making left-handed operation work

2 years agosim/: add dummy "power_disp" function (broke compilation)
Werner Almesberger [Mon, 30 Mar 2015 17:17:11 +0000 (14:17 -0300)]
sim/: add dummy "power_disp" function (broke compilation)

2 years agofw/: reduce timeout at login screen from 30 to 5 seconds
Werner Almesberger [Mon, 30 Mar 2015 16:48:46 +0000 (13:48 -0300)]
fw/: reduce timeout at login screen from 30 to 5 seconds

2 years agofw/ui/ui_off.c: also cut power to the OLED panel when powering the display down
Werner Almesberger [Mon, 30 Mar 2015 15:38:58 +0000 (12:38 -0300)]
fw/ui/ui_off.c: also cut power to the OLED panel when powering the display down

The effect of this is quite negligible, but let's do it anyway.

2 years agofw/2014/main.c (standalone): reset after about 60 seconds
Werner Almesberger [Mon, 30 Mar 2015 15:27:53 +0000 (12:27 -0300)]
fw/2014/main.c (standalone): reset after about 60 seconds

This ensures that we don't hang forever when accidently leaving the UI
while on battery.

2 years agofw/2014/main.c: implement Dark1 state using suspend/resume
Werner Almesberger [Mon, 30 Mar 2015 14:35:53 +0000 (11:35 -0300)]
fw/2014/main.c: implement Dark1 state using suspend/resume

2 years agofw/ui/: implement suspend/resume in all dialogs
Werner Almesberger [Mon, 30 Mar 2015 14:34:27 +0000 (11:34 -0300)]
fw/ui/: implement suspend/resume in all dialogs

2 years agofw/ui/input.c, input.h: add crude suspend/resume signaling mechanism
Werner Almesberger [Mon, 30 Mar 2015 14:29:33 +0000 (11:29 -0300)]
fw/ui/input.c, input.h: add crude suspend/resume signaling mechanism

2 years agofw/ui/ui_show.c, fw/ui/ui_sorry.c: use "redraw everything" approach
Werner Almesberger [Mon, 30 Mar 2015 13:10:39 +0000 (10:10 -0300)]
fw/ui/ui_show.c, fw/ui/ui_sorry.c: use "redraw everything" approach

2 years agofw/ui/: change "resume" to "proceed", to avoid future confusion
Werner Almesberger [Mon, 30 Mar 2015 12:49:00 +0000 (09:49 -0300)]
fw/ui/: change "resume" to "proceed", to avoid future confusion

2 years agofw/ui/ui_login_setup.c: sub-screens resume at the last position
Werner Almesberger [Mon, 30 Mar 2015 07:12:40 +0000 (04:12 -0300)]
fw/ui/ui_login_setup.c: sub-screens resume at the last position

2 years agofw/ui/: ui_account returns to the previous list position
Werner Almesberger [Mon, 30 Mar 2015 07:08:38 +0000 (04:08 -0300)]
fw/ui/: ui_account returns to the previous list position

2 years agofw/ui/textsel.h, fw/ui/textsel.c (textsel_resume): continue using a selection
Werner Almesberger [Mon, 30 Mar 2015 07:07:52 +0000 (04:07 -0300)]
fw/ui/textsel.h, fw/ui/textsel.c (textsel_resume): continue using a selection

2 years agofw/ui/ui_account.c (account_tap): middle-tap now returns to selection list
Werner Almesberger [Mon, 30 Mar 2015 07:02:19 +0000 (04:02 -0300)]
fw/ui/ui_account.c (account_tap): middle-tap now returns to selection list

2 years agofw/2014/main.c (ui): implement 30 seconds power-saving timeout (to ui_off)
Werner Almesberger [Mon, 30 Mar 2015 06:57:19 +0000 (03:57 -0300)]
fw/2014/main.c (ui): implement 30 seconds power-saving timeout (to ui_off)

2 years agofw/ui/: track UI on/off state (as a crude form of power state management)
Werner Almesberger [Mon, 30 Mar 2015 06:56:42 +0000 (03:56 -0300)]
fw/ui/: track UI on/off state (as a crude form of power state management)

2 years agofw/disp/display.c (display_set, display_clr): panic if trying to draw outside the...
Werner Almesberger [Mon, 30 Mar 2015 06:15:01 +0000 (03:15 -0300)]
fw/disp/display.c (display_set, display_clr): panic if trying to draw outside the display

2 years agofw/ui/ui_account.c (hline): don't try to draw outside the display
Werner Almesberger [Mon, 30 Mar 2015 06:14:11 +0000 (03:14 -0300)]
fw/ui/ui_account.c (hline): don't try to draw outside the display

2 years agofw/: use proper type for account fields and clean up ui_account.c accordingly
Werner Almesberger [Mon, 30 Mar 2015 05:37:58 +0000 (02:37 -0300)]
fw/: use proper type for account fields and clean up ui_account.c accordingly

2 years agofw/ui/ui_account.c: rewrite to use sel directly, with customized display
Werner Almesberger [Mon, 30 Mar 2015 05:24:24 +0000 (02:24 -0300)]
fw/ui/ui_account.c: rewrite to use sel directly, with customized display

2 years agofw/ui/sel.c: change "current" to "cursor" to avoid future confusion
Werner Almesberger [Mon, 30 Mar 2015 04:27:34 +0000 (01:27 -0300)]
fw/ui/sel.c: change "current" to "cursor" to avoid future confusion

2 years agofw/ui/: correct logic of "current" entry in sel.c and textsel.c
Werner Almesberger [Mon, 30 Mar 2015 04:23:08 +0000 (01:23 -0300)]
fw/ui/: correct logic of "current" entry in sel.c and textsel.c

sel.c didn't always keep "current" up to date and textsel.c confused
sel.c's "current" (position at cursor) with its own "curr" (entry
currently being drawn).

2 years agofw/: add (highly bogus) dummy account display
Werner Almesberger [Mon, 30 Mar 2015 03:19:40 +0000 (00:19 -0300)]
fw/: add (highly bogus) dummy account display

2 years agofw/ui/sim_ui.h: move "enum jump_to" here, to avoid future dependency loop
Werner Almesberger [Mon, 30 Mar 2015 02:46:37 +0000 (23:46 -0300)]
fw/ui/sim_ui.h: move "enum jump_to" here, to avoid future dependency loop

2 years agofw/ui/ui_select.c (accounts): move account database to separate file db/account.c
Werner Almesberger [Mon, 30 Mar 2015 00:27:27 +0000 (21:27 -0300)]
fw/ui/ui_select.c (accounts): move account database to separate file db/account.c

2 years agofw/DEVCFG: when running on battery, also brd #1 needs a lower threshold
Werner Almesberger [Mon, 30 Mar 2015 00:23:55 +0000 (21:23 -0300)]
fw/DEVCFG: when running on battery, also brd #1 needs a lower threshold

2 years agofw/ui/: pass user pointer of entry to struct textsel_ops.show_icons
Werner Almesberger [Sun, 29 Mar 2015 23:47:16 +0000 (20:47 -0300)]
fw/ui/: pass user pointer of entry to struct textsel_ops.show_icons

2 years agofw/ui/: add icons "eye", "radio", "keyboard", "alert", and "transfer"
Werner Almesberger [Sun, 29 Mar 2015 18:23:49 +0000 (15:23 -0300)]
fw/ui/: add icons "eye", "radio", "keyboard", "alert", and "transfer"

2 years agofw/ui/ui_select_setup.c: add setup for account selection
Werner Almesberger [Sun, 29 Mar 2015 17:46:16 +0000 (14:46 -0300)]
fw/ui/ui_select_setup.c: add setup for account selection

2 years agofw/ui/ui_setup.c: rename to ui_login_setup.c and make specific to login screen
Werner Almesberger [Sun, 29 Mar 2015 17:31:13 +0000 (14:31 -0300)]
fw/ui/ui_setup.c: rename to ui_login_setup.c and make specific to login screen

2 years agomeas/ibat/show3: script was missing from third set of measurements
Werner Almesberger [Sun, 29 Mar 2015 03:29:23 +0000 (00:29 -0300)]
meas/ibat/show3: script was missing from third set of measurements

2 years agofw/DEVCFG: re-tune brd #2 after rework
Werner Almesberger [Sun, 29 Mar 2015 01:49:39 +0000 (22:49 -0300)]
fw/DEVCFG: re-tune brd #2 after rework

Rework done:
- boost-converter
- add battery holder
- add memory card holder
- corrected two defects (broken trace on CAP_A and CAP_B shorted to ground)
  on capacitive sensor

Slider sensitivity is fairly low. May need further attention.

2 years agosim/Makefile: support build versions (not having them broke linking)
Werner Almesberger [Sat, 28 Mar 2015 19:11:37 +0000 (16:11 -0300)]
sim/Makefile: support build versions (not having them broke linking)

2 years agosim/display.c (display_update): return a bool, like in the real firmware
Werner Almesberger [Sat, 28 Mar 2015 19:02:56 +0000 (16:02 -0300)]
sim/display.c (display_update): return a bool, like in the real firmware

We don't actually need this here since display timing is not related
to much else, but this way we maintain closer compability with the
real firmware.

2 years agofw/ui/sel.c (sel_swipe): double the swipe speed
Werner Almesberger [Sat, 28 Mar 2015 13:27:02 +0000 (10:27 -0300)]
fw/ui/sel.c (sel_swipe): double the swipe speed

2 years agofw/ui/input.c: reduce delays to make touch sensor more responsive
Werner Almesberger [Sat, 28 Mar 2015 13:19:17 +0000 (10:19 -0300)]
fw/ui/input.c: reduce delays to make touch sensor more responsive

Before Now
------------ ------------
Tap time  100- 300 ms   20- 200 ms
Press time  500-2000 ms  300-2000 ms
Swipe delay  200 ms   50 ms
Swipe distance 20 positions 10 positions

2 years agofw/DEVCFG: re-tune slider of brd #1
Werner Almesberger [Sat, 28 Mar 2015 13:08:33 +0000 (10:08 -0300)]
fw/DEVCFG: re-tune slider of brd #1

Voltage and code changes may have detuned it a bit. Or maybe the old
parameters ever were all that good.

2 years agohw/anelok.sch, power.sch: minor cleanup of post-rework schematics
Werner Almesberger [Sat, 28 Mar 2015 12:56:16 +0000 (09:56 -0300)]
hw/anelok.sch, power.sch: minor cleanup of post-rework schematics

2 years agomeas/ibat/: third set of measurements (effect of shorter delays on spikes)
Werner Almesberger [Sat, 28 Mar 2015 04:25:58 +0000 (01:25 -0300)]
meas/ibat/: third set of measurements (effect of shorter delays on spikes)

2 years agofw/2014/main.c, fw/disp/display.c: reduce most 100 ms sleeps to 10 ms or less
Werner Almesberger [Sat, 28 Mar 2015 04:22:46 +0000 (01:22 -0300)]
fw/2014/main.c, fw/disp/display.c: reduce most 100 ms sleeps to 10 ms or less

2 years agoMerge branch 'boost-rework'
Werner Almesberger [Sat, 28 Mar 2015 04:14:27 +0000 (01:14 -0300)]
Merge branch 'boost-rework'

The boost converter rework produced the desired result: we can make the
whole system run at 3.3 V.

2 years agofw/2014/touch.c (touch_read): "phase" is no longer static - don't initialize
Werner Almesberger [Sat, 28 Mar 2015 03:41:22 +0000 (00:41 -0300)]
fw/2014/touch.c (touch_read): "phase" is no longer static - don't initialize

2 years agomeas/ibat/: second set of measurements
Werner Almesberger [Sat, 28 Mar 2015 03:16:55 +0000 (00:16 -0300)]
meas/ibat/: second set of measurements

2 years agofw/plat/tick.c (msleep): move irq_enable to 2014/main.c
Werner Almesberger [Sat, 28 Mar 2015 03:14:37 +0000 (00:14 -0300)]
fw/plat/tick.c (msleep): move irq_enable to 2014/main.c

2 years agofw/2014/: make touch_read void and clean up usage
Werner Almesberger [Sat, 28 Mar 2015 03:09:20 +0000 (00:09 -0300)]
fw/2014/: make touch_read void and clean up usage

2 years agofw/2014/touch.c (touch_read): use deep sleep instead of busy-waiting
Werner Almesberger [Sat, 28 Mar 2015 02:39:30 +0000 (23:39 -0300)]
fw/2014/touch.c (touch_read): use deep sleep instead of busy-waiting

2 years agofw/: correctly use LLWU interrupt upon leaving LLS
Werner Almesberger [Sat, 28 Mar 2015 02:25:14 +0000 (23:25 -0300)]
fw/: correctly use LLWU interrupt upon leaving LLS

The combines several closely related changes:

- I misunderstood the requirement of not having the LLW interrupt masked
  (3.4.4.1, 15.1.2.1) as meaning that the interrupt that's causing the
  wakeup (i.e., an input to the LLWU) has to be enabled. Instead, the
  opposite is true (i.e., the LLW interrupt which is an output from the
  LLWU.)

- enable the LLW interrupt in board-2014.h

- implement an LLW ISR in plat/sleep.c

- remove anything relayed to LPTimer_IRQn from tick.c

- enable interrupts instead of disabling them (though this should be done
  at a more central location)

2 years agofw/base/start.c (vectors): allow board to set LLWU interrupt
Werner Almesberger [Sat, 28 Mar 2015 02:12:21 +0000 (23:12 -0300)]
fw/base/start.c (vectors): allow board to set LLWU interrupt

2 years agofw/plat/sleep.h: de-inline enter_stop
Werner Almesberger [Sat, 28 Mar 2015 02:03:05 +0000 (23:03 -0300)]
fw/plat/sleep.h: de-inline enter_stop

It's a bit on the large side for this already, and it likely to grow.

2 years agofw/2014/main.c (standalone): update to keep up with other changes
Werner Almesberger [Sat, 28 Mar 2015 01:57:17 +0000 (22:57 -0300)]
fw/2014/main.c (standalone): update to keep up with other changes

2 years agofw/plat/sleep.h: correct title comment
Werner Almesberger [Sat, 28 Mar 2015 00:34:49 +0000 (21:34 -0300)]
fw/plat/sleep.h: correct title comment

2 years agofw/2014/touch.c: avoid read-modify-write to TSI0_GENCS (just for better style)
Werner Almesberger [Sat, 28 Mar 2015 00:04:26 +0000 (21:04 -0300)]
fw/2014/touch.c: avoid read-modify-write to TSI0_GENCS (just for better style)

2 years agofw/2014/touch.c (touch_read): wait inside touch_read; simplify
Werner Almesberger [Fri, 27 Mar 2015 02:50:53 +0000 (23:50 -0300)]
fw/2014/touch.c (touch_read): wait inside touch_read; simplify

2 years agofw/plat/tick.c, sleep.h: move deep sleep (LLS) setup to sleep.h, for sharing
Werner Almesberger [Fri, 27 Mar 2015 02:39:16 +0000 (23:39 -0300)]
fw/plat/tick.c, sleep.h: move deep sleep (LLS) setup to sleep.h, for sharing

2 years agofw/2014/touch.c (init_cal): use msleep instead of mdelay
Werner Almesberger [Fri, 27 Mar 2015 02:29:47 +0000 (23:29 -0300)]
fw/2014/touch.c (init_cal): use msleep instead of mdelay

2 years agomeas/ibat/show: move items shared between data sets to common file show-common
Werner Almesberger [Fri, 27 Mar 2015 02:15:14 +0000 (23:15 -0300)]
meas/ibat/show: move items shared between data sets to common file show-common

2 years agomeas/ibat/show: escape underlines to make them work with "enhanced" terminals
Werner Almesberger [Thu, 26 Mar 2015 23:03:32 +0000 (20:03 -0300)]
meas/ibat/show: escape underlines to make them work with "enhanced" terminals

2 years agomeas/ibat/show: if a file name is given, create a PNG montage
Werner Almesberger [Thu, 26 Mar 2015 20:33:08 +0000 (17:33 -0300)]
meas/ibat/show: if a file name is given, create a PNG montage

2 years agomeas/ibat/plot: option -o for PNG output; set xtics to 1; clean up wide
Werner Almesberger [Thu, 26 Mar 2015 20:32:19 +0000 (17:32 -0300)]
meas/ibat/plot: option -o for PNG output; set xtics to 1; clean up wide

2 years agomeas/ibat/show: use -w instead of hard-coding "set term ..."
Werner Almesberger [Thu, 26 Mar 2015 17:43:48 +0000 (14:43 -0300)]
meas/ibat/show: use -w instead of hard-coding "set term ..."

2 years agomeas/ibat/plot: option -w for wide output
Werner Almesberger [Thu, 26 Mar 2015 17:43:34 +0000 (14:43 -0300)]
meas/ibat/plot: option -w for wide output

2 years agomeas/ibat/show: add annotations
Werner Almesberger [Thu, 26 Mar 2015 17:40:41 +0000 (14:40 -0300)]
meas/ibat/show: add annotations

2 years agomeas/ibat/plot: option -e to embed gnuplot commands from standard input
Werner Almesberger [Thu, 26 Mar 2015 16:59:24 +0000 (13:59 -0300)]
meas/ibat/plot: option -e to embed gnuplot commands from standard input

2 years agomeas/ibat/show, meas/ibat/d1/: add display-off result as well
Werner Almesberger [Thu, 26 Mar 2015 06:15:59 +0000 (03:15 -0300)]
meas/ibat/show, meas/ibat/d1/: add display-off result as well

2 years agofw/ui/ui_off.c: turn the display off (WIP)
Werner Almesberger [Thu, 26 Mar 2015 06:04:31 +0000 (03:04 -0300)]
fw/ui/ui_off.c: turn the display off (WIP)

Since we have fairly large delays now, this will upset the interface
timing, with the effect that it's hard to ever see the welcome screen.

2 years agomeas/ibat/show, meas/ibat/d1/: add more results
Werner Almesberger [Thu, 26 Mar 2015 05:38:14 +0000 (02:38 -0300)]
meas/ibat/show, meas/ibat/d1/: add more results

2 years agofw/disp/display.c (display_on): activate display in steps
Werner Almesberger [Thu, 26 Mar 2015 05:35:56 +0000 (02:35 -0300)]
fw/disp/display.c (display_on): activate display in steps

2 years agofw/disp/display.c: replace all mdelay with msleep
Werner Almesberger [Thu, 26 Mar 2015 05:23:27 +0000 (02:23 -0300)]
fw/disp/display.c: replace all mdelay with msleep

2 years agocommon/boost.c (power_3v3): use msleep instead of mdelay
Werner Almesberger [Thu, 26 Mar 2015 05:20:37 +0000 (02:20 -0300)]
common/boost.c (power_3v3): use msleep instead of mdelay

2 years agofw/2014/main.c (ui): enable boost converter very gently
Werner Almesberger [Thu, 26 Mar 2015 05:06:36 +0000 (02:06 -0300)]
fw/2014/main.c (ui): enable boost converter very gently

2 years agoRevert "fw/2014/main.c (ui): msleep(1000) to keep idle current stable (for optimization)"
Werner Almesberger [Thu, 26 Mar 2015 04:52:07 +0000 (01:52 -0300)]
Revert "fw/2014/main.c (ui): msleep(1000) to keep idle current stable (for optimization)"

This reverts commit 97b8ab6c84e4af15bdc477eb270933c3ff135039.

We no longer need this delay since the current measured at this point
is now sufficiently low.

Conflicts:
fw/2014/main.c

2 years agomeas/ibat/d1/: data so far (d1 experiment)
Werner Almesberger [Thu, 26 Mar 2015 04:45:44 +0000 (01:45 -0300)]
meas/ibat/d1/: data so far (d1 experiment)

2 years agomeas/ibat/run, show: scripts for "d1" experiment
Werner Almesberger [Thu, 26 Mar 2015 04:44:50 +0000 (01:44 -0300)]
meas/ibat/run, show: scripts for "d1" experiment

2 years agofw/2014/main.c (ui): disable USB regulator if we're not on USB power
Werner Almesberger [Wed, 25 Mar 2015 22:59:49 +0000 (19:59 -0300)]
fw/2014/main.c (ui): disable USB regulator if we're not on USB power

2 years agofw/2014/main.c (ui): msleep(1000) to keep idle current stable (for optimization)
Werner Almesberger [Wed, 25 Mar 2015 22:51:41 +0000 (19:51 -0300)]
fw/2014/main.c (ui): msleep(1000) to keep idle current stable (for optimization)