Jared Boone
a6538bc48b
Rename AudioThread -> CaptureThread.
...
...since it's doing baseband capturing too, and doesn't really know what kind of data it's moving.
2016-04-22 12:15:51 -07:00
Jared Boone
743dc9f542
Rough implementation of capture mode
2016-04-11 10:59:55 -07:00
Jared Boone
59f1a32566
Semi-naive audio recording to SD card.
2016-04-11 10:20:19 -07:00
Jared Boone
0cb923be6d
Add SD card debug view.
...
Bus and card configuration data, write and read testing.
2016-04-10 17:16:39 -07:00
Jared Boone
635b1fd4c3
Extract TPMS packet stuff to separate files.
2016-04-06 17:01:54 -07:00
Jared Boone
52016defd5
Capture screen image, save to PNG file on SD card.
2016-02-19 15:34:02 -08:00
Jared Boone
7ec476cb79
Rename m4_startup.* to more appropriate core_control.*
...
Now that there is M0- and M4-related code.
2016-02-16 11:09:00 -08:00
Jared Boone
22e44605b6
Hide baseband queue code inside baseband "API".
2016-02-10 20:11:19 -08:00
Jared Boone
9430c94dec
Move I2S management to application side.
2016-02-05 15:25:08 -08:00
Jared Boone
4d3294c228
Move ReceiverView code to AnalogAudioView.
...
ReceiverView predated the "app" model, was serving as a shell for *all* radio activity, but became outmoded and redundant when non-audio modes were split out into separate apps.
Some stuff is broken in this change, will be fixed imminently.
2016-01-31 09:13:44 -08:00
Jared Boone
05d7e0222f
Extract RecentEntries stuff to separate files.
2016-01-17 21:42:15 -08:00
Jared Boone
fc7a7d753d
Extract general File class from LogFile.
2016-01-17 14:20:02 -08:00
Jared Boone
e73a9f98a1
Move EventDispatcher code into event_*.hpp.
...
More code redistribution coming shortly...
2016-01-12 21:49:29 -08:00
Jared Boone
0647f26707
Move SGPIO configuration and control to baseband firmware.
...
Addresses long-standing and annoying bug where SGPIO DMA channel would not disable -- and not configure cleanly next time it was needed. My theory is that the DMA channel couldn't disable until it got a request from the peripheral, and sometimes the peripheral was disabled before that last request.
Anyway, the baseband firmware should control the SGPIO, methinks, despite the impact on baseband code size.
2016-01-10 10:23:39 -08:00
Jared Boone
69b258cc2b
Consolidate event handler code, including IRQ.
2016-01-04 12:15:10 -08:00
Jared Boone
86edf01def
Quick and dirty temperature logger, debug view of temp vs. time.
2015-12-16 22:36:51 -08:00
Jared Boone
7de187e267
Move ERT, AIS packet code to common/.
2015-12-08 16:08:20 -08:00
Jared Boone
2e81d1f5b7
Separate ERT packet and UI code.
2015-12-08 16:04:48 -08:00
Jared Boone
37d7d5b273
Separate AIS packet and formatting code from app code.
2015-12-08 15:49:20 -08:00
Jared Boone
218d81fc60
Rename all the app .cpp/.hpp to have app name first.
...
Larger refactoring of filenames and namespaces imminent!
2015-12-08 15:28:33 -08:00
Jared Boone
76845c4335
Extract to_string_* functions from ui_widget.
2015-12-02 13:38:17 -08:00
Jared Boone
57aed55cc7
Extract LogFile, add (dumb) logging to ERT, AIS apps.
2015-12-01 22:39:27 -08:00
Jared Boone
29f2d0e50a
Move app_spectrum_analysis.hpp code to .cpp.
2015-12-01 22:07:17 -08:00
Jared Boone
d15afc9f7d
Move app_analog_audio.hpp code to .cpp.
2015-12-01 22:04:04 -08:00
Jared Boone
11e8456da0
Move app_ert.hpp code to .cpp.
2015-12-01 21:59:47 -08:00
Jared Boone
4c3b557064
Move app_tpms.hpp code to .cpp.
2015-12-01 21:53:28 -08:00
Jared Boone
1aa1286ec1
Push app_ais.hpp code into .cpp.
2015-12-01 21:44:13 -08:00
Jared Boone
519f8cfebc
Extract Manchester decoder, formatter.
2015-12-01 21:28:53 -08:00
Jared Boone
0c36a74351
Add SD card status view to receiver UI.
2015-12-01 10:45:34 -08:00
Jared Boone
c70d95dcbe
Remove SDCardStatusMessage, replace with Signal, extract to separate files.
2015-12-01 10:38:35 -08:00
Jared Boone
9e694ce836
AIS decoding and really bad UI.
...
The decoder needs a serious refactoring/decoupling.
The UI just dumps bits of the received packets into a console window, whcih scrolls too quickly in an AIS-dense area with a good antenna.
2015-11-06 13:53:04 -08:00
Jared Boone
f82fd1f8d7
Tease apart utility.hpp, other header dependencies.
...
Trying to get a host-testable FSK demodulator, and finding a lot of M4- and ChibiOS-specific code is getting included. Boo.
2015-11-06 09:40:03 -08:00
Jared Boone
bd76f0e13b
Note to try different -mcpu= for LPC43xx Cortex-M0.
2015-11-06 09:40:00 -08:00
Jared Boone
8f7e26b5c1
Break out BasebandStatsView, add main, RSSI threads.
2015-10-14 10:59:32 -07:00
Jared Boone
98773cb62a
Make GIT_REVISION value available within code.
...
Addresses issue #59 .
No idea what it'll do if the commit is also tagged as a release...
2015-08-25 16:33:52 -07:00
Jared Boone
fa465c14c4
Extract RTC interrupt handler into separate files.
2015-08-14 20:57:40 -07:00
Jared Boone
45d26abf10
Use correct memory region for persistent storage.
...
Turns out 0x10088000 - 0x10089fff is not the right place. It's 0x40041000, and is only 256 bytes!
Move PPM to correct place, change representation to PPB for finer control.
Reset PPB value to initial value if read value out of bounds.
Clip PPB value on write to permitted bounds.
Contributes to resolution of issue #11 .
2015-08-04 10:03:18 -07:00
Jared Boone
1d16cd8aac
Consolidate peripheral declarations.
2015-08-01 13:42:27 -07:00
Jared Boone
dc6fee8370
Initial firmware commit.
2015-07-08 08:39:24 -07:00