furrtek
e959d9a8ec
More messagepack
2016-05-16 12:02:45 +02:00
furrtek
61fdb57b8f
Testing Messagepack for saving/loading stuff from SD card
2016-05-15 02:35:08 +02:00
Jared Boone
479a96fc22
Move Painter into EventDispatcher.
2016-05-12 15:52:18 -07:00
Jared Boone
7d4dd03418
Wrap message handler registrations in class to subscribe/unsubscribe automatically.
2016-05-11 22:53:09 -07:00
furrtek
b4a113be59
Handwriting fixes
2016-05-11 01:03:42 +02:00
furrtek
a42f5beb9b
Handwriting recognition
2016-05-10 07:20:24 +02:00
furrtek
1b0da68d65
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
firmware/application/Makefile
firmware/application/core_control.cpp
firmware/application/touch.cpp
firmware/application/ui_debug.cpp
firmware/application/ui_debug.hpp
firmware/application/ui_navigation.cpp
firmware/baseband/baseband_thread.cpp
2016-04-21 20:36:19 +02:00
Jared Boone
0681f9c5df
Init message queues in M0 event dispatcher.
2016-02-16 11:23: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
7fbe57931e
Push M0 halt code into a function.
2016-02-16 11:04:35 -08:00
furrtek
6e496e2b26
Merge fixing, commit to catch up on recent files
2016-02-04 10:27:53 +01:00
furrtek
44638e504b
SYNC
2016-01-31 09:34:24 +01:00
furrtek
7e56183986
Sync
2016-01-31 08:37:08 +01:00
furrtek
107c212d88
Completely useless "about" screen
...
Paved road for talking Xylos RX and logger
Added test button for Xylos TX
Fixed jammer crashing after loading second time
2016-01-30 00:28:05 +01:00
Jared Boone
894d4b955c
Unclever first attempt at display sleep.
2016-01-27 20:33:54 -08:00
Jared Boone
9cab3c9978
Remove message_map from Context.
...
It doesn't belong in a display/rendering context object, it has much broader significance, mostly distributing messages via the M4->M0 IPC mechanism.
2016-01-13 15:46:04 -08:00
Jared Boone
731cea1b96
Move event.* code into event_m[04].*.
...
Slightly more duplication of code now. Need a base class...
2016-01-12 22:00:42 -08:00
Jared Boone
e73a9f98a1
Move EventDispatcher code into event_*.hpp.
...
More code redistribution coming shortly...
2016-01-12 21:49:29 -08:00
furrtek
1e71a10346
UI options: backlight auto-off, splash screen toggle
2016-01-07 14:17:39 +01:00
Jared Boone
ba33cc737d
Transmit DisplayFrameSync message, handle in WaterfallSpectrum.
...
More kludginess, especially around initialization and timing. But it addresses the flickering lines of pixels at the bottom of the waterfall scroll area!
2016-01-06 11:36:57 -08:00
furrtek
3477a2691a
Added missing files, ENUMed modulation modes
2016-01-05 11:47:46 +01:00
Jared Boone
c1e5577669
Eliminate duplicate code between event_m4.hpp, event.hpp.
...
event.* is common code, _m0 and _m4 contain specific event mask definitions.
2016-01-04 12:54:05 -08:00
Jared Boone
0fe5409357
Move M4TXEVENT interrupt control into event handler run().
2016-01-04 12:15:35 -08:00
Jared Boone
69b258cc2b
Consolidate event handler code, including IRQ.
2016-01-04 12:15:10 -08:00
Jared Boone
b058c0fe00
Consolidate M0-specific code.
2016-01-04 12:07:30 -08:00
furrtek
802ac496e9
Xylos (CCIR tones) TX, jammer update, SD card mod load
...
Xylos TX (CCIR tones) ;)
Jammer update, still buggy and inefficient
SD card module loader update
2016-01-03 07:24:30 +01: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
ca7e0f1e20
Remove #include of ChibiOS test.h.
...
Would be appropriate if writing a test case project. Someday...
2015-12-10 18:28:19 -08:00
Jared Boone
c70d95dcbe
Remove SDCardStatusMessage, replace with Signal, extract to separate files.
2015-12-01 10:38:35 -08:00
Jared Boone
42104d217a
Broaden SD card status detail in message.
2015-11-29 15:50:58 -08:00
Jared Boone
5928086fd9
Simplify SD card mount status code.
2015-11-29 15:37:24 -08:00
furrtek
5f60b004f7
Dynamic baseband module loading from SD card
2015-11-20 07:59:09 +01:00
furrtek
835d581e6c
Merged remote-tracking branch 'upstream/master'
2015-11-18 22:01:48 +01:00
furrtek
bcbad4629f
Jammer ramp mode
...
Jammer range splitting, hopping. Only 1MHz wide splits for now.
2015-11-14 03:44:49 +01:00
Jared Boone
77199fb3dd
Add sdcDisconnect() to avoid HackRF mode entry crash if SD card is connected.
2015-11-13 10:55:52 -08:00
Jared Boone
6f09cf21f8
Move sdcStop() call to have symmetry with sdcStart().
2015-11-13 10:55:08 -08:00
Jared Boone
987ea3555d
SD card detection and filesystem mounting.
2015-11-10 15:24:42 -08:00
Jared Boone
47a3ffb15a
Insulate ui::Context a bit from its clients.
...
Add accessor methods.
2015-11-09 11:56:40 -08:00
Jared Boone
31ff13f1c0
Un-const Message in message handler interfaces.
...
I want to modify in place the messages that are received. Naughty, but oh well.
2015-11-06 09:39:59 -08:00
furrtek
9a7657fb38
Play dead actually works, fixed 7bit AFSK, AFSK repeat, started whistle mode
2015-09-10 20:36:39 +02:00
furrtek
30531a20f2
Splash screen and Play Dead functionality
2015-09-04 20:37:27 +02:00
Jared Boone
b13081696d
Simplify MessageQueue pop() usage.
2015-08-27 14:35:17 -07:00
Jared Boone
d8b3b4cb6b
Check queue empty only once when reading messages.
...
There was a second is_empty() call hidden in the pop() call, so the while(condition) was redundant.
2015-08-27 14:27:29 -07:00
Jared Boone
11561659b4
Reset the M0 after the M4 is running HackRF firmware.
2015-08-20 20:26:36 -07:00
Jared Boone
690c3c98db
Add Shutdown message, plumbing to send and handle.
2015-08-20 18:03:49 -07:00
Jared Boone
2efbd337bd
Provide a way to exit application event loop.
2015-08-20 17:56:47 -07:00
Jared Boone
1c3e45917c
Rework to make use of declared memory map regions.
2015-08-20 17:11:08 -07:00
Jared Boone
4126f1ab1f
Change IPC to exchange data, not pointers.
2015-08-20 13:13:12 -07:00
Jared Boone
f2cabadf60
Review application initialization order.
...
Group related things together.
2015-08-14 22:28:28 -07:00
Jared Boone
49b91d9c5d
Move event loop into EventDispatcher.
2015-08-14 22:01:20 -07:00
Jared Boone
d5ebb9ef1e
Remove more dead code and comments.
2015-08-14 21:58:54 -07:00
Jared Boone
aa801ada60
Move code comments to project Wiki.
2015-08-14 21:54:03 -07:00
Jared Boone
b1a4418f06
Push more widget painting code into ui::Painter
...
Hide knowledge of damage tracking strategy.
2015-08-14 21:36:51 -07:00
Jared Boone
2ebb41c0e6
Remove dead, commented code.
2015-08-14 21:35:48 -07:00
Jared Boone
872c998ff1
Move widget tree painting to ui::Painter.
...
Still doesn't seem like the right place, but better than the event dispatcher!
2015-08-14 21:27:46 -07:00
Jared Boone
a9bb7c96e5
Move UI dirty tracking out of application main.cpp.
2015-08-14 21:17:23 -07:00
Jared Boone
fa465c14c4
Extract RTC interrupt handler into separate files.
2015-08-14 20:57:40 -07:00
Jared Boone
a7226820d0
Hide implementation of MessageHandlerMap.
2015-08-14 17:31:23 -07:00
Jared Boone
2aa8ae0d1f
Move FSKPacket message handler to ReceiverView.
2015-08-14 16:46:32 -07:00
Jared Boone
c44357a16a
Remove dead, commented-out code.
2015-08-14 16:38:10 -07:00
Jared Boone
02aab9b4e2
Application main() refactoring to group relevant bits.
2015-08-14 15:52:11 -07:00
Jared Boone
1713c82841
Move ChibiOS init comments into Wiki.
2015-08-14 12:23:49 -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
65d5f68bfb
Move LCD display object to portapack namespace.
...
Globals are bad... Except in embedded development!
2015-08-01 14:31:51 -07:00
Jared Boone
1d16cd8aac
Consolidate peripheral declarations.
2015-08-01 13:42:27 -07:00
Jared Boone
b32f5e2239
Generalize method for executing SPI flash image in M4 RAM.
2015-07-30 09:41:33 -07:00
Clayton Smith
3874c82d57
Store PPM in shared memory for now.
2015-07-29 14:26:40 -07:00
Jared Boone
e571ca7f1c
Change reference initializations errors in GCC 4.8
...
Resolves issue #12 .
2015-07-17 12:07:38 -07:00
Jared Boone
92ba4d7fea
Fix line endings.
...
Addresses #21 .
2015-07-17 10:55:54 -07:00
Jared Boone
7c9fc62f5e
Move halt indication code to common place.
2015-07-08 16:28:57 -07:00
Jared Boone
dc6fee8370
Initial firmware commit.
2015-07-08 08:39:24 -07:00