Commit Graph
45 Commits
Author SHA1 Message Date
3djc 2ac0fc1bdd Fix #6544 2019-07-05 11:32:40 +02:00
Bertrand SongisandGitHub 18c6f6878d Bsongis/receivers ota update (#6494)
OTA update fixes
2019-06-13 17:06:25 +02:00
Bertrand Songis 3aab7b8a37 [ACCESS] Automatic detection of the module for accessPushTelemetry if module < 0 2019-06-11 17:06:09 +02:00
Bertrand Songis fdb2feb4fc Cosmetics 2019-06-06 09:06:19 +02:00
Bertrand Songis aeded5dffa Renaming "Power control chip" to "Power management unit" 2019-06-05 08:09:00 +02:00
Bertrand SongisandGitHub 8edf77286d Bsongis/power control chip (#6445)
FRSK files support added
2019-05-27 12:23:34 +02:00
3djcandAndre Bernet cd3c4ac654 Add Jumper t12 support by 3djc (#6451)
* Jumper T12 - companion part

* more work

* Add definitions

* fix libsimulator key handling

* Fix simu keys handling

* Cosmetics

* Continued

* Fix wrong regplace

* Fix wrong regplace

* Please travis

* Please travis

* Add T12 to Travis
Switch naming and display

* Cosmetics

* Work on modules

* Work on modules

* typo

* Fix navigation

* Cosmetics

* Introduce NAVIGATION_type

* Fix

* Make NAVIGATION_type more future proof

* Lots of cleanups and improvements

* Cosmetics

* Fix internal module menu

* Cosmetics

* Fix screen reversed

* Small fixes

* Fix navigation issue

* Please travis

* Fix LCD contrast

* Fix T12 switch layout

* Fix T12 keys screen and all radios keys translations

* Complete rework of SWITCHES screen for all radios

* comsetics

* VC++ compilation
2019-05-26 19:51:17 +02:00
Kilrah 690e59e093 Compilation fix 2019-05-15 22:15:41 +02:00
Bertrand Songis 2ad6683c17 As X3 is X9LITE PCBX9 should be defined 2019-05-11 18:24:40 +02:00
Bertrand Songis bf1ca19914 [OTA Update] "Waiting for RX" can be skipped with [EXIT] 2019-05-08 09:49:14 +02:00
Bertrand Songis 439b2de621 Compilation fix 2019-05-07 14:26:50 +02:00
Bertrand Songis ad9d8001b2 OTA Update added 2019-05-07 11:18:39 +02:00
Bertrand Songis 05596fec9e BootCmd should be always high 2019-05-06 11:23:51 +02:00
Bertrand Songis c28210e3e4 Rotary encoder refactoring 2019-04-30 14:55:21 +02:00
Bertrand Songis 4d43746064 Missing initialization 2019-04-30 10:58:37 +02:00
Bertrand Songis c546d49b04 Insert an SD card inside SD Manager makes the screen refresh 2019-04-28 16:24:39 +02:00
Bertrand Songis 3323b0a82f Bluetooth flash firmware continued 2019-04-25 15:08:38 +02:00
Bertrand Songis 1abf802aa7 Bluetooth flash firmware continued 2019-04-25 11:11:13 +02:00
Bertrand Songis 75c5cb1c96 Cosmetics 2019-04-24 17:41:03 +02:00
Bertrand Songis ae0781f6d7 OTA update continued 2019-04-24 17:39:59 +02:00
Bertrand Songis bae1131a1b OTA update continued 2019-04-24 17:23:28 +02:00
Bertrand Songis 1cd8c93455 OTA update continued 2019-04-24 16:11:33 +02:00
Bertrand Songis 6e8b64cea4 Rework BIND to share code with OTA update 2019-04-24 16:03:28 +02:00
Bertrand Songis da69083bce Cosmetics 2019-04-17 10:43:07 +02:00
Bertrand Songis d4b14f614c Popups can now have an handler. It could perhaps avoid another EEPROM format @3djc ? 2019-03-21 15:44:16 +01:00
Bertrand Songis 04ba9e5c68 Compilation fixes 2019-03-20 16:32:58 +01:00
Bertrand Songis 9b54d9be48 [X3] SD Manager fix 2019-03-15 19:50:33 +01:00
Bertrand Songis a4434bc5f3 Fixes. Flash an external module should work 2019-02-21 16:57:23 +01:00
Bertrand Songis 655966fba2 Flash internal module 2019-02-20 14:59:38 +01:00
Bertrand Songis eb453293f5 Fix register in Model Setup 2019-02-20 12:10:46 +01:00
Bertrand Songis fdaed515fc X3 UI fixes 2019-02-18 18:40:21 +01:00
Bertrand Songis f3bfde242b RTOS refactoring + more AVR removal 2018-08-05 12:06:48 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +02:00
Kilrah 091bf2fdf0 Hide hidden files 2018-06-17 22:07:33 +02:00
Bertrand SongisandGitHub db276cecbf S.PORT flash on all available interfaces (possibly 3) 2018-05-10 08:22:39 +02:00
Bertrand SongisandGitHub 99604dccc9 XLite support (#5806) 2018-04-25 23:07:04 +02:00
3djcandBertrand Songis 656daa75fa Fix SDcard size and format issue (#5004)
* - fix overflow in SDcard size computation
- fix format function
- implement more informative format error handling

* Move to a function
2017-06-14 23:33:31 +02:00
Arne SchwabeandBertrand Songis d609d37798 Ignore UNIX dotfiles (#4973)
* Ignore UNIX dotfiles

This has the advantage of hiding all the stupid .DS_STORE and ._foo.lua attributes files from Mac OS X

* Do not ignore ..
2017-06-02 16:37:35 +02:00
3djcandBertrand Songis 80b44444ec Fix lcdLastPos (#4487)
* Fix lcdLastPos
Introduce lcdLeftPos

* Cosmetics

* Cosmetics

* Non ARM code cleanup

* Move telem screen to midsize

* Fine tune

* Renaming
2017-03-04 10:16:45 +01:00
Damjan AdamicandBertrand Songis 7081f924de Some memory leaks and out of bounds array access fixed (#4498) 2017-02-26 12:39:26 +01:00
Damjan AdamicandBertrand Songis 82dce3ee60 Projectkk2glider/flash savings (#4199)
* Flash savings: getFileExtension() de-templated, saves 160 bytes

* Flash savings: several variables moved to rodata, RGB macro optimization (speed and can now be used to initialize rodata)

Result for Horus:
   text	   data	    bss	    dec
1261182	 808603	  42020	2111805   before
1267149	 803335	  42124	2112608   after (data size also counts .sram section)

5kB saved in .data section (RAM and FLASH)

* Removed compiler warnings

* RGB() and ARGB() gtests added

* ARGB() optimized
2017-01-05 21:44:59 +01:00
Bertrand Songis 226877ec1e [X7] SD Manager fix (when coming from Text view) - #4143 2016-12-19 23:58:25 +01:00
Max PapernoandBertrand Songis 5d5dc67605 Add runtime Lua script pre-compilation and general .luac file support (#3318) (#4119)
* [simu] simpgmspace: Populate file date/time/size  in f_stat(); Add f_utime(); Fix f_getcwd() on Windows; Fix f_mkdir() build error on Windows.

* [Lua] Add runtime support for script pre-compilation. Changes behavior with LUA_COMPILER (Re: https://github.com/opentx/opentx/issues/3318):
  All .lua scripts are now compiled and saved to binary "bytecode" file (.luac extension) upon first execution;
  Scripts are also automatically re-compiled if .lua source file is newer than existing .luac file;
  The pre-compiled .luac version is loaded if modification time is newer or equivalent to .lua source file;
  If a .luac version of a script exists, then the .lua version does not need to be present;
  Guards against bytecode compatibility issues (binaries from 64-bit sim will not run on 32-bit sim/radio);
  In SIMU and DEBUG builds, the source .lua file is always preferred in order to preserve full debug info (this is is controlled with new LUA_SCRIPT_LOAD_MODE macro, see lua_api.h);
  GC is now run after each script is loaded.

* [Lua] Add loadScript() API function as alternative to loadfile() from Lua base. This can take advantage of the new OTx script pre-compilation features to reduce memory footprint when loading functions dynamically. This is an interface to luaLoadScriptFileToState(). Fully documented.

* [SD][Lua] Flexible file extensions support:
  Allow for variable length file extensions throughout system (no longer hard-coded in LEN_FILE_EXTENSION);
  Fixes issues with renaming files in SD manager which have file extensions longer than ".ext";
  Expand general support for multiple file extensions per file type in sdListFiles() (eg. .lua and .luac for scripts);
  Lua scripts with .luac extensions can now be selected in custom/telemetry/function menus even if no .lua version exists (duplicates are not shown);
  .luac files can now also be executed from SD file manager UI.

* [Build] Added CMake options for LUA_COMPILER and LUA_SCRIPT_LOAD_MODE.

* Cosmetics.

* [SD][gui] Improve efficiency of some file name handling routines in sdmanager GUI and sdListFiles() by extending getFileExtension() function. Use shared isExtensionMatching() in place of isImageFileExtension(). Only allow executing .luac files when LUA_COMPILER defined (as per request).

* [simpgmspace] Fix f_mkdir() for MSVC build and misc. cleanup.

* [Lua] Use getFileExtension() in script loader to determine file type and check for buffer overflow.
2016-12-17 10:56:40 +01:00
Bertrand Songis 06e7e258e8 [9XR-PRO] UI Fixes 2016-11-14 22:36:04 +01:00
Bertrand SongisandGitHub bfb5e9b8a6 Bsongis/x7d fixes (#4019)
* [X7D] Various fixes

[Others]
- Fixes the Mixer / Inputs MOVE / COPY problem on X9E
- Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X
- Merges some duplicated code using the new directory structure
- Cosmetics
2016-11-13 19:06:21 +01:00