1
0
forked from me/IronOS
Commit Graph

829 Commits

Author SHA1 Message Date
Ben V. Brown
7cdf884eea Merge pull request #700 from augustozanellato/patch-1
Fix BadTipString in Italian translation
2020-10-11 19:58:20 +11:00
Ben V. Brown
301f03acd0 Merge pull request #697 from paulfertser/poc-limit-power
Limit maximum power more efficiently using dual speed PWM
2020-10-11 19:51:28 +11:00
Ben V. Brown
923989bf16 Merge pull request #703 from DusanF/master
Slovak translation
2020-10-11 10:51:41 +11:00
DusanF
b18bea4d5e Added 2 missing characters 2020-10-10 11:31:50 +02:00
DusanF
471cd565b5 Updated slovak translation 2020-10-10 11:29:38 +02:00
Paul Fertser
30be5e0de4 Introduce PWM freq switching so that power could be averaged on shorter intervals
With this a TS-I tip is usable with a small netbook 19 V / 30 W PSU with
power limit set to 40 W (38.9 W is reported during the heating up
stage). Without this the device just reboots on attempt to turn on the
heater (unless the power limit is set to 10 or even 5 W).

This code doesn't affect maximum power available and allows up to 73 W
when a beefy 24 V / 96 W PSU is used.

Should be useful for all models, not just TS100.

The fixed comments are based on calculations, not measurements!

