King Kévin
0774eaa7b2
USB: minor, improve shutdown
2019-12-21 19:34:11 +01:00
King Kévin
c8abc4ea70
printf: minor, fix doc
2019-12-21 19:34:11 +01:00
King Kévin
fd21fbcc95
Rakefile: erase flash before flashing bootlaoder
2019-12-21 19:34:11 +01:00
King Kévin
9f70665fbc
i2c_master: minor, revert test change
2019-12-12 21:35:10 +01:00
King Kévin
a751b95352
lcd_hd44780: add I2C backpack support
2019-12-12 21:31:51 +01:00
King Kévin
e087ff744d
i2c_master: fix line check
2019-12-12 21:31:51 +01:00
King Kévin
4588165370
usb_dfu: add serial to USB strings
2019-12-12 21:31:51 +01:00
King Kévin
b899b4b26e
usb_cdcacm: minor, update doc
2019-12-12 21:31:51 +01:00
King Kévin
b0700538e3
usb_cdcacm: add serial in USB strings
2019-12-12 21:31:51 +01:00
King Kévin
dd9f10c406
oled_ssd1306: fix doc and comments
2019-12-12 21:30:12 +01:00
King Kévin
de66829811
i2c_master: minor, fix doc
2019-12-12 21:30:12 +01:00
King Kévin
aabad269c4
oled_ssd1306: minor, update copyright
2019-12-12 21:30:12 +01:00
King Kévin
5bb15a2519
oled_ssd1306: I2C slave address is now a variable instead of constant
2019-12-12 21:30:12 +01:00
King Kévin
0f8b9e34b0
oled_ssd1306: minor, put spaces around comparators
2019-12-12 21:30:12 +01:00
King Kévin
05b5167d0d
Makefile show better memory usage
2019-12-12 21:28:59 +01:00
King Kévin
f4a000b4e6
Rakefile: rename STLINKV2_ALU to STLINKV2
2019-09-19 11:59:02 +02:00
King Kévin
a46d35e6bd
ir_nikon: add library to receive IR code or Nikon shutter remote
2019-08-13 21:47:49 +02:00
King Kévin
18a237d726
application (minor): fix string and spacing
2019-07-29 18:33:05 +02:00
King Kévin
99a039c3c8
application (minor): improve main loop interactiveness
2019-06-18 17:45:53 +02:00
King Kévin
64736947e9
application (minor): improve spacing
2019-06-18 17:44:50 +02:00
King Kévin
931f0e3cbb
application: add option RTC with date time function command
2019-06-18 17:43:43 +02:00
King Kévin
1133e6a296
HD44780: switch output from push pull to open drain
2019-06-18 16:20:24 +02:00
King Kévin
babc3a5789
HD44780: add library to communication with Hitachi HD44780 LCD display controller
2019-06-18 13:53:14 +02:00
King Kévin
9d7903ab79
AS3935: add library to communicate with ams AS3935 lightning sensor over SPI
2019-06-18 13:51:55 +02:00
King Kévin
67baf340fe
global: add GPIO port and pin utilities
2019-06-18 13:46:57 +02:00
King Kévin
51d4d931ac
UART: switch to faster default baud rate 921600 bps
2019-06-12 15:12:02 +02:00
King Kévin
59ef4652c0
bootloader: fix compiler warning
2019-06-12 15:11:10 +02:00
King Kévin
77ea70aa3a
terminal: fix signed overflow warning
2019-06-12 15:05:37 +02:00
King Kévin
204458145e
terminal (minor): add spaces around operatot for more readability
2019-06-12 14:56:28 +02:00
King Kévin
7b0af9afe0
improve sleep_us for low values
2019-04-28 12:28:46 +02:00
King Kévin
252363cf02
global: make sleep immediately return on 0 duration
2019-04-02 19:52:41 +02:00
King Kévin
9220dbeb50
global (minor): add spaces around operators for readability
2019-04-02 19:51:18 +02:00
King Kévin
d7cd572f9a
Merge branch 'master' of ssh://git.cuvoodoo.info/stm32f1
2019-04-01 15:17:24 +02:00
King Kévin
90431d5fcb
Rakefile: openocd STLINKV2 interface is now stlink
2019-04-01 15:17:06 +02:00
King Kévin
534b4d89b1
Rakefile: add task to remove STM32F1 protection
2019-04-01 15:16:09 +02:00
King Kévin
6a3dc8b23a
print (minor): rename print_data to print_xxd
2019-03-27 19:06:15 +01:00
King Kévin
c7cb5b0f55
print (minor): add spaces around operator for readability
2019-03-27 18:50:29 +01:00
King Kévin
e7f93bfeab
print: add function to output data
2019-03-27 18:42:09 +01:00
King Kévin
f18d5ea850
global: add overflow safe addition macros
2019-03-27 18:40:16 +01:00
King Kévin
4df0986635
global: fix DFU input
2019-03-27 18:39:30 +01:00
King Kévin
dbc395b3af
menu (minor): add space around operators for readability
2019-03-26 19:52:46 +01:00
King Kévin
230151a102
(minor) remove trailing spaces
2019-03-26 19:27:40 +01:00
King Kévin
b4612b03bb
menu: add hex and bin arguments
2019-03-26 18:49:48 +01:00
King Kévin
a82666e997
menu (minor): add space around operators for readability
2019-03-26 18:47:17 +01:00
King Kévin
f37a6ee4ef
I2C (minor): use CM3 assert instead if manual check
2019-03-26 18:35:46 +01:00
King Kévin
62b83fd34d
I2C (minor): add space around operators for readability
2019-03-26 18:25:23 +01:00
King Kévin
a50a181b86
I2C: fix read NACK
...
NACKing in receive mode is different when 1, 2, or more bytes are
read.
see the reference manual for the cases and how to handle them.
2019-03-26 18:12:22 +01:00
King Kévin
bf2eca0401
I2C: add timeout to stop
...
similar to the start condition, a timer will prevent it to block.
2019-03-26 18:11:17 +01:00
King Kévin
efbd228f8a
I2C: don't clear ADDR after select
...
to check if the slave has successfully been selected to read or
write and the master is in the corresponding receive or transmit
state, SR2 was checked.
but reading SR2 also cleared the ADDR bit, starting the read/write
transaction.
the check is done in the read/write methods anyway.
2019-03-26 18:07:26 +01:00
King Kévin
ef4685a9a3
I2C: don't block on reset
...
when resetting the GPIO lines are toggles.
when this is not effective it used to block.
not it just warns the used it failed.
2019-03-26 18:05:18 +01:00