606 Commits

Author SHA1 Message Date
Jeremy Soller
8559f6f48a
Allow clean to be run without BOARD being set 2020-04-07 12:13:06 -06:00
Tim Crawford
dfe3032f4d make: Move clean target above BOARD check 2020-04-07 11:41:26 -06:00
Tim Crawford
2a86572f2b Allow overriding version
In order to use the same version as the board firmware we need to be
able to specify the version string for the EC.

Ref: https://github.com/system76/firmware-open/issues/75
2020-04-07 08:01:16 -06:00
Jeremy Soller
a8b38d6b37
tool: 0.1.3 - add backup ROM flashing 2020-04-06 16:39:40 -06:00
Jeremy Soller
ff639a7836
Set fan to 100% when in scratch ROM 2020-04-06 14:19:11 -06:00
Jeremy Soller
dc246237c6
Add a watchdog timer of 10 seconds when using scratch ROM 2020-04-06 14:11:57 -06:00
Jeremy Soller
2d17acd919
Add PL1 and PL2 values 2020-04-06 08:14:16 -06:00
Jeremy Soller
8af9470c40
lemp9: lower fan curve maximum temperature to 80C 2020-04-05 13:16:05 -06:00
Jeremy Soller
113a4b23ab
Fix lemp9 current draw 2020-04-05 11:54:34 -06:00
Jeremy Soller
e8f8daae1b
Set input current limits 2020-04-05 10:34:25 -06:00
Jeremy Soller
d901907942
Sync changed between system76 boards 2020-04-05 08:47:24 -06:00
Jeremy Soller
825677bfb5
Turn off VDD3 when CPU is off and AC is not connected 2020-04-04 19:36:01 -06:00
Jeremy Soller
ee8e0a2257
Correct GPIO control settings 2020-04-04 19:35:36 -06:00
Jeremy Soller
ed0e662d60
Cut lemp9 charging current in half to lower charging heat 2020-04-04 15:11:59 -06:00
Jeremy Soller
32055d825e
Re-enable interpolation of duty cycle 2020-04-04 13:30:33 -06:00
Jeremy Soller
20d3808aed
Allow a config.mk to be created that contains BOARD, KEYMAP, etc. 2020-04-04 13:01:13 -06:00
Jeremy Soller
9ee71097f9
Merge pull request #43 from system76/wip/fan
Fan curve improvements
2020-04-04 13:00:12 -06:00
Jeremy Soller
abda4e744b
Ignore backup.rom and power.csv 2020-04-04 12:56:17 -06:00
Jeremy Soller
eb578d427c
Show battery wattage instead of voltage and amperage 2020-04-04 09:53:41 -06:00
Jeremy Soller
82b7079f73
Add tool for collecting power/temp information 2020-04-04 08:23:52 -06:00
Jeremy Soller
62a909ee81
Improve fan curve
- Implement fan cooldown and heatup periods
- Add fan get/set commands
- Fix compilation with logging level lower than debug
2020-04-04 07:30:05 -06:00
Jeremy Soller
4fdb9ecbdc
Fix fan turning on when powering on or resuming from suspend 2020-04-01 20:03:09 -06:00
Jeremy Soller
d2ae447f4c
Merge pull request #40 from system76/wip/ghost
Ignore key presses that trigger ghost keys
2020-03-31 16:29:42 -06:00
Tim Crawford
9bf09e211c kbscan: Ignore key presses with ghost keys 2020-03-31 13:40:56 -06:00
Tim Crawford
ebcd545746 kbscan: Add function to read row from matrix 2020-03-31 13:40:56 -06:00
Jeremy Soller
6bfe5bb99a
Update Cargo.lock 2020-03-31 12:08:18 -06:00
Jeremy Soller
b0f6d7314a
ectool 0.1.2 - support building on rust stable 2020-03-31 12:07:32 -06:00
Jeremy Soller
d96147688d
Fix calculation of S3 power state, remove S4 power state 2020-03-17 12:49:11 -06:00
Jeremy Soller
7fbad82088
Improve power handling to eliminate lockups 2020-03-17 11:12:59 -06:00
Jeremy Soller
f179052dcb
Orientation for use with new adapter 2020-03-16 15:38:23 -06:00
Jeremy Soller
25a60568d0
Add print command 2020-03-14 21:13:07 -06:00
Jeremy Soller
8a8ab165a7
Improve print command 2020-03-14 21:06:18 -06:00
Jeremy Soller
d800af5ed6
Fix unflipped pin mapping 2020-03-14 20:41:40 -06:00
Jeremy Soller
606421abd1
Add console_external target 2020-03-14 20:40:44 -06:00
Jeremy Soller
6cbc7b3ea1
Remove delays from parport_write 2020-03-14 20:39:47 -06:00
Jeremy Soller
abcc8c00e0
Remove unnecessary sleeps from parallel_transaction 2020-03-14 20:38:52 -06:00
Jeremy Soller
8f3588ef6b
Leave parallel pins in HiZ until a command is issued. 2020-03-14 20:05:35 -06:00
Jeremy Soller
61c5ab1b3e
Merge pull request #35 from system76/wip/parport-logging
Debug logging over parallel port
2020-03-13 07:41:04 -06:00
Jeremy Soller
85cd16ca30
WIP: Support parallel port logging with Arduino Uno 2020-03-12 14:19:55 -06:00
Tim Crawford
abf5c3f20b mega2560: Add pin configuration for IT5570 2020-03-06 11:16:09 -07:00
Tim Crawford
f9a775e71b docs: Add info for logging through parport 2020-03-06 11:16:04 -07:00
Tim Crawford
e5afb927b8 system76/*: Add parport logging
Add a build-time option to configure the parallel port for logging
instead of using it as a keyboard.
2020-03-06 11:15:58 -07:00
Tim Crawford
72b453ebd3 it8587e, it5570e: Implement logging to parport
Implement configuring the keyboard controller as a parallel host device
and writing to the parallel port. This allows the EC to send log
messages over the port.
2020-03-06 11:15:51 -07:00
Tim Crawford
0f666abb25 mega2560: Implement debug console command
Reconfigure the Mega 2560 as a parallel peripheral device to receive
logs from the EC over the keyboard port and output them to the serial
console.
2020-03-06 11:15:45 -07:00
Tim Crawford
2d86bd1f0c readme: Update flash commands 2020-03-06 11:15:40 -07:00
Jeremy Soller
364b7c3af8
Rename flash targets 2020-03-02 14:11:57 -07:00
Jeremy Soller
e2c6fd7b82
ectool 0.1.1 2020-02-27 15:07:16 -07:00
Jeremy Soller
ff01da5f12
Write and erase at the same time to improve speed 2020-02-27 15:05:28 -07:00
Jeremy Soller
d1468da590
Use 1024 byte erase 2020-02-27 14:48:24 -07:00
Jeremy Soller
33cc2a2a76
Better output when flashing EC 2020-02-27 14:46:32 -07:00