King Kévin
4a1470401c
rtc_dcf77: minor, use newer GPIO definition
2020-02-17 15:19:21 +01:00
King Kévin
4b2e43a94b
rtc_dcf77: minor, add space around operators
2020-02-17 15:16:04 +01:00
King Kévin
48bc700ed7
onewire_slave: minor, use newer GPIO definition
2020-02-17 15:03:28 +01:00
King Kévin
842b1e26bb
onewire_slave: minor, add space around operators
2020-02-17 14:59:46 +01:00
King Kévin
11e0653fba
sensor_pzem: fix libopencm3 interface
2020-02-17 14:52:37 +01:00
King Kévin
6a0b0bf7d1
sensor_pzem: fix USART GPIO definitions
2020-02-17 14:52:16 +01:00
King Kévin
41bd39f123
onewire_master: minor, add space around operators
2020-02-17 14:45:12 +01:00
King Kévin
7681007d95
onewire_master: minor, use newer GPIO definitions
2020-02-17 14:44:12 +01:00
King Kévin
6b042506b9
sensor_dht11: minor, put spaces around operators
2020-02-17 14:32:49 +01:00
King Kévin
e88177d785
led_tm1637: minor, put spaces around operators
2020-02-17 14:27:16 +01:00
King Kévin
2896185e45
led_tm1637: minor, use new GPIO definition
2020-02-17 14:23:15 +01:00
King Kévin
3141075273
sensor_sdm120: fix, update to libopencm3
2020-02-17 14:17:55 +01:00
King Kévin
4a637504dd
sensor_sdm120: minor, put spaces around operators
2020-02-17 14:17:18 +01:00
King Kévin
011d12330c
sensor_sdm120: minor, update GPIO definitions
2020-02-17 14:15:50 +01:00
King Kévin
4c6629d441
uart_soft: minor, put spaces around operators
2020-02-17 14:07:20 +01:00
King Kévin
ddd0d18d15
microwire_master: minor, put spaces around operators
2020-02-17 14:06:15 +01:00
King Kévin
55e44d4c5e
microwire_master: fix register redefinition
2020-02-17 14:05:34 +01:00
King Kévin
0454647d2d
microwire_master: minor, use simpler GPIO definitions
2020-02-17 14:04:41 +01:00
King Kévin
330a08adc0
ws2812b: minor, put spaces around operators
2020-02-17 14:01:54 +01:00
King Kévin
a880df4c0a
update copyright
2020-02-17 14:00:48 +01:00
King Kévin
6e65b1b328
replace removed libopencm3 timer_reset
2020-02-17 13:59:49 +01:00
King Kévin
cf662f38f5
remove incomplete ir_nikon library
2020-02-17 13:15:56 +01:00
King Kévin
52fb366a59
hd44780: use GPIO instead of I2C per default
2020-02-13 14:31:25 +01:00
King Kévin
0ce4dc6c76
hd44780: fix DL ifdef macro
2020-02-13 14:29:55 +01:00
King Kévin
ff1b84f505
hd44780: fix I2C ifdef macro
2020-02-13 14:28:41 +01:00
King Kévin
3c71b83bb9
hd44780: fix GPIO calls
2020-02-13 14:23:11 +01:00
King Kévin
2d39e39999
uart: minor, improve readability
2020-02-11 12:23:10 +01:00
King Kévin
4bfcca9d50
i2c_master: fix 1 byte read
2020-02-11 12:21:35 +01:00
King Kévin
25ce80b73a
i2c_master: minor, improve register read consistency
2020-02-11 12:20:13 +01:00
King Kévin
49d8d96166
dfu: fix address check
2020-01-10 12:49:45 +01:00
King Kévin
2520df3e72
flash_internal: fix provided flash size detection
2020-01-10 11:15:09 +01:00
King Kévin
ac1485004e
print: fix function definition
2020-01-08 20:29:09 +01:00
King Kévin
99bf7157b2
flash_internal: fix erase for any bit write
2020-01-06 13:00:46 +01:00
King Kévin
32948f9e8d
DFU: flash firmware head after download to prevent starting corrupted application
2020-01-04 14:38:22 +01:00
King Kévin
ee0b68e836
flash_internal: flash only when data is different
2020-01-04 14:36:13 +01:00
King Kévin
f85a3d2439
flash_internal: fix error return code
2020-01-04 14:35:28 +01:00
King Kévin
c7d0244f72
USB: fix disconnect
2020-01-03 20:17:29 +01:00
King Kévin
3242c6ba5c
add USB-Blaster board support
2020-01-03 19:41:39 +01:00
King Kévin
3c0130ba4f
USB: unify and improve USB (dis)connect
2020-01-03 19:39:41 +01:00
King Kévin
08cba3cd71
flash_internal: add emulated EEPROM functionnality
2020-01-03 18:13:05 +01:00
King Kévin
0a8b23069a
flash_internal: minor, fix spacing
2020-01-03 18:13:00 +01:00
King Kévin
5ed491defb
flash_internal: add page size method
2020-01-03 18:12:56 +01:00
King Kévin
822b66ea8f
flash_internal: only flash relevant bits
2020-01-03 18:12:50 +01:00
King Kévin
a6fb25b6c6
flash_internal: minor, update doc/comment
2020-01-03 18:12:44 +01:00
King Kévin
fe16ad18cd
flash_internal: minor, fix spacing
2020-01-03 18:09:12 +01:00
King Kévin
d51c18ab5a
doc: fix documentation
2020-01-03 00:16:59 +01:00
King Kévin
4c24fc126b
print: add puts
2019-12-21 19:48:55 +01:00
King Kévin
1ea8b44b2b
bootloader: use magic value in RAM instead of peripheral
2019-12-21 19:48:00 +01:00
King Kévin
20ad271b6a
printf: minor, fix doc and spacing
2019-12-21 19:43:40 +01:00
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
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
a46d35e6bd
ir_nikon: add library to receive IR code or Nikon shutter remote
2019-08-13 21:47:49 +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
51d4d931ac
UART: switch to faster default baud rate 921600 bps
2019-06-12 15:12:02 +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
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
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
King Kévin
396c7852e7
I2C: add timeout to send start condition
...
sometimes the internal state f the I2C peripheral is confused,
and sending a start condition is not possible and the
corresponding registers will not be set.
see the errata for more details.
as workaround a timer is used, resetting the I2C is case it times
out
2019-03-26 18:01:23 +01:00
King Kévin
5e13d19bda
DFU: multiple fix
...
* add spaces around operators
* remove detach timeout since we reboot immediately after download
* reduce polling timeout to increase flashing speed
* use block number instead of counting to know which page to flash
* remove detach case since this request is only for runtime mode
* fix APP_IDLE to DFU_IDLE
2019-01-12 16:23:20 +01:00
King Kévin
4dbf6df59f
DFU: update call to match library
2018-10-29 12:30:23 +01:00
King Kévin
5c976064b0
flash_internal: return number of bytes written
2018-10-29 12:29:47 +01:00
King Kévin
6c829a51cf
flash: only erase and preserve flash when required or requested
2018-10-28 22:50:51 +01:00
King Kévin
42ed03fa67
add IR NEC library
2018-10-28 22:46:52 +01:00
King Kévin
c5fc45b5a1
terminal: make prefix bold
2018-10-07 23:15:53 +02:00
King Kévin
507d2d05de
1-Wire: fix doc
2018-10-07 23:15:53 +02:00
King Kévin
30628ebb37
fix library dependency
2018-10-07 23:15:46 +02:00
King Kévin
d3fd1ff84f
1-Wire: add family code device table
2018-10-07 23:13:23 +02:00
King Kévin
8e710f21c4
USART: put parity LUT in header so others can use it
2018-10-07 23:11:19 +02:00
King Kévin
7b0922b614
1-wire: add option to use interrupt redirection
2018-10-07 23:11:19 +02:00
King Kévin
1e330bee2f
interrupt: add library to redirect ISR at runtime
2018-10-07 23:11:19 +02:00
King Kévin
b02e9b172e
1-wire: stop search when not slave is detected, and mention that code 0 means the data line might not be pulled up
2018-10-07 23:09:26 +02:00
King Kévin
2dadbb8292
USART enhanced: add additional data bits and parity support
2018-10-07 23:09:26 +02:00
King Kévin
3c7466ca0e
UART: fix transmission problem when buffer is full
2018-10-07 23:09:26 +02:00
King Kévin
c6f78ad2ee
UART: set to common 115200 baudrate
2018-06-08 13:39:40 +02:00
King Kévin
444534e214
1-Wire: remove misleading parasitic power function, add byte function
2018-06-08 10:47:30 +02:00