Commit Graph
82 Commits
Author SHA1 Message Date
RistoandGitHub 97681b2f45 Bugfix in display 2021-12-12 15:43:45 +01:00
1912ec6426 Fix building with -DGVARS=NO (#1232)
* Fix building with -DGVARS=NO

* Thx @eshifri for the tip

Better solution

* Don't show GVARS tab if GVARS turned off

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-10 09:50:45 +11:00
66086e0c10 Fix minor compiler warnings (#1200)
* Fix compiler warning

Fix compiler warning about comparing signed with unsigned.

* Fix minor bug

category->size() is unsigned int, not long unsigned int

* Typo

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-02 12:06:09 +11:00
Risto 1103a3c842 Bluetooth trainer byte parsing: catch XOR state errors
In XOR state only 0x7E ^ 0x20 = 0x5E or 0x7D ^ 0x20 = 0x5D are expected.
Copy of my https://github.com/opentx/opentx/pull/8427
2021-11-27 16:26:43 +01:00
Risto 620a43a9c3 Fix building for X9E 2021-11-20 20:30:42 +01:00
RistoandGitHub 1bdb99f2bb Use build-companion-nightly-win32.sh instead 2021-11-08 22:35:00 +01:00
RistoandGitHub a9fb2bbce0 Mingw32 2021-11-08 22:34:12 +01:00
RistoandGitHub aa217abfa1 Create win-cpn-32.yml 2021-11-08 21:38:41 +01:00
RistoandGitHub a6c47a670a Minor. Export label change from OpenTX -> EdgeTX 2021-10-31 10:17:26 +01:00
RistoandGitHub 4e404391de Added -Wno-dev to CMake 2021-10-29 16:22:51 +02:00
RistoandGitHub 6e333dad31 Added back clang 2021-10-21 22:32:13 +02:00
RistoandGitHub 7d2de72a9b Created exemplary MSYS2 build script 2021-10-19 23:08:54 +02:00
RistoandGitHub 28e201bd5e Added optional --pause argument 2021-10-19 22:46:55 +02:00
RistoandGitHub 95d531479a Allow --pause argument 2021-10-19 22:44:03 +02:00
RistoandGitHub 563f4f2a44 MSYS2 build environment second stage 2021-10-19 22:33:49 +02:00
RistoandGitHub fd90ecac82 MSYS2 Stage 1 build environment setup script 2021-10-19 22:32:30 +02:00
RistoandGitHub 38bddca9f7 MSYS2 Python Build requirements 2021-10-19 21:53:07 +02:00
Risto b2d781fd32 Fixes DFU-Util "Unexpected argument" error
Tested under Ubuntu 20.04.1 with dfu-util v0.11
2021-10-02 09:30:37 +02:00
RistoandGitHub b60f7dd37c Bugfix 2021-09-29 19:00:08 +02:00
RistoandGitHub b4fe803f19 DFU-Util v0.10 -> v0.11 2021-09-29 18:59:53 +02:00
RistoandGitHub 8986d0a5dc Merge pull request #743 from EdgeTX/EX3_EX4_Bugfix
Fixes EX3 and EX4 bug caused by myself
2021-09-16 16:46:59 +02:00
RistoandGitHub 8b4a11de96 Fixes EX3 and EX4 bug caused by myself 2021-09-16 13:20:20 +02:00
RistoandGitHub 8620fe1928 Merge pull request #721 from dlktdr/trainer_channels
Slave/Jack - more channels, Bluetooth/Slave bug fix
2021-09-15 07:59:33 +02:00
RistoandGitHub 1eed24cdb6 Fix battery bar position (sign error) 2021-09-14 21:14:41 +02:00
RistoandGitHub 2e9d9357bc Version bump 2021-09-14 15:22:16 +02:00
RistoandGitHub 954eeaedc0 Merge pull request #709 from EdgeTX/FlySkyHallPlus2Analogs
Enable EX3 and EX4 on TX16S in combination with FlySky Hall Gimbal
2021-09-14 09:23:24 +02:00
RistoandGitHub 525126e155 Merge pull request #617 from EdgeTX/Horus_I2C_conf
Adds support of LSM6DS33 IMU to TX16S via AUX1 port
2021-08-24 17:05:08 +02:00
RistoandGitHub 25ce6efc70 Merge pull request #612 from EdgeTX/DebugTimeFix
Removes the constant "+00000ms:" from the debug output. Thx for testing @pfeerick !
2021-08-22 09:06:27 +02:00
RistoandGitHub af5c3ce170 Merge pull request #611 from EdgeTX/CompWarnings
Removes two compiler warnings (thx @pfeerick for testing!)
2021-08-22 09:01:46 +02:00
RistoandGitHub 092e11e0c0 Fix uninitialized variable usage compiler warning 2021-08-21 10:14:40 +02:00
RistoandGitHub cbfc14de13 Fix uint - int mismatch compiler warning 2021-08-21 10:13:41 +02:00
RistoandGitHub f9f18ceab1 Merge pull request #575 from EdgeTX/ubuntuBuildEnv
ubuntuBuildEnv
2021-08-10 14:54:44 +02:00
RistoandGitHub ac5e1ff89c .bashrc needs to be sourced by user manually 2021-08-10 11:44:10 +02:00
RistoandGitHub 0cb18b069b Added checks to detect if i386 architecture is installed 2021-08-09 14:08:54 +02:00
RistoandGitHub 868ad6a576 Removed v2.4 text in comments to be more generic. 2021-08-09 10:15:41 +02:00
RistoandGitHub 1edfe93edb Parenthesis bugfix. 2021-07-27 10:57:09 +02:00
RistoandGitHub e3b38f4bde Full simulator startup bugfix 2021-07-27 10:52:10 +02:00
RistoandGitHub cce0d7813a Merge pull request #262 from rotorman/UniformSplashBG
Matches the splash background with bootloader background
2021-07-25 13:39:06 +02:00
RistoandGitHub 0423b8d286 Stop disabling interrupts while clearing ADDR bit 2021-07-17 14:40:28 +02:00
RistoandGitHub 0cd99cf0c9 Merge pull request #320 from olliw42/owpr-modelselection2
Consistify icons for model setting, select, and category
2021-07-12 14:51:07 +02:00
RistoandGitHub 7f472ff5e8 Merge pull request #396 from rotorman/X12S_RTC
Enable VBat bridge to enable RTC coin cell sampling on X12S
2021-07-07 10:36:28 +02:00
RistoandGitHub f604fed503 Try fix X12S RTC battery sampling 2021-07-03 13:48:02 +02:00
RistoandGitHub 660a4443b9 Merge branch 'EdgeTX:2.4' into 2.4 2021-07-03 13:44:41 +02:00
RistoandGitHub 129866488d Voice timer countdown fix (#362)
* Fix mapping of 2 bit signed countdownStart value to seconds

value -2 - 5 seconds
value -1 - 10 seconds
value 0 - 20 seconds
value 1 - 30 seconds
2021-06-28 09:03:12 +02:00
RistoandGitHub 8efe5e767e RTC bridge fix (#360)
* RTC bridge fix

Merged code by @bsongis from https://github.com/opentx/opentx/pull/8577
2021-06-28 08:46:27 +02:00
RistoandGitHub 94fbcdd3f4 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-27 13:51:34 +02:00
RistoandGitHub 4bfcbf7a05 Adds support for correct Alps EC10E roller hookup (#261)
Enhanced roller update (thx to Mike Blandford https://www.rcgroups.com/forums/showpost.php?p=46929617&postcount=9974 )

* TX12 should also have ROTARY_ENCODER_GRANULARITY 2
2021-06-21 18:43:40 +02:00
RistoandGitHub 746cc66f9c Merge branch 'EdgeTX:2.4' into 2.4 2021-06-20 12:00:59 +02:00
RistoandGitHub 54cab5aff9 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-18 17:46:41 +02:00
RistoandGitHub ea73d5e711 Merge pull request #254 from EdgeTX/credits-cleanup
Finish removal of `credits.txt` by removing `companion24` depenency
2021-06-18 09:51:08 +02:00
RistoandGitHub 7e28102dab Is not for WSL/WSL2
Added comment that this script is for bare-metal or virtualized Ubuntu installations only. Does NOT run under WSL or WSL2.
2021-06-17 19:56:25 +02:00
Risto 5669770455 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-16 11:51:06 +02:00
RistoandGitHub c2623aa00e Show special functions from 1 to 64, instead of 0 to 63
To be more uniform with other elements, such as curves, global variables that start from 0.
2021-06-14 20:07:15 +02:00
RistoandGitHub 3d0fd18e52 Match color radio for the RGB565 hookup
Uses upper bits for the display of lower bits of RGB565, that are not 0 on physical radio. Matches better the color display of radio.
2021-06-13 11:17:41 +02:00
RistoandGitHub f665ce5a9d DMA2D configuration error fix (-DDEBUG_WINDOWS) (#190)
* Fixes DMA2D ConfError

* Check configuration and transfer errors

Check for DMA2D configuration and transfer errors and do not enter the otherwise endless while loop. Thx to @raphaelcoeffic for the tip.
2021-06-11 15:56:30 +02:00
RistoandGitHub d709b69a3c resolves #141 2021-06-06 18:06:17 +02:00
RistoandRaphael Coeffic d571806caa Removed AddressSanitizer for Simu
Removed AddressSanitizer for Simu to get rid of ASan error on Simu start
2021-06-05 21:25:08 +02:00
RistoandGitHub 057401fcb1 Added npm
Added npm to package list in order to build flasher
2021-06-05 17:11:12 +02:00
RistoandGitHub e9ad84e913 Changed to DFU-Util 0.10 2021-06-05 14:39:42 +02:00
RistoandGitHub c998e754d8 Changed to GNU Arm Toolchain v10 2020-q4 2021-05-29 14:03:52 +02:00
RistoandRaphael Coeffic 3a01639f5f Fixes HardFault on boardOff() with forced power supply
Fixes power-off HardFault during hw-debugging at the end of boardOff(), when power supply to MCU is forced (developer boards, w/o cutting power with pwrOff() ).
2021-05-29 13:40:05 +02:00
RistoandGitHub 564dda3412 Improved the flow 2021-05-27 22:30:56 +02:00
Ristoandrotorman 89be10e68e Transparent PNG and main menu text About changed to EdgeTX as well. 2021-05-24 20:22:25 +02:00
Ristoandrotorman ff0d5f5d75 About logo changed to EdgeTX 2021-05-24 20:01:42 +02:00
Risto 8a1e881521 Merge branch 'EdgeTX:2.4' into 2.4 2021-05-24 19:50:14 +02:00
RistoandGitHub ea616c7187 Fix -DLUA=OFF build on color radios (#21) 2021-05-15 20:20:55 +02:00
Risto 3ab4ae4537 Merge branch 'EdgeTX:2.4' into 2.4 2021-05-15 16:51:02 +02:00
RistoandGitHub a81081c35a Furter -DLUA=OFF bugfix 2021-05-15 16:49:13 +02:00
RistoandRaphael Coeffic ef727ee610 Pillow fixed to v7.2.0 2021-05-15 15:31:12 +02:00
RistoandGitHub 3b7d70cc9c Pillow fixed to v7.2.0 2021-05-15 13:18:29 +02:00
Risto 770d1d0306 Merge branch 'EdgeTX:2.4' into 2.4 2021-05-15 12:00:40 +02:00
RistoandGitHub 4e926fcdab Bluetooth.cpp array bounds fix
Eliminates accessing array out of it's bounds - below array first element in next line, where buffer[bufferIndex-13] is used. When bufferIndex would be less than 12, out of bounds memory access would occur.
2021-04-05 18:43:31 +02:00
RistoandGitHub a04b3f377a Using new TRAINER_FRAME 2021-04-05 18:19:20 +02:00
RistoandGitHub 2a6cde247d Added TRAINER_FRAME 2021-04-05 18:18:19 +02:00
RistoandGitHub 594e937e44 Making better use of BLUETOOTH_PACKET_SIZE
Using BLUETOOTH_PACKET_SIZE instead of literal in code.
2021-04-05 18:13:21 +02:00
RistoandGitHub 84f769dbe7 Fix building with TRACE_SD_CARD CMake option (#8391) 2021-04-05 13:06:24 +02:00
RistoandGitHub 1624d5b69c STM32 WordLength 9b -> 8b data + parity
Fixed comment. STM32 WordLength 9b is here necessary due to parity bit (8b data + 1b parity) and not due to 2 stop bits.
2021-03-19 18:55:47 +01:00
RistoandGitHub e0cd919c3e Minor issues of old startup_stm32f42_43xx
STM32F429/439 are Cortex M4 processors.

By comparing this file with the appropriate startup_stm32f429bitx.s file generated by the current STM32CubeIDE for STM32F429BI (as in TX16S, T16 & T18) , I can see that the present OpenTX version misses an initial stack pointer setting.

Both issues fixed herewith.
2021-03-14 13:39:15 +01:00
RistoandGitHub 7940515a48 telemetry dir pin init missed oType def
Added missing OType definition to telemetry direction pin.
2021-03-13 22:43:26 +01:00
RistoandGitHub 1a4eb0636e Minor comment fix in hal.h (#8361)
Minor comment fix in hal.h for AUX_SERIAL_PWR_GPIO_PIN port and pin.
2021-03-13 17:57:53 +01:00
Ristoandrotorman ecfa393a9b Uniform CLI stackinfo output in bytes.
Main task size currently in double words, the CoOS RTOS task stack sizes in bytes.
Available stack size output was in double words, now everything uniform in bytes also added "bytes" label to CLI output to make this clear.
2021-02-18 16:33:24 +01:00
RistoandGitHub 7eaede341a RTOS_MS_PER_TICK calculation simplification
CFG_CPU_FREQ cancels itself out in the original equation: ((CFG_CPU_FREQ / CFG_SYSTICK_FREQ) / (CFG_CPU_FREQ / 1000)) 
In addition, comment is now fixed - 1ms is used for STM32, 2ms was used for other chips:
https://github.com/opentx/opentx/blob/e94f6c0ccdc1ecd800f2ef27a28120878bc9ec41/radio/src/thirdparty/CoOS/OsConfig.h#L88-L92
2021-02-14 14:33:49 +01:00