Fixes #693.
2020-09-29 19:02:55 +03:00
Augusto Zanellato
5b3bdf1939 Fix BadTipString in Italian translation 2020-09-25 22:18:16 +02:00
Ben V. Brown
aa7a035050 Merge pull request #699 from Firebie/issue696
Delay accelerometer for 2 seconds - fix for #696
2020-09-15 22:26:48 +10:00
firebie
9edb7d4714 Delay accelerometer for 2 seconds - fix for #696 2020-09-15 15:04:38 +03:00
Ben V. Brown
7e2c888df1 Merge pull request #695 from federicodilo/patch-1
Small adjustments in IT_translation
2020-09-08 07:55:50 +10:00
federicodilo
c6a37d67af Small adjustments 2020-09-07 23:50:20 +02:00
Ben V. Brown
d75f361c4e Version bump v2.12-beta 2020-09-06 17:55:51 +10:00
Ben V. Brown
e3e839f960 Merge pull request #692 from Ralim/cleanup_menu
Cleanup menu
2020-09-06 17:17:51 +10:00
Ben V. Brown
d50a733250 Cull single line menu options from json languages 2020-09-06 16:44:31 +10:00
Ben V. Brown
aa78ca2594 Dropping single line menu support 2020-09-06 16:44:19 +10:00
Ben V. Brown
c7bde079cd Update Settings.h 2020-09-06 16:11:53 +10:00
Ben V. Brown
99ba13525a Collapse Boost temp enable into setting
Work for #642
2020-09-06 16:04:41 +10:00
Ben V. Brown
feec35be7a Collapse power limiter into one menu option
Work for #642
2020-09-06 15:31:23 +10:00
Ben V. Brown
5459d437e4 Merge pull request #661 from paulfertser/last-value-pause
Add a pause for the last value in settings menus
2020-09-06 14:24:53 +10:00
Ben V. Brown
4925e074ca Merge pull request #691 from Ralim/docs
Remove old codeship + docs updates
2020-09-06 14:14:49 +10:00
Ben V. Brown
30c470cbf1 Remove old codeship + docs updates 2020-09-06 14:00:35 +10:00
Ben V. Brown
f5bc1e15b5 CI performance (#690)
More CI performance increase

* Runs all builds in parallel
* Avoids using the extra docker container in CI
2020-09-06 13:28:24 +10:00
Ben V. Brown
04b4f2a3ed Merge pull request #689 from Ralim/ci-tweak
Move artefact outputs to be done per model
2020-09-06 11:25:52 +10:00
Ben V. Brown
8a4b0af44d Testing 2020-09-06 11:10:06 +10:00
Ben V. Brown
aa51c62bdf Merge pull request #686 from Ralim/looking_at_i2c
Fixing up a load bearing bug in the i2c setup (and fixing up some PD logic for free)
2020-09-06 11:05:39 +10:00
Ben V. Brown
ed0675a549 Merge branch 'master' into looking_at_i2c 2020-09-06 10:40:29 +10:00
Ben V. Brown
a1bd53f85a Merge pull request #687 from paulfertser/lto-build-improvements
Fix FTBFS due to LTO being more sensitive to file order
2020-09-06 10:40:16 +10:00
Paul Fertser
e6e0a0f280 Makefile: remove -ffat-lto-objects
"Fat" LTO objects are only needed if future linking _without_ LTO is
planned. Not using this option gives about 1.5x building time advantage
without affecting the final binary.

An unused variable is removed along the way.
2020-09-05 18:48:36 +03:00
Paul Fertser
d37f8def88 Fix FTBFS due to LTO being more sensitive to file order
When a symbol is used from inline assembly, LTO compiling and linking
process becomes more picky with regard to the order of compile/linking
units.

Specifically, when FreeRTOS/Source/portable/GCC/ARM_CM3/port.c comes
before FreeRTOS/Source/tasks.c in find results, the build fails with
undefined reference to `pxCurrentTCB' error.

To workaround the issue, do the same as we already have for
vTaskSwitchContext.

Note: different order affects resulting binary (.text section) size:
39924 with the wrong order and 39884 with the correct.

Fixes #685.
2020-09-05 18:45:40 +03:00
Ben V. Brown
023e176c87 Update int_n.cpp 2020-09-05 20:29:57 +10:00
Ben V. Brown
8bacbe49fc Bring back PD 3.0 2020-09-05 20:26:07 +10:00
Ben V. Brown
12cf202338 Remove reset handler 2020-09-05 20:19:12 +10:00
Ben V. Brown
11e583be63 Fix interrupt race 2020-09-05 20:19:03 +10:00
Ben V. Brown
d48b27928a Move I2C initalisations into more logical spots 2020-09-05 20:10:10 +10:00
Ben V. Brown
d9c05db058 I2C wrapper cleanup 2020-09-05 20:04:07 +10:00
Ben V. Brown
372f8e3565 Update Dockerfile v2.11 2020-08-29 14:39:46 +10:00
Ben V. Brown
3d3799d414 Prepare v2.11 release 2020-08-29 14:38:56 +10:00
Paul Fertser
a2a23b575f Pause for the last value in settings menus and blink the scroll thumb
This radically slows down auto-incrementing (when the change button is
kept pressed) of values when user reaches the maximum (last) allowed
option. The scrollbar thumb is blinking to indicate to the user that the
next keypress will wraparound (unless this value was already active
prior to entering menu).

Fixes #536.
2020-08-28 13:13:42 +03:00
Paul Fertser
1d63a3d7bc Fix temp change long step MAX value
There is no space on the screen to output 3 digits, and the
corresponding display function assumes the value is less than 100.
2020-08-28 13:13:41 +03:00
Paul Fertser
a64186d9a4 Fix key autorepeat timing
This constant is in scheduler ticks so needs to be changed accordingly
to keep the old timing.

Fixes: e2c5e51fe1
2020-08-28 13:13:41 +03:00
Ben V. Brown
11f3eadfc9 Merge pull request #655 from paulfertser/temp-rfc-patches
RFC patches
2020-08-27 11:06:03 +10:00
Paul Fertser
b331032f30 Makefile: remove duplicated code generation options from LINKER_FLAGS
LINKER_FLAGS already includes CPUFLAGS via CXXFLAGS (and that's the
right way to have the correct options defined at a single place).
2020-08-26 15:07:28 +03:00
Paul Fertser
25aee6b661 Move I2CSemaphore creation outside postRToSInit
The code assumes that whenever scheduler is running I2CSemaphore is
available. Initialising it in a task might lead to race conditions and
is also not happening at all if the task is disabled (for debugging or
due to lack of need for a particular usecase).

The race condition can't happen with the current code though, as GUI
task has lower priority than the MOV task, and they're the only tasks
that currently use I2C. However, this might change in the future with
the code refactoring or introduction of new features.
2020-08-26 15:07:13 +03:00
Paul Fertser
c1dd88ba53 Allow SWD debugging when built with swd_enable=1 2020-08-26 11:54:29 +03:00
Paul Fertser
780f1f35ca Make flash and bootloader sizes configurable
This patch makes allocating special pages automatic and flexible,
allowing flash size and application start offset specification with
linker command line arguments. It should allow easier porting to
different targets and experimentation without adding code complexity.

Many original STM32F103x8 chips have fully functional 128 kiB flash and
so this additional space might come useful for experimentation,
additional optional features etc. Tested on v2.51A board, including
writing and verifying 128 kiB of random data.

Make variables are added to control that, so to build for the full
undocumented flash size and dapboot configured to start the app from 8
kiB offset one can run:

make flash_size=128k bootldr_size=0x2000
2020-08-26 11:53:47 +03:00
Paul Fertser
76099406ef Update FreeRTOS port-specific files to V10.3.1
This updates Cortex-M3 port files to version found in
V10.3.1-kernel-only tag of FreeRTOS-Kernel.

The new upstream release includes memory barriers which are essential
for use with modern optimising compilers. Without those firmware
certainly breaks with -O3 -flto and might be also broken with other
optimisation configurations.

Fixes: d59ec10c4e ("Update FreeRTOS to v10.3.1")
2020-08-26 11:52:05 +03:00
Ben V. Brown
e66fe461d2 Merge pull request #680 from dimitroffs/better-bg-translate
Better Bulgarian language translations
2020-08-20 07:53:18 +10:00
Dimitar Dimitrov
5d358feee9 Small changes after detailed view on a display 2020-08-19 18:18:58 +03:00
Ben V. Brown
09ff363ae5 Update README.md 2020-08-19 15:09:55 +10:00
Dimitar Dimitrov
e92a81c229 Better Bulgarian language translations 2020-08-17 16:42:27 +03:00