Damjan Adamic
2c591e810d
Bootloader rotary encoder working, added missing lcdRefreshWait(), only 783 bytes of FLASH left
2014-12-08 19:59:09 +01:00
Damjan Adamic
36a7d4732f
luaDoOneRunPermanentScript() param optimization, todo for luaLcdLock() removal
2014-12-08 17:51:53 +01:00
Damjan Adamic
55f0781bc9
Lua task timing done in perMain()
2014-12-07 17:23:44 +01:00
Damjan Adamic
f0cd4fbe8d
Compilation fixes (thanks to Jenkins)
2014-12-07 17:12:51 +01:00
Damjan Adamic
62f2a321f2
Refactored luaTask() based on script type
2014-12-07 17:05:16 +01:00
Damjan Adamic
6f46ef23da
Do lcdWaitDmaEnd() in perMain()
2014-12-07 10:24:27 +01:00
Damjan Adamic
f8203b72f7
perMainArm() renamed to perMain()
2014-12-07 10:12:26 +01:00
Damjan Adamic
afedd86fae
perMain() moved into main_avr.cpp and main_arm.cpp
2014-12-07 09:58:46 +01:00
Damjan Adamic
e55b7504c3
Cosmetic changes (thanks to Bertrand's review)
2014-12-07 09:41:31 +01:00
Damjan Adamic
e9f8b14f8b
Bootloader for 9XE
2014-12-06 19:16:05 +01:00
Damjan Adamic
8854ccd231
Companion fix
2014-12-06 18:35:39 +01:00
Damjan Adamic
f2ed441916
LCD_DUAL_BUFFER optional (speed vs RAM)
2014-12-06 18:19:32 +01:00
Damjan Adamic
e4de0da0bb
Fixed Companion build
2014-12-06 15:55:07 +01:00
Damjan Adamic
8aeb35c912
Refactoring continued: Try to run lua scripts before the first LCD function
2014-12-06 15:36:10 +01:00
Damjan Adamic
fac8571c29
Refactoring of perMainArm(), hw specific stuff moved to targets
2014-12-06 13:13:51 +01:00
Damjan Adamic
5c8e8ebbe5
Separated perMain() for ARM and other platforms
2014-12-06 12:44:30 +01:00
Damjan Adamic
5566439e76
Fixed simu build
2014-12-04 22:17:06 +01:00
Damjan Adamic
271dae71f7
Try to keep perMain() execution period of 20ms
2014-12-04 21:23:09 +01:00
Damjan Adamic
0d1362e476
Dual-buffer for LCD
2014-12-04 21:11:27 +01:00
Damjan Adamic
e32da2ba4a
No more waiting in lcdRefresh() for SPI transfer to finish
2014-12-04 20:13:42 +01:00
Damjan Adamic
1b4834b547
Another simu build failure (thanks to Jenkins)
2014-12-03 22:28:10 +01:00
Damjan Adamic
c10ff3880b
Simu build failure (thanks to Jenkins)
2014-12-03 22:11:28 +01:00
Damjan Adamic
a539add020
Re #1875 and #1849 : implemented LCD initialization for low temperatures. Initialization skipped in case of watchdog reset or boot-loader exit.
2014-12-03 21:14:07 +01:00
Damjan Adamic
de43ce71df
Re #1881 : notice displayed while saving model at radio shutdown
2014-12-01 19:31:25 +01:00
Damjan Adamic
7717348bf5
Fixed missing mutex unlock in FatFs f_close() and f_closedir()
2014-12-01 19:11:38 +01:00
Damjan Adamic
382e5a0eef
Missing stuff
2014-11-30 19:56:33 +01:00
Damjan Adamic
9980d11740
Rotary encoder emulates PLUS and MINUS keys
2014-11-30 19:46:44 +01:00
Damjan Adamic
b64d200c94
Back-light PWM frequency changed from 100 to 500Hz (LCD was flickering at lower light levels)
2014-11-29 19:21:40 +01:00
Damjan Adamic
3eac23dc39
Fixes #1874 : Wrong clock configuration for CoOS on Taranis
2014-11-26 17:33:27 +01:00
Damjan Adamic
35eb25d46e
Conditon was always true
2014-11-16 20:12:58 +01:00
Damjan Adamic
ede1f7ff6f
Fixed bmpLoad():
...
* added gtests
* fixed various memory leaks
* fixed wrong display of images with width < 8
* fixed wrong display of images with odd width and/or height
2014-11-16 19:56:04 +01:00
Damjan Adamic
3449118e07
Enabled more complier warnings and removed one for Taranis. Other targets still have some warnings.
2014-11-16 19:51:49 +01:00
Damjan Adamic
b22e52ae6f
Solution for Windows Companion compile problem (lua_exports)
2014-11-09 21:29:00 +01:00
Damjan Adamic
89a855380d
Fixes #1839 : Companion simulator Lua crash on Mac
2014-11-09 10:39:48 +01:00
Damjan Adamic and bsongis
8a80463476
Re #1783 : NOT curves removed from inputs (for non ARM platforms)
2014-11-08 11:24:51 +01:00
Damjan Adamic and bsongis
525d956935
Re #1783 : NOT curves exported incorrectly (for non ARM platforms)
2014-11-08 11:24:51 +01:00
Damjan Adamic and bsongis
1c053a7d0b
Re #1783 : Companion shows too many curve types in input/mixer for 9x
2014-11-08 11:24:51 +01:00
Damjan Adamic
fdeb15253d
This enables build of Companion on OS X
...
Remove the check for arm-gcc version when doing Companion build
2014-11-08 10:16:58 +01:00
Damjan Adamic
1d72831364
Fixes #1811 : Companion 2.0.12 Gvar import error (for limits)
2014-11-03 20:02:24 +01:00
Damjan Adamic
24e97a78af
Fixes #1731 : Joystick calibration crash after channel assignment
...
also additional fixes to stick postion mapping
2014-11-02 18:54:03 +01:00
Damjan Adamic
5dc38fffe3
Fixes #1815 : Stick icons missing next to trim key states on switch diag page
2014-11-02 13:35:31 +01:00
Damjan Adamic
5680c8e580
Fixes #1737 : virtual inputs not selectable in SF Volume and heli Collective Source
2014-11-02 12:58:43 +01:00
Damjan Adamic
22c7ec6a39
Fixes #1818 : added Lua model.resetTimer() function
2014-11-02 09:31:31 +01:00
Damjan Adamic
c89381bae5
Fixes #1791 : Port Lua Bin Allocator to next:
...
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
2014-10-26 09:14:45 +01:00
Damjan Adamic
e34ce57a3f
Missing screenshots for previous commit
2014-10-25 20:07:26 +02:00
Damjan Adamic
f53df98f70
Fixed buffer overflow in lcd_hlineStip()
2014-10-25 19:58:59 +02:00
Damjan Adamic
d5eed897fd
Fixed buffer overflow in bmp_load()
2014-10-25 19:35:52 +02:00
Damjan Adamic
ce303b2f4a
Bug in numbering of Lua multiple fields (only in generated documentation file, all numbers were too small by 1)
2014-10-16 18:27:28 +02:00
Damjan Adamic
6839c02aba
Fixes for simu
2014-10-15 20:04:06 +02:00
Damjan Adamic and bsongis
874156122d
Re #1610 :
...
* sport.log only active if SPORT_FILE_LOG=YES
* audio concurrent access fixes
* added IO mutex
* added Event Trace Buffer
* fixed SD card error
Conflicts:
radio/src/Makefile
radio/src/targets/taranis/diskio.cpp
2014-10-14 22:43:05 +02:00
Damjan Adamic
f8e6fd7b2d
Fixes #1755 (on next branch): LUA get/setTimer(): inconsistent timer struct
2014-10-05 14:54:29 +02:00
Damjan Adamic
be20e91314
Re #1696 : fixed incorrect display of "<" and ">" characters
2014-09-27 19:44:49 +02:00
Damjan Adamic
2fb2590579
Fixes #1657 :
...
* corrected varioLimitCenterMin range
* removed varioLimitMinOff checkbox (it is not used anymore in any radio)
2014-09-27 19:00:26 +02:00
Damjan Adamic
80eb34cea2
Fixes #1714 : getting radio setting of imperial or metric in lua
2014-09-20 11:33:48 +02:00
Damjan Adamic
7497be4d28
Fixes #1649 : added getDateTime() in lua which returns current date and time
2014-09-20 11:23:33 +02:00
Damjan Adamic
df56b94135
Fixes #1666 : fixed bootloader
2014-09-03 23:37:05 +02:00
Damjan Adamic
3dcf40b596
Fixes #1666 : Missing constructor calls for static objects
2014-09-03 23:05:34 +02:00
Damjan Adamic
e506a001bf
const language packs (can't be const in simu (linker can't find it))
2014-09-02 10:18:17 +02:00
Damjan Adamic
13a1c5ca39
const APBAHBPrescTable
...
const splash_lbm
removed fnSwitchDuration
2014-09-02 10:14:26 +02:00
Damjan Adamic
aa4ba74e1a
added const (Audio)
2014-09-02 10:12:40 +02:00
Damjan Adamic
a3d9ec8a65
added const (USB)
2014-09-02 10:07:22 +02:00
Damjan Adamic
4971820f40
Re #1547 : commit 5949be30fa disabled delay for STICKY (which was wrong) now disabled for EDGE
2014-08-25 10:51:27 +02:00
Damjan Adamic
98e352b8e3
Fixes #1622 : Lua function script not called for SF >= 8
2014-08-23 18:29:38 +02:00
Damjan Adamic
1e3f3fe029
limit.name was missing from 07fe45ec5f
2014-08-23 18:11:22 +02:00
Damjan Adamic
69aef74036
Fixes #1626 : forgot Companion part (thanks Jenkins)
2014-08-23 17:27:16 +02:00
Damjan Adamic
8d49b1076b
Fixes #1626 : Enable the Lua bit32 library
2014-08-23 17:14:06 +02:00
Damjan Adamic
b5c63e339f
Added generation of Lua fields documentation file: lua_fields.txt
2014-08-21 10:00:40 +02:00
Damjan Adamic
d77de08a68
gtests corrections: Timer3 addition changed source values
2014-08-16 18:03:07 +02:00
Damjan Adamic
3152ac1121
Fixes #1532 : added Lua playTone()
2014-08-09 20:24:21 +02:00
Damjan Adamic
c813cacb1b
(reverted from commit fd3790519a) newlib-nano on my comp has a malloc/free bug, memory gets used but not freed
2014-08-09 20:19:01 +02:00
Damjan Adamic
e13f2913df
Fixes #1540 : added Lua playDuration()
2014-08-09 18:04:48 +02:00
Damjan Adamic
07728782c8
Fixes #1538 : Lua playFile(): current language sound path added to the file name in case of a relative path
2014-08-09 17:37:04 +02:00
Damjan Adamic
fd3790519a
new compile option NANO=YES triggers usage of newlib-nano when linking ARM code.
2014-08-09 17:05:17 +02:00
Damjan Adamic
ee2a23c19d
Optimization: less gettime() calls
2014-08-08 20:35:27 +02:00
Damjan Adamic
43598fb6df
Optimization: removed usage of gettime() where possible
2014-08-08 20:33:35 +02:00
Damjan Adamic
f123b69521
Fixes #1548 : bad Swedish Cell translation
2014-08-05 20:35:16 +02:00
Damjan Adamic
8bd2c120d6
Re #1567 : cleanup
2014-08-03 19:27:02 +02:00
Damjan Adamic
741ef45f3e
Re #1567 :
...
introduced generateProcessUniqueTempFileName() which is used everywhere we need temporary file
renamed unlink() into qunlink()
fixed missing deletion of curve pngs in print dialog
2014-08-03 19:21:46 +02:00
Damjan Adamic
4103adf75d
Re #1567 : introduced unlink() function that takes QString parameter
2014-08-03 18:03:13 +02:00
Damjan Adamic
c0e612531d
Re #1567 : writeBackup(): added PID to temporary file name
2014-08-03 17:38:24 +02:00
Damjan Adamic
55cb5dce87
Re #1567 : readEeprom():
...
* added PID to temporary file name
* better error message
* temporary file deletion
2014-08-03 17:38:24 +02:00
Damjan Adamic
50acd1fd92
Expanded non regression tests for #1569
2014-07-31 20:23:11 +02:00
Damjan Adamic
50997721e2
Using anas instead for getValue
2014-07-31 15:57:50 +02:00
Damjan Adamic
828372ab29
Fix for the case of extended trims
...
Code cleanup
2014-07-31 15:47:32 +02:00
Damjan Adamic
21ae270c0e
Fixes #1569
2014-07-31 15:08:37 +02:00
Damjan Adamic
2712ffabb0
Re #1486 : gtest improvements in Lua section
2014-07-22 11:39:36 +02:00
Damjan Adamic
2d5d1cb357
Re #1480 : couple corrections of field names
2014-07-21 12:04:08 +02:00
Damjan Adamic
2a5364dc8c
Re #1480 : wrong field.id for multiple fields
2014-07-21 11:51:30 +02:00
Damjan Adamic
7f3778fc3c
Re #1480 : units updated
2014-07-18 10:41:16 +02:00
Damjan Adamic
0a9dcc5ce6
Re #1480 : added TELEM_MAX_ASPEED conversion in luaGetValueAndPush()
2014-07-18 10:41:16 +02:00
Damjan Adamic
2f01f139cc
Re #1480 : Cosmetics
2014-07-18 09:07:36 +02:00
Damjan Adamic
fb3e615008
Fixes #1480 : How to handle the increasing number of Lua constants
2014-07-18 08:59:38 +02:00
Damjan Adamic
83e47d9e35
Typo in german translation for "Änderungen"
2014-07-16 10:37:20 +02:00
Damjan Adamic
f0c76efaf7
Re #1506 - FAS offest was limited to +-1.5A in Companion, now +-12A (same as radio)
2014-07-16 09:30:44 +02:00
Damjan Adamic
4ae9585080
Re #1510 - Added switches warning, better protocol warnings and limited display to max 10 warnings
2014-07-14 20:11:21 +02:00
Damjan Adamic
161016a02a
Bad string "Write Backup from file to to Radio" fixed
2014-07-14 19:16:53 +02:00
Damjan Adamic
559bb83864
Re #1510 - This might be a better warning message
2014-07-14 19:13:39 +02:00
Damjan Adamic
cc934c3ac0
Gtest updated according to 28c900e3f7 hack
2014-07-13 15:44:00 +02:00
Damjan Adamic
c1d789d004
Fixes #1494
2014-07-13 15:41:18 +02:00
Damjan Adamic
b41ba50b53
Removed raw member that was introduced in commit 3f39352d95. Its role now plays last member of values[] array. Same RAM usage, reduced FLASH usage.
2014-07-13 14:44:42 +02:00