drowe67 [Mon, 19 Oct 2015 07:37:34 +0000 (07:37 +0000)]
ideal mFSK sim for m=4 working and getting sensible results
git-svn-id: https://svn.code.sf.net/p/freetel/code@2453
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Mon, 19 Oct 2015 00:06:12 +0000 (00:06 +0000)]
two modems running, 4.7dB between them
git-svn-id: https://svn.code.sf.net/p/freetel/code@2452
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Sat, 17 Oct 2015 04:02:48 +0000 (04:02 +0000)]
initial BER results for manchester encoded modem, looking gd
git-svn-id: https://svn.code.sf.net/p/freetel/code@2451
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Fri, 16 Oct 2015 07:17:20 +0000 (07:17 +0000)]
notes and tweak to bit flipping
git-svn-id: https://svn.code.sf.net/p/freetel/code@2450
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Fri, 16 Oct 2015 03:10:48 +0000 (03:10 +0000)]
exploring waveforms that can pass through legacy radios
git-svn-id: https://svn.code.sf.net/p/freetel/code@2449
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 22:14:07 +0000 (22:14 +0000)]
fixed bug in SD error flipping on streaming version
git-svn-id: https://svn.code.sf.net/p/freetel/code@2448
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 21:26:48 +0000 (21:26 +0000)]
SD error flipping working on streaming version
git-svn-id: https://svn.code.sf.net/p/freetel/code@2447
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 20:36:55 +0000 (20:36 +0000)]
first pass at error correction using bit slipping of weakest bits
git-svn-id: https://svn.code.sf.net/p/freetel/code@2446
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 07:30:19 +0000 (07:30 +0000)]
protect against boundary condition
git-svn-id: https://svn.code.sf.net/p/freetel/code@2445
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 05:00:47 +0000 (05:00 +0000)]
first pass at writing to log file and telling foxtrotgps to plot track
git-svn-id: https://svn.code.sf.net/p/freetel/code@2444
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 03:32:43 +0000 (03:32 +0000)]
fixed phase discontnuity in simulated fsk tx
git-svn-id: https://svn.code.sf.net/p/freetel/code@2443
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 02:25:00 +0000 (02:25 +0000)]
fixed phase discontnuity in simulated fsk tx
git-svn-id: https://svn.code.sf.net/p/freetel/code@2442
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 15 Oct 2015 02:05:56 +0000 (02:05 +0000)]
some refactoring of ascii processing functions
git-svn-id: https://svn.code.sf.net/p/freetel/code@2441
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Wed, 14 Oct 2015 01:53:47 +0000 (01:53 +0000)]
added clock offset ppm measurement software
git-svn-id: https://svn.code.sf.net/p/freetel/code@2440
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Tue, 13 Oct 2015 17:49:19 +0000 (17:49 +0000)]
A little work towards FSK4 fine timing estimation
git-svn-id: https://svn.code.sf.net/p/freetel/code@2439
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 09:23:58 +0000 (09:23 +0000)]
Eb/No and SNR measurement on streaming version
git-svn-id: https://svn.code.sf.net/p/freetel/code@2438
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 09:13:36 +0000 (09:13 +0000)]
another go at Eb/No estimation
git-svn-id: https://svn.code.sf.net/p/freetel/code@2437
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 07:37:17 +0000 (07:37 +0000)]
file input example
git-svn-id: https://svn.code.sf.net/p/freetel/code@2436
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 07:36:30 +0000 (07:36 +0000)]
added Eb/No estimate
git-svn-id: https://svn.code.sf.net/p/freetel/code@2435
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 05:04:44 +0000 (05:04 +0000)]
streaming working OK, some run time diagnostics
git-svn-id: https://svn.code.sf.net/p/freetel/code@2434
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 02:23:15 +0000 (02:23 +0000)]
first pass at streaming version, works oK from stroed file
git-svn-id: https://svn.code.sf.net/p/freetel/code@2433
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Tue, 13 Oct 2015 01:45:57 +0000 (01:45 +0000)]
fading and freq drift model working OK
git-svn-id: https://svn.code.sf.net/p/freetel/code@2432
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Mon, 12 Oct 2015 08:27:20 +0000 (08:27 +0000)]
decoding multiple packets
git-svn-id: https://svn.code.sf.net/p/freetel/code@2431
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Mon, 12 Oct 2015 03:41:03 +0000 (03:41 +0000)]
first packet from Horus payload demodulated and printed out yayyy
git-svn-id: https://svn.code.sf.net/p/freetel/code@2430
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Mon, 12 Oct 2015 00:00:10 +0000 (00:00 +0000)]
fine timing OK at +/- 1000pm Eb/No=10dB, getting bits from baloon signal OK, now for frame sync
git-svn-id: https://svn.code.sf.net/p/freetel/code@2429
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Sun, 11 Oct 2015 23:22:05 +0000 (23:22 +0000)]
some more work on fine timing
git-svn-id: https://svn.code.sf.net/p/freetel/code@2428
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Sun, 11 Oct 2015 00:24:26 +0000 (00:24 +0000)]
fine timing estimate hanging on for a range of static timing offsets
git-svn-id: https://svn.code.sf.net/p/freetel/code@2427
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Sat, 10 Oct 2015 18:08:24 +0000 (18:08 +0000)]
A little improvement to 4FSK symbol resolution
git-svn-id: https://svn.code.sf.net/p/freetel/code@2426
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Tue, 6 Oct 2015 10:03:57 +0000 (10:03 +0000)]
sm1000_main: First stab at a time-out timer.
This needs calibration, but basically it cuts transmission after a fixed
period, giving warning beeps in the time just prior to timeout.
For now it is disabled by default, and the timing for now is way off.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2425
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Tue, 6 Oct 2015 10:03:55 +0000 (10:03 +0000)]
sounds: Add a tune to play for when the time-out is reached.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2424
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Tue, 6 Oct 2015 10:03:52 +0000 (10:03 +0000)]
tot: Time-out timer module
This is a crude time-out timer, designed to be ticked along by the
systick timer then polled in the main loop.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2423
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Tue, 6 Oct 2015 10:03:47 +0000 (10:03 +0000)]
sounds: Make structures const.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2422
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Mon, 5 Oct 2015 14:14:10 +0000 (14:14 +0000)]
Commit draft instructions for branching and tagging.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2421
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Mon, 5 Oct 2015 13:52:32 +0000 (13:52 +0000)]
Remove failed attempt to use prebuilt wxWidgets binaries from svn.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2420
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Mon, 5 Oct 2015 00:26:11 +0000 (00:26 +0000)]
A bit more messing with and clean up of fsk4.m
git-svn-id: https://svn.code.sf.net/p/freetel/code@2419
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Sun, 4 Oct 2015 19:19:14 +0000 (19:19 +0000)]
FIX SVN CHANGE LOG RGB 10/04/15
git-svn-id: https://svn.code.sf.net/p/freetel/code@2418
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Sun, 4 Oct 2015 19:16:38 +0000 (19:16 +0000)]
FIX COMMIT PROBLEM RGB 10-04-5
git-svn-id: https://svn.code.sf.net/p/freetel/code@2417
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Sun, 4 Oct 2015 19:10:11 +0000 (19:10 +0000)]
COMMIT TO SVN
git-svn-id: https://svn.code.sf.net/p/freetel/code@2416
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Sun, 4 Oct 2015 19:07:51 +0000 (19:07 +0000)]
SM1000-F RELEASE. MFG & GERBER FILES FOR PRODUCTION. RGB 10-04-15
git-svn-id: https://svn.code.sf.net/p/freetel/code@2415
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Sun, 4 Oct 2015 02:15:15 +0000 (02:15 +0000)]
ADD PDFs of Schematics and board layers L1, L2, L3 & L4 for reference only. RGB 10/03/15
git-svn-id: https://svn.code.sf.net/p/freetel/code@2414
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Sat, 3 Oct 2015 02:57:17 +0000 (02:57 +0000)]
Fix install location for Win64.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2413
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Fri, 2 Oct 2015 23:04:08 +0000 (23:04 +0000)]
codec2 debian rules: make executable
git-svn-id: https://svn.code.sf.net/p/freetel/code@2412
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Fri, 2 Oct 2015 23:02:40 +0000 (23:02 +0000)]
freedv debian rules: Fix indentation, permissions.
Should be executable, and who-TF took out the tabs?! Makefiles have
tabs.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2411
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Fri, 2 Oct 2015 22:49:25 +0000 (22:49 +0000)]
freedv: debian control: Rename source package to fdmdv2
This is to maintain compatibility with the older 'fdmdv2' package in
Debian. Not calling it this can lead to apt getting confused.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2410
01035d8c-6547-0410-b346-
abe4f91aad63
rickb44 [Mon, 28 Sep 2015 17:33:08 +0000 (17:33 +0000)]
Update Schematic & board files. Add PDF of schematic for review. RGB
git-svn-id: https://svn.code.sf.net/p/freetel/code@2409
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Mon, 28 Sep 2015 10:43:36 +0000 (10:43 +0000)]
stm32_flash: Add BKPSRAM section.
This is taken from the datasheet. We can place variables in there by
declaring them in the C code like this:
/*!
* User preferences
*/
static struct prefs_t {
/*! Serial number */
uint64_t serial;
/*! Menu frequency */
uint16_t menu_freq;
/*! Menu speed */
uint8_t menu_speed;
/*! Menu volume (attenuation) */
uint8_t menu_vol;
/*! Default operating mode */
uint8_t op_mode;
} prefs __attribute__((section(".bkpsram")));
git-svn-id: https://svn.code.sf.net/p/freetel/code@2408
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Mon, 28 Sep 2015 03:28:56 +0000 (03:28 +0000)]
Further 4FSK DMR work
git-svn-id: https://svn.code.sf.net/p/freetel/code@2407
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sun, 27 Sep 2015 06:41:19 +0000 (06:41 +0000)]
stm32f4_vrom: Correct sector size.
The sectors are 16kB, not 64kB. (Yes, brain fart moment yesterday.)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2406
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sun, 27 Sep 2015 04:23:30 +0000 (04:23 +0000)]
sm1000_main: Store two copies of the settings.
We keep a rolling serial number (64-bit, so probably flash will wear out
before rollover happens) that is incremented on each write, and we write
to the oldest image in flash.
On load, we pick the newest one that's valid.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2405
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Sun, 27 Sep 2015 02:42:58 +0000 (02:42 +0000)]
fsk4 ber curves work now
git-svn-id: https://svn.code.sf.net/p/freetel/code@2404
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Sun, 27 Sep 2015 01:22:21 +0000 (01:22 +0000)]
fsk4.m now has BER curve tracer
git-svn-id: https://svn.code.sf.net/p/freetel/code@2403
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sun, 27 Sep 2015 01:07:51 +0000 (01:07 +0000)]
sm1000_main: Enable CRC peripheral.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2402
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sun, 27 Sep 2015 00:44:53 +0000 (00:44 +0000)]
sm1000_main: Don't save settings unless something changed.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2401
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sun, 27 Sep 2015 00:03:20 +0000 (00:03 +0000)]
stm32f4_vrom: Do checksum on copy of block.
Store a temporary copy of the block on the stack to do our checksumming
on. This allows us to zero out the CRC32 field.
(There is a way to include the CRC32 field in the checksum itself, but
haven't figured out the mathematics needed yet.)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2400
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 23:53:32 +0000 (23:53 +0000)]
stm32f4_vrom: Adjust erase cycle counter.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2399
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 23:53:30 +0000 (23:53 +0000)]
stm32f4_vrom: Make structures "packed"
git-svn-id: https://svn.code.sf.net/p/freetel/code@2398
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 23:53:27 +0000 (23:53 +0000)]
sm1000_main: Clear DAC buffer after playback.
This seems to cure a "hanging note" issue when navigating menus.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2397
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 13:59:29 +0000 (13:59 +0000)]
stm32f4_vrom: Fixes to writing out data.
Numerous logic errors fixed. This time we succesfully write out blocks
and mark them as being used.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2396
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 11:45:28 +0000 (11:45 +0000)]
stm32_flash: Fill EEPROM section with 0xff.
Filling it with 0x00 (the default) makes the virtual EEPROM code think
the sectors are depleted.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2395
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 11:45:25 +0000 (11:45 +0000)]
sm1000_main: Add some logic involving the virtual EEPROM.
Not working yet.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2394
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 11:45:20 +0000 (11:45 +0000)]
Makefile: Add stm32f4_vrom to sm1000 target
git-svn-id: https://svn.code.sf.net/p/freetel/code@2393
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 10:32:45 +0000 (10:32 +0000)]
stm32f4_vrom: Virtual EEPROM driver for STM32F4.
This is a work-in-progress driver for talking to the flash on the
STM32F4. Untested for now.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2392
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 10:32:41 +0000 (10:32 +0000)]
tone: Fix copyright notice
git-svn-id: https://svn.code.sf.net/p/freetel/code@2391
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 02:57:32 +0000 (02:57 +0000)]
stm32_flash: Add a section for EEPROM data.
This allocates a few sectors of flash for the following purposes:
- Sector 0: ISR vector data. (This gets mapped to address 0; so we have
no choice, the ISR data *must* reside here.)
- Sector 1..3: Virtual EEPROM. We'll stash our configuration parameters
here. We have 48kB available.
- Sector 4.. onwards: Program data
Credit: clive1, ST e2e Communities.
https://my.st.com/public/STe2ecommunities/mcu/_layouts/st/getshorturl.aspx?List={
697285D7-A9CA-445D-B16C-
F23BF0E3B1A3}&ItemId=24079
git-svn-id: https://svn.code.sf.net/p/freetel/code@2390
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 01:32:22 +0000 (01:32 +0000)]
sm1000_main: Forbid entering menu with PTT asserted.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2389
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 01:32:19 +0000 (01:32 +0000)]
sm1000_main: Ensure sane output states on entering menu.
Particularly, ensure PTT is not asserted.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2388
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 00:51:36 +0000 (00:51 +0000)]
sm1000_main: Software-mix audio tones.
Mix the received audio with menu audio tones so that things like mode
announcements don't interrupt the received audio.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2387
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 00:05:55 +0000 (00:05 +0000)]
sm1000_main: Fix logic error exiting 'VOL'
Seems we were setting the dit time on the morse player instead of
restoring the old volume setting.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2386
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 00:05:53 +0000 (00:05 +0000)]
sm1000_main: Fix indentation
git-svn-id: https://svn.code.sf.net/p/freetel/code@2385
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 00:05:50 +0000 (00:05 +0000)]
sm1000_main: Fix announcement of volume level
git-svn-id: https://svn.code.sf.net/p/freetel/code@2384
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Sat, 26 Sep 2015 00:05:47 +0000 (00:05 +0000)]
sm1000_main: Tweak default menu volume
7 is a bit quiet, set attenuation to 2 instead (volume == 13).
git-svn-id: https://svn.code.sf.net/p/freetel/code@2383
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Fri, 25 Sep 2015 21:26:43 +0000 (21:26 +0000)]
sm1000_main: Wait for BACK button release after menu exit.
Otherwise we inadvertantly switch modes unexpectedly.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2382
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Fri, 25 Sep 2015 13:13:54 +0000 (13:13 +0000)]
tone: Exploit sine-wave symmetry to save space.
The sine wave basically can be divided into four quadrants, 0→0.5pi,
0.5pi→pi, pi→1.5pi and 1.5pi→2pi. If we call these Q1, Q2, Q3 and Q4,
we can see:
- Q2 is basically Q1 in reverse
- Q3 is Q1 negated
- Q4 is Q2 negated
We can therefore exploit this to store ¼ of the waveform. We do some if
statement trickery to stitch the partial waveforms together. End result
is we've now quadrupled the definition of our sine wave at minimal
code-size cost.
CPU wise is a wee bit more expensive, but still a lot better than
actually calculating sine with a math library!
git-svn-id: https://svn.code.sf.net/p/freetel/code@2381
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Thu, 24 Sep 2015 21:36:48 +0000 (21:36 +0000)]
Fixed fsk4.m
git-svn-id: https://svn.code.sf.net/p/freetel/code@2380
01035d8c-6547-0410-b346-
abe4f91aad63
drowe67 [Thu, 24 Sep 2015 21:11:42 +0000 (21:11 +0000)]
refactored a little and wrote Octave function to generate files of modulated bits
git-svn-id: https://svn.code.sf.net/p/freetel/code@2379
01035d8c-6547-0410-b346-
abe4f91aad63
baobrien [Thu, 24 Sep 2015 20:23:08 +0000 (20:23 +0000)]
fsk4.m restructured for easier testing of 4fsk variants
git-svn-id: https://svn.code.sf.net/p/freetel/code@2378
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Thu, 24 Sep 2015 19:48:16 +0000 (19:48 +0000)]
Fix BuildCodec2.cmake and add cmake module to build hamlib (not ready for production).
git-svn-id: https://svn.code.sf.net/p/freetel/code@2377
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Thu, 24 Sep 2015 19:30:57 +0000 (19:30 +0000)]
Branch and tag FreeDV 1.1.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2376
01035d8c-6547-0410-b346-
abe4f91aad63
hobbes1069 [Thu, 24 Sep 2015 19:03:32 +0000 (19:03 +0000)]
Branch and tag codec2 0.5
git-svn-id: https://svn.code.sf.net/p/freetel/code@2375
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 09:27:33 +0000 (09:27 +0000)]
Makefile: Build profile targets with -DPROFILE
git-svn-id: https://svn.code.sf.net/p/freetel/code@2374
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 09:17:54 +0000 (09:17 +0000)]
Makefile: Fix build of fft_test.elf
git-svn-id: https://svn.code.sf.net/p/freetel/code@2373
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:21:15 +0000 (08:21 +0000)]
Makefile: Compile stm32f4_adc_tuner.o without -O3
git-svn-id: https://svn.code.sf.net/p/freetel/code@2372
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:21:06 +0000 (08:21 +0000)]
Makefile: Compile adc_sfdr_ut with -O3
git-svn-id: https://svn.code.sf.net/p/freetel/code@2371
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:25 +0000 (08:12 +0000)]
sm1000_main: Add new menu system.
This is a first attempt at a proper UI for the SM1000. The SELECT and
BACK buttons now have two functions.
When the device powers on, the SELECT/BACK buttons cycle between the
operating modes when pressed momentarily.
Hold down SELECT and the POWER LED starts flashing, now you are in MENU
mode. SELECT/BACK now move between the menu items, holding down SELECT
chooses an item, and holding down BACK backs out without making a
change.
The menu structure at the moment is as follows:
-> Root menu:
|---> "MODE": Operating mode
| |---> "ANA": Analogue mode
| |---> "1600": FreeDV 1600
| '---> "TONE": Test tone
|
'---> "UI": User interface options
|---> "FREQ": Morse frequency
| 50-2000 Hz in 50Hz steps
|---> "WPM": Morse send speed (PARIS standard)
| 5-60 WPM in 5 WPM steps
'---> "VOL": Menu volume
1-15 units.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2370
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:22 +0000 (08:12 +0000)]
Makefile: Add menu module to project
git-svn-id: https://svn.code.sf.net/p/freetel/code@2369
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:19 +0000 (08:12 +0000)]
menu: Heirachical callback-based menu system
This is an event-driven menu handler that allows arbirary depth and
event handling.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2368
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:16 +0000 (08:12 +0000)]
sm1000_leds_switches: Tweak debounce delay
git-svn-id: https://svn.code.sf.net/p/freetel/code@2367
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:13 +0000 (08:12 +0000)]
sm1000_leds_switches: Add support for toggling LEDs
git-svn-id: https://svn.code.sf.net/p/freetel/code@2366
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:10 +0000 (08:12 +0000)]
sounds: Add a "returned" sound.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2365
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:07 +0000 (08:12 +0000)]
sm1000_leds_switches: Clean up and move remainder of logic.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2364
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:04 +0000 (08:12 +0000)]
Relocate header files to inc
git-svn-id: https://svn.code.sf.net/p/freetel/code@2363
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:12:00 +0000 (08:12 +0000)]
sm1000_leds_switches: Re-locate switch debounce code.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2362
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:57 +0000 (08:11 +0000)]
sm1000_main: Allow forward-back movement of mode selection.
Beginnings of menu navigation, this implements a new switch debouncer
and allows bi-directional movement.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2361
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:54 +0000 (08:11 +0000)]
sm1000_main: Consistent indentation
git-svn-id: https://svn.code.sf.net/p/freetel/code@2360
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:51 +0000 (08:11 +0000)]
Makefile: Add sfx.c, sounds.c, morse.c, tone.c to sm1000.elf.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2359
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:49 +0000 (08:11 +0000)]
sm1000_main: Use tone generator module for TONE mode.
This replaces the old aSine array (now part of the tone module) with
calls to make a continuous tone.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2358
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:46 +0000 (08:11 +0000)]
sm1000_main: Add morse announcements.
This adds morse code announcements as you select the different modes
with the SELECT button.
There is a 1.5 second delay between the selection (acknowledged with a
beep) and the actual annoucement of that selection.
PTT cancels any announcement.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2357
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:43 +0000 (08:11 +0000)]
morse: Morse code player module.
This is a code module that can play arbitrary morse-code symbols using
the 'sfx' module to control tones. The module can be set to any
frequency and speed (the time of a "dit" in milliseconds).
At present, I support the letters and digits, no punctuation, but those
can be added, suitable tables will need to be defined for those.
git-svn-id: https://svn.code.sf.net/p/freetel/code@2356
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:40 +0000 (08:11 +0000)]
Makefile: Add .pgm target to program the SM1000
git-svn-id: https://svn.code.sf.net/p/freetel/code@2355
01035d8c-6547-0410-b346-
abe4f91aad63
sjlongland [Thu, 24 Sep 2015 08:11:37 +0000 (08:11 +0000)]
Makefile: Tweak 'clean' target to include ../src .
git-svn-id: https://svn.code.sf.net/p/freetel/code@2354
01035d8c-6547-0410-b346-
abe4f91aad63