Commit Graph

832 Commits

Author SHA1 Message Date
Jared Boone
fd3f962e40 Define and utilize memory region backup_ram. 2016-02-05 16:45:23 -08:00
Jared Boone
682c87e3ff Wrap baseband sampling rate function to radio:: function. 2016-02-05 16:36:36 -08:00
Jared Boone
0294165481 Extract LOTS of stuff into an audio API.
Prevent all manner of type and implementation leakage.
2016-02-05 16:25:43 -08:00
Jared Boone
1b793da17f Expose I2C0 via portapack.hpp. 2016-02-05 16:21:03 -08:00
Jared Boone
9430c94dec Move I2S management to application side. 2016-02-05 15:25:08 -08:00
Jared Boone
cefab197da Add virtual destructor for ThreadBase.
Oops!
2016-02-05 10:44:27 -08:00
Jared Boone
80511ac93f Improve repaint scope when widgets removed from parent.
Addresses flickering (again!) when switching between options views in receiver app.
2016-02-05 10:44:09 -08:00
Jared Boone
bf77abd247 Back out Travis artifact upload changes. 2016-02-04 12:33:55 -08:00
Jared Boone
97bbbb705c Fix Travis artifacts command not found. 2016-02-04 12:28:44 -08:00
Jared Boone
92fd62eb62 Try manual Travis "artifacts upload". 2016-02-04 12:22:27 -08:00
Jared Boone
94a6d8340d Add left key navigation out of newer menus.
TODO: Ripe for a base class or something.
2016-02-04 12:17:10 -08:00
Jared Boone
80b2a26213 Fix artifact download URL in Travis IRC notification. 2016-02-04 12:04:17 -08:00
Jared Boone
aae59181b0 Add IRC notification of Travis builds.
I hope it's not too obnoxious.
2016-02-04 11:50:07 -08:00
Jared Boone
e206e021c1 Remove failed attempt to print download URL in Travis. 2016-02-04 11:49:00 -08:00
Jared Boone
2e7dbe6d44 Final Travis fiddling for now, I think. 2016-02-04 11:18:03 -08:00
Jared Boone
cf6a21364e Travis mop-up. Remove extras, print correct download URL. 2016-02-04 10:45:23 -08:00
Jared Boone
62c3e33158 Travis is 64-bit environment, ARM GCC 32-bit? 2016-02-04 10:23:56 -08:00
Jared Boone
c40648385a More Travis stuff. There must be a better way... 2016-02-04 09:58:04 -08:00
Jared Boone
5cf1f9af86 And more Travis fiddling. 2016-02-04 09:55:27 -08:00
Jared Boone
bdbe3146be Travis debugging. 2016-02-04 09:50:52 -08:00
Jared Boone
6df906b9da More Travis debugging. 2016-02-04 09:47:28 -08:00
Jared Boone
8f296e6a5e Travis, Travis, Travis. 2016-02-04 09:44:24 -08:00
Jared Boone
1b8b932542 Further Travis+GCC clean-up based on examples I found. 2016-02-04 09:37:46 -08:00
Jared Boone
d98740045f Fix Travis GCC compiler path.
Sorry for all the commits/pushes...
2016-02-04 09:30:25 -08:00
Jared Boone
b2f2b970d2 Try to update GCC used by Travis-CI. 2016-02-04 09:14:12 -08:00
Jared Boone
20137db8d0 Move code into .cpp for tiny code size improvement. 2016-02-03 22:47:44 -08:00
Jared Boone
af8c9609a8 Little code size tweak using std::move in constructors. 2016-02-03 22:47:22 -08:00
Jared Boone
cff314cbc8 Convince compiler to not inline member constructors. 2016-02-03 19:59:41 -08:00
Jared Boone
1d2dd4e19d Old GCC on Travis-CI was cheesed off by my new syntax. 2016-02-03 17:59:46 -08:00
Jared Boone
5d4e59271a Switch display sleep button to ImageButton. 2016-02-03 16:14:34 -08:00
Jared Boone
dd6d56cff8 SD card status view inherits from new Image class. 2016-02-03 15:50:14 -08:00
Jared Boone
84824a504f Add UI Image and ImageButton classes. 2016-02-03 15:48:50 -08:00
Jared Boone
e57659d4cf Convert SD card view to show icon/color for status. 2016-02-03 13:24:38 -08:00
Jared Boone
76013a656c Add Painter.draw_bitmap for Bitmap types. 2016-02-03 13:23:46 -08:00
Jared Boone
deade67fd8 Add ui::Bitmap for two-color images. 2016-02-03 13:23:23 -08:00
Jared Boone
e2a82061d4 Update SD card status when view is shown. 2016-02-03 10:34:17 -08:00
Jared Boone
5d0b5d427a Extract draw_bitmap from draw_glyph. 2016-02-03 10:33:54 -08:00
Jared Boone
ceef8d32d3 Use more accurate arctan for NBFM demodulation. 2016-02-02 16:15:14 -08:00
Jared Boone
ab2c5b256f Reinstate and slightly tweak NBFM squelch. 2016-02-02 16:08:18 -08:00
Jared Boone
d9be5677e3 Simplify handling of modulation config changes via UI. 2016-02-02 15:20:14 -08:00
Jared Boone
10c7c57fd1 Expose modulation configuration indices. 2016-02-02 15:19:43 -08:00
Jared Boone
1cf38387c1 Initialize modulation from ReceiverModel. 2016-02-02 15:01:04 -08:00
Jared Boone
d82cbcb1c4 Rework modulation options views handling.
Still not pretty, but a bit simpler. I think...
2016-02-02 14:26:00 -08:00
Jared Boone
3f86a7c4ae Add AM/NBFM configuration options views. 2016-02-02 13:42:00 -08:00
Jared Boone
be8c1307e2 Add OptionsField event for on_focus.
TODO: So poorly named! Should be on_focus, but requires sweeping changes. Ugh.
2016-02-02 13:41:11 -08:00
Jared Boone
fece0a5e1b Move modulation configuration into ReceiverModel. 2016-02-02 13:39:02 -08:00
Jared Boone
cbaa04ff07 Reorganize analog audio configs structures. 2016-02-02 11:02:07 -08:00
Jared Boone
ee67948a63 Simplify AnalogAudioView mode switching. 2016-02-01 09:17:32 -08:00
Jared Boone
afffdba150 AnalogAudioView::on_show() is a no-op, remove. 2016-02-01 09:13:17 -08:00
Jared Boone
c5f8daa210 Restore use of ReceiverModel::Mode enum. 2016-02-01 09:12:55 -08:00