Commit graph

328 commits

Author SHA1 Message Date
Daniel Drizhuk
0e50ec19ce I2S ws2812 color profiles 2021-05-05 10:47:24 +03:00
Michael Killough
acfd46aa60 Fix full on/off in pca9685.
It's currently not possible to toggle between full off and full on, as
switching to full on leaves the full off control bit set. The full off
control bit takes precedence according to the datasheet, which means the
signal remains off.

The 'normal' branch does correctly clear full off/full on, as it writes
0s to the `LEDn_ON` registers unconditionally and writes 0 to the control
bit in `LEDn_OFF`.
2020-08-16 12:28:42 +01:00
Ruslan V. Uss
48e4132996
Merge pull request #747 from 0x0aa/fix-ssd1306-roboto-fonts
fix ssd1306 roboto fonts
2020-06-19 16:47:44 +05:00
Ruslan V. Uss
887143a14e
Merge pull request #748 from 0x0aa/optimize-ssd1306-fill-rectangle
optimize ssd1306_fill_rectangle
2020-06-19 16:47:08 +05:00
Ruslan V. Uss
76f3181891
Merge pull request #749 from 0x0aa/optimize-ssd1306-draw-vline
optimize ssd1306_draw_vline
2020-06-19 16:47:00 +05:00
Ruslan V. Uss
37449fabd9
Merge pull request #755 from colesnicov/master
Support for TTF font
2020-06-19 16:46:40 +05:00
Denis Colesnicov
6c993f96fb Support for TTF font 2020-06-18 11:48:20 +02:00
Basti (EliteBook)
b9879e1a98 Fix typo 2020-06-04 09:29:51 +02:00
Olli Asikainen
15d224e417 optimize ssd1306_draw_vline 2020-04-24 16:33:36 +03:00
Olli Asikainen
cc24111c05 optimize ssd1306_fill_rectangle 2020-04-24 16:31:05 +03:00
Olli Asikainen
4b2ca1d0b9 fix ssd1306 roboto fonts 2020-04-24 16:27:11 +03:00
Ernest Toth
dbef6a2c93 Added support for OLED with size 64x48 2020-02-04 19:08:26 +00:00
Ruslan V. Uss
53fa634908
Merge pull request #725 from UncleRus/Itead_si7021
Support for Itead Si7021
2019-07-24 14:39:07 +05:00
UncleRus
92fc3e8bcb Support for Itead Si7021 2019-07-22 02:21:27 +05:00
Júnio Teixeira
d02b40dce8 Http download issue when connection lost (#723)
* Fix bug when read returns -1

When the socket down the "read" function returns -1.
Then the while(read_byte > 0) only works for signed types.

* Remove printf debug line
2019-06-23 08:22:59 +02:00
Our Air Quality
5ab0d05768 tsoftuart: add a softare timer base UART driver, and example. 2019-04-11 23:15:44 +10:00
Our Air Quality
05da9151ee mactimer: add mactimer_disarm to remove a pending timer. 2019-04-11 22:10:41 +10:00
Our Air Quality
b4e9ceabd5 mactimer: add MAC NMI timer support.
Support for using the MAC timer, a NMI with a higher priority than the
maskable interrupts, but with similar practical limitations to the MAC layer
handler.
2019-04-09 21:07:02 +10:00
Ruslan V. Uss
a487762b2a
Merge pull request #708 from ourairquality/fix-const-loss
Fix compiler warnings over const losses.
2019-04-07 17:07:38 +05:00
Ruslan V. Uss
92baec5cfa
Merge pull request #709 from ourairquality/onewire-signed-var
onewire: fix some variable declarations that should have been signed.
2019-04-07 17:06:56 +05:00
Our Air Quality
71b6354cd0 tsl2561: fix a variable declaration the should have been signed. 2019-04-06 12:08:40 +11:00
Our Air Quality
c2267a1d55 onewire: fix some variable declarations that should have been signed. 2019-04-06 11:59:45 +11:00
Our Air Quality
2d9c701c37 Fix compiler warnings over const losses. 2019-04-06 11:39:29 +11:00
Radoslaw Olko
b6b0e5da13 added lease time option to dhcpserver's DHCPOFFER 2019-01-16 22:55:37 +01:00
Ruslan V. Uss
253ac0790a
Merge pull request #667 from UncleRus/sdio_cmd25_fix
CMD25 workaround for SDIO, fix #666
2018-10-17 14:15:48 +05:00
Korn
b5b05286e9
Add ADS1015 support to ads111x lib. 2018-08-22 19:04:18 +03:00
UncleRus
e104409d52 CMD25 workaround for SDIO 2018-08-02 19:05:42 +05:00
Johan Kanflo
b80a00065b Really added missing include 2018-06-30 20:50:57 +02:00
Johan Kanflo
81fb2d4cae Added missing include 2018-06-30 20:32:11 +02:00
Ruslan V. Uss
f89ba44f6e
Merge pull request #646 from ourairquality/wificfg-hostname
wificfg: default the hostname in all modes.
2018-06-17 12:40:30 +05:00
Ruslan V. Uss
88ff263f92
Merge pull request #585 from ourairquality/mbedtls-0318
mbedtls: update and integrate upstream fixes.
2018-06-17 12:32:14 +05:00
Ruslan V. Uss
e3a7ee66cd
Merge pull request #629 from ourairquality/uart-rx-rewrite
stdin_uart: rewrite to use a FreeRTOS queue.
2018-06-17 12:20:16 +05:00
Ruslan V. Uss
6db65e8a7a
Merge pull request #642 from ourairquality/i2c-clock-stretch-slow
i2c: increase the default clock strech timeout to 250msec.
2018-06-17 12:16:24 +05:00
Ruslan V. Uss
56f7fd2229
Merge pull request #645 from ourairquality/wificfg-shutdown-hooks
wificfg: add shutdown hooks, and add support to wait until connected.
2018-06-17 12:04:16 +05:00
Our Air Quality
024fbd0cf2 wificfg: default the hostname in all modes.
A hostname is also useful in AP mode, so also default it in AP mode -
it was previously only defaulted in station mode.

Correct the host redirection logic, to work when no hostname is defined.
2018-06-17 16:30:24 +10:00
Our Air Quality
5fb2e94fed wificfg: add shutdown hooks, and add support to wait until connected.
Remove the wificfg_got_sta_connect() function and replace it with
wificfg_wait_until_sta_connected(). This replaces a probe function with a wait
function, and this better fits the wifi layer using an event model - the wait
function can wait on a station connection event before returning.

The shutdown hooks are call when the wificfg restart function is used. It can
be used to implement a cleaner restart, for example blocking further i2c and
flash operations.
2018-06-17 16:11:08 +10:00
Our Air Quality
c8c7f97290 i2c: increase the default clock strech timeout to 250msec.
This also redefines the timeout in FreeRTOS clock ticks, and implements a two
stage wait: firstly spinning sampling frequently, and then falling back to a
longer wait while sampling less frequently and yielding.
2018-06-15 08:28:47 +10:00
Joost Nieuwenhuijse
fdd3b6e20c Turn off mdnsresponder debugging by default
Currently mdnsresponder outputs debug info by default. Make this
optional by defining:

#define MDNS_RESPONDER_DEBUGGING=1
2018-06-08 22:09:15 +02:00
Our Air Quality
b4271792b9 i2c: include stdio.h for debugging. 2018-06-08 19:21:21 +10:00
Alex Demenchuk
c3b7a01891 Add SPI3 SUPPORT preprocessor macro to CFLAGS 2018-06-05 16:17:26 -04:00
Our Air Quality
6be0b6b20e stdin_uart: rewrite to use a FreeRTOS queue.
Rewrite to have the IRQ handler read the character and place it in a
FreeRTOS queue.
2018-05-31 14:14:50 +10:00
Ruslan V. Uss
93d43d7825
Merge pull request #622 from ourairquality/uart-nonblock-vtime
stdin_uart_interrupt: add support for nonblock and a timeout.
2018-05-20 02:48:30 +05:00
Zaltora
4dc7d825bc Initial HW PWM (Delta-Sigma) (#609) 2018-05-20 02:47:29 +05:00
Our Air Quality
efff445a03 stdin_uart_interrupt: add support for nonblock and a timeout. 2018-05-05 13:00:06 +10:00
Robert Fancsik
3b5510dce1 Fix SDIO send_command
This patch fixes the problem, while receiving R1b type of response from the card.
In case of R1b response the continuous stream that the card sends must be checked whether the signal indicates busy status and wait until a non zero response.
2018-04-20 19:59:59 +02:00
Robert Fancsik
b43c3cee2d Fix for sdio_write_sectors
The issue was found by using f_mkdir("directory_name").
The function always returned FR_DISK_ERR due to an unhadled case in sdio_write_sectors().
According to this documentation: http://www.convict.lu/pdf/ProdManualSDCardv1.9.pdf#page=92 stop transmission command should be sent after writing multiple blocks.
This patch fixes this bug also adds a test case for it.
2018-04-16 12:11:05 +02:00
Our Air Quality
9277bea8c9 mbedtls: update and integrate upstream fixes. 2018-04-03 15:30:25 +10:00
Zaltora
6dde352842 prevent multiple initialization memory allocation and inform user if allocation was fail 2018-03-27 10:56:46 +02:00
Ruslan V. Uss
a89417e26e
Merge pull request #582 from espway/i2c-timing-calculation
i2c: revise timing calculation
2018-03-13 18:35:41 +05:00
Maxim Kulkin
7707f4f905 extras/dhcpserver - Fix memory leak on stop 2018-03-11 22:56:10 -07:00