Commit Graph

262 Commits

Author SHA1 Message Date
King Kévin cd7ca9a872 BV: add global action parser 2018-03-17 19:40:44 +01:00
King Kévin 70b166c1cc menu: pass remaning of line instead of word when argument is a string 2018-03-17 19:24:34 +01:00
King Kévin 8d0dfeef32 remove unused library 2018-03-17 13:35:12 +01:00
King Kévin af666455bd BV: move version and bootloader command to HiZ mode to reduce menu size in other modes 2018-03-15 19:20:27 +01:00
King Kévin efe89f61d4 BV SPI: add initial support 2018-03-15 18:59:44 +01:00
King Kévin bb014ce1e0 BV I2C: use shared string buffer and improve code 2018-03-15 18:55:52 +01:00
King Kévin 510d3c7193 BV I2C: use shared string buffer 2018-03-15 18:55:31 +01:00
King Kévin 56168c6c0c BV: add global shared string buffer to save RAM 2018-03-15 18:54:45 +01:00
King Kévin 06664a3916 I2C: ensure RCC_AFIO is on 2018-03-15 18:53:54 +01:00
King Kévin 5357985bad remove unused libraries 2018-03-11 23:40:43 +01:00
King Kévin 07b4cb10cc BV I2C: add initial I2C support 2018-03-11 17:51:53 +01:00
King Kévin 141fa4f2c9 BV HiZ: add RS/CAN pinout 2018-03-11 13:37:14 +01:00
King Kévin 911dc4c1a3 BV: fix RS/CAN pinout display 2018-03-11 13:36:50 +01:00
King Kévin 41976d0af8 USB: sleep_ms can't be used for DFU detach (in an interrupt) 2018-03-01 17:45:29 +01:00
King Kévin db930f645c BV: unify ADC readout 2018-02-26 14:56:23 +01:00
King Kévin b04fcb7d3e USB: clean disconnect 2018-02-26 12:41:24 +01:00
King Kévin 02be8b122e BV: rename revision to version 2018-02-26 12:13:45 +01:00
King Kévin 0f712e5c0a USB: improve transmission and wait until port is opened before starting transmission 2018-02-26 12:13:12 +01:00
King Kévin fdff675c67 BV: only read ADC measurement for channel selected 2018-02-23 16:03:55 +01:00
King Kévin 2327a3b5f2 BV: fix typo 2018-02-23 16:03:12 +01:00
King Kévin b3bfcf9e77 USB: provide connectivity flag 2018-02-23 15:59:28 +01:00
King Kévin 721e181f15 USB: increase transmit buffer and simplify locking mechanism 2018-02-23 12:38:59 +01:00
King Kévin 22932d0135 USB: set pid.codes BusVoodoo USB ID and improve description 2018-02-23 11:34:21 +01:00
King Kévin 074546f66e flash: get page size from device instead of hardcoded value 2018-02-18 14:16:16 +01:00
King Kévin f05ab20021 bootloader: add capability to override advertised flash size 2018-02-18 13:54:45 +01:00
King Kévin c0c6b8f0af BV HiZ: display pins on OLED for pins test 2018-02-16 13:13:11 +01:00
King Kévin 0e4628532d BV OLED: only test OLED screen in debug mode 2018-02-16 13:12:39 +01:00
King Kévin ba5dfece98 BV OLED: fix glyph 2018-02-16 12:31:35 +01:00
King Kévin e20d1fbf4d BV HiZ: add CAN pns test 2018-02-14 15:08:23 +01:00
King Kévin 5dda9a5fc8 BV HiZ: add CAN self-test 2018-02-14 14:27:23 +01:00
King Kévin ebd78bc898 BV: fix comment 2018-02-14 14:25:01 +01:00
King Kévin a06d8f1647 BV HiZ: improved pins test error messages 2018-02-14 14:06:06 +01:00
King Kévin 6babde53ee BV HiZ: add RS-485 pins test 2018-02-14 13:14:32 +01:00
King Kévin 6afccfdb82 BV HiZ: add RS-485 self-test 2018-02-14 12:35:23 +01:00
King Kévin 5bea250ba3 BV: fix RCC domains must be enabled individually 2018-02-13 20:35:48 +01:00
King Kévin fee77b8231 BV: fix going to safe state on full version, and RS485 pin info 2018-02-13 19:27:15 +01:00
King Kévin 8774be07cd BV HiZ: use red/blue LED to indicate user action is needed for test 2018-02-13 17:43:08 +01:00
King Kévin 31e544c09f BV: update I/O pin names 2018-02-13 16:45:46 +01:00
King Kévin d75b42377d BV: add hardware revision variable and identification 2018-02-13 16:19:45 +01:00
King Kévin 400df7c392 BV HiZ: fix self-test for unreadable ID CODE 2018-02-13 16:10:31 +01:00
King Kévin bf37193568 BV HiZ: make pin test faster an user interruptable 2018-02-12 17:13:22 +01:00
King Kévin ee5e5cf244 BV global: put RS-485 and CAN transceivers in safe mode 2018-02-12 14:08:53 +01:00
King Kévin 912509925e BV: fix typo 2018-02-12 13:30:21 +01:00
King Kévin 9d31e9b6a4 BV: split vreg_set to lv and hv 2018-02-06 21:34:29 +01:00
King Kévin 2df0fbf96f BV: rename xV to LV and 12V to HV 2018-02-06 21:17:37 +01:00
King Kévin 95c64eb081 BV UART: add pinout 2018-02-06 17:35:14 +01:00
King Kévin cd289dd537 BV HiZ: add pinout 2018-02-06 17:35:05 +01:00
King Kévin 220b3b8880 BV OLED: use pin number ordering in pinout 2018-02-06 17:27:09 +01:00
King Kévin f840b5f075 BV: add pinout display functionnality 2018-02-06 17:26:35 +01:00
King Kévin 36e28c873f terminal: increase history 2018-02-06 17:25:53 +01:00
King Kévin 678d56aa68 menu: put tab when there is no option 2018-02-06 17:25:36 +01:00
King Kévin 86bd6d0978 BV UART: display mode and pinout on OLED display 2018-02-06 12:33:00 +01:00
King Kévin 434c664d5b BV HiZ: display mode and pinout on OLED display 2018-02-06 12:32:44 +01:00
King Kévin 36569fd7ef OLED: switch I2C clock to fast mode 2018-02-06 12:31:30 +01:00
King Kévin 6111f30f4e BV OLED: fix drawing 2018-02-06 12:28:26 +01:00
King Kévin b1ce81eeda BV UART: fix escape count 2018-02-06 11:56:18 +01:00
King Kévin aa4548def5 BV: add functions to display text and pinout on OLED dispay 2018-02-06 11:55:43 +01:00
King Kévin 1b65542dda lib: add library to control SSD1306 I2C OLED displays 2018-02-06 11:54:57 +01:00
King Kévin 2522939c66 I2C: make API more generic 2018-02-06 11:53:50 +01:00
King Kévin af7d13dfef BV UART: add transceive command 2018-01-25 11:31:27 +01:00
King Kévin de4218147e BV HiZ: replace wait_space with user_input_get 2018-01-25 10:41:43 +01:00
King Kévin 9b025c743e USB: use central user input storage 2018-01-24 22:18:58 +01:00
King Kévin 7657812ead uart: user central user input storage 2018-01-24 22:18:37 +01:00
King Kévin 77263ecaa2 busvoodoo: improve instructions 2018-01-24 22:17:32 +01:00
King Kévin 1633972d8d busvoodoo: set LED when HiZ is started 2018-01-24 21:30:03 +01:00
King Kévin b875d88bd5 busvoodoo: use LED for UART activity 2018-01-24 21:29:22 +01:00
King Kévin a91161981c busvoodoo: add led blinking with timeout 2018-01-24 21:28:45 +01:00
King Kévin da1786228a busvoodoo: add UART mode (incomplete) 2018-01-24 16:36:19 +01:00
King Kévin b6419954f7 prinf: fix printing 1.0 2018-01-24 16:34:24 +01:00
King Kévin 5d472aacbe busvoodoo: enable clock for alternative domains 2018-01-24 15:58:00 +01:00
King Kévin 5f681b9c0e busvoodoo: fux typo 2018-01-24 15:57:34 +01:00
King Kévin 657df679a3 busvoodoo: add name and description to mode interface 2018-01-23 23:41:41 +01:00
King Kévin 6b300b5ed9 terminal: add ': ' to prompt prefix 2018-01-23 23:40:59 +01:00
King Kévin e1259c6cdc busvoodoo: add quit mode command 2018-01-23 15:36:05 +01:00
King Kévin 8b7b262065 busvoodoo: add HiZ mode interface 2018-01-23 15:18:41 +01:00
King Kévin d2734a6fd7 busvoodoo: add mode interface definition 2018-01-23 15:17:43 +01:00
King Kévin 33a847b8e7 busvoodoo: adjust voltage control 2018-01-23 11:28:38 +01:00
King Kévin 5b57060802 busvoodoo: add global commands to control power rails 2018-01-22 21:42:40 +01:00
King Kévin 8c983712b0 menu: make copy of line to process since strtok can modify original string 2018-01-22 21:41:52 +01:00
King Kévin ddbd821243 busvoodoo: set pin test shortcut to t and fix typo 2018-01-22 21:40:53 +01:00
King Kévin 3e210ae720 busvoodoo: add HiZ commands 2018-01-21 23:43:37 +01:00
King Kévin afb39f2dd0 menu: add library to handle commands 2018-01-21 23:35:22 +01:00
King Kévin 4a8bf5d2a1 busvoodoo: add method to control embedded pull-up resistors 2018-01-17 18:25:59 +01:00
King Kévin f834f3bd63 busvoodoo: add method to control power output 2018-01-17 13:17:08 +01:00
King Kévin 4f0a09f717 busvoodoo: add method to set voltage 2018-01-17 12:28:15 +01:00
King Kévin ea4a0c518f application: move BusVoodoo specific parts to separate library 2018-01-14 22:15:00 +01:00
King Kévin f759017192 terminal: add terminal prompt library 2018-01-14 13:46:51 +01:00
King Kévin bf896b920a uart: fix typo 2018-01-12 11:32:09 +01:00
King Kévin 7d78986f13 uart: make receiving bytes more reliable 2018-01-12 11:31:58 +01:00
King Kévin e8d20146a2 uart: remove legact usart replaced by uart 2017-12-17 03:54:12 +01:00
King Kévin 238acd29c3 usart: update date 2017-12-16 13:41:03 +01:00
King Kévin a695fd595e uart: fix typo 2017-12-16 13:40:30 +01:00
King Kévin 5f19504c6b usart: renamed to uart because not synchroneous 2017-12-16 13:36:51 +01:00
King Kévin 6302c1af74 usart: lower baudrate to 921600 to not drop incoming traffic 2017-12-16 13:25:30 +01:00
King Kévin 0cfbb1b4d8 usart: higher incoming traffic capabilities 2017-12-16 13:24:31 +01:00
King Kévin 2ede3ef1b2 print: add floating point numbers support 2017-12-14 10:23:31 +01:00
King Kévin f5355fe75a print: add support for uint64 bits 2017-12-13 14:16:28 +01:00
King Kévin 8542914426 print: fix doc 2017-12-13 14:11:34 +01:00
King Kévin ed0245ae54 print: add support for uint64_t hexadecimal 2017-12-13 14:07:18 +01:00
King Kévin dba76454af print: add error handling with user output 2017-12-13 13:48:29 +01:00
King Kévin d001ed14e6 print: allow padding size > 9 2017-12-13 12:30:16 +01:00
King Kévin a41773b3cf rtc_dcf77: better decoding using signal correlation 2017-10-13 16:03:37 +02:00
King Kévin b15c0c10d8 lib/led_ws2812b: now use global macros 2017-10-13 16:03:37 +02:00
King Kévin b1a470bedc lib/rtc_dcf77: update library to use global macros 2017-10-13 16:03:37 +02:00
King Kévin df67204cc8 lib/rtc_dcf77: make library compilable again 2017-10-13 16:03:37 +02:00
King Kévin 1ec65d9fe3 onewire_slave: use byte sizes instead of bits 2017-10-04 14:00:42 +02:00
King Kévin bc6e7a9c47 onewire_slave: remove debug code 2017-10-04 13:55:43 +02:00
King Kévin 8045e1d093 add onewire slave library 2017-10-04 13:55:43 +02:00
King Kévin d25a25f9a8 onewire_master: fix rom search 2017-10-04 13:55:43 +02:00
King Kévin 4f00788b8a doc: improve tag 2017-10-04 13:55:43 +02:00
King Kévin 3b73f519da doc: fix typo 2017-10-04 13:55:43 +02:00
King Kévin 1fce4984d4 onewire_master: add parasite power support 2017-10-04 13:55:43 +02:00
King Kévin bd2f1642cc onewire_master: remove malloc in favor of pre-allocated buffers 2017-10-04 13:55:43 +02:00
King Kévin 355eb79e4e sensor_ds18b20: fix doc typo 2017-10-04 13:55:43 +02:00
King Kévin c3b35be66c flash_sdcard: add write data function and improve other functions 2017-08-01 02:05:41 +02:00
King Kévin f681026ec2 flash_sdcard: add function to retrieve erase block size 2017-08-01 02:05:41 +02:00
King Kévin 22d4dc31f8 flash_sdcard: add flash_sdcard_size to get SD card size 2017-08-01 02:05:41 +02:00
King Kévin 360202c073 remove debug library 2017-08-01 02:05:41 +02:00
King Kévin 0909297bc2 add card speed switching 2017-08-01 02:05:41 +02:00
King Kévin 0de7f8213c sdcard: add reading data block 2017-08-01 02:05:41 +02:00
King Kévin 30c72a78a8 add library to read SD card flash memery: card identification implemented 2017-08-01 02:04:06 +02:00
King Kévin b5001670e4 replace usart_get_interrupt_source with usart_get_flag to match libopencm3 update 2017-06-27 15:38:00 +02:00
King Kévin aeec7c0490 add microwire library 2017-04-15 13:59:01 +02:00
King Kévin 3f42242571 change baudrate to 1.5Mbps since the CP2102 can't handle more 2017-04-15 13:58:14 +02:00
King Kévin b26a10e085 add DFU runtime to USB CDC ACM profile 2017-04-15 13:57:45 +02:00
King Kévin 8664b96055 make flash library more general purpose and optimize it 2017-04-15 13:57:19 +02:00
King Kévin d7220e1106 make flash library more general purpose and optimize if 2017-04-15 13:57:02 +02:00
King Kévin 1b19987404 move DFU library to library folder 2017-04-15 13:55:45 +02:00
King Kévin a598925ad7 add MAX7219 7-segment display library from clapperboard project 2017-04-03 13:09:06 +02:00
King Kévin 5ea5e18806 add TM1637 7-segment display library from clapperboard project 2017-04-03 13:08:49 +02:00
King Kévin 09474410c5 add own print library to replace heavy glibs library 2017-04-03 13:07:53 +02:00
King Kévin 6d3e826c18 add general I2C library 2017-04-03 13:07:03 +02:00
King Kévin 0a7ed77094 add library fix from clapperboard project 2017-04-03 13:05:30 +02:00
King Kévin c397e389b9 switch speed to 2 Mbps instead of legact 115200 bps 2017-04-03 13:04:51 +02:00
King Kévin 04249b205e fix doc 2017-04-03 13:03:48 +02:00
King Kévin 75658c2c1a add DS18B20 temperature sensor library from thermo-regulator project 2017-03-28 12:39:11 +02:00
King Kévin 48ac76bc02 add 1-Wire master software implementation library from thermo-regulator project 2017-03-28 12:38:43 +02:00
King Kévin 610d366754 add DHT22 sensor library from thermo-regulator project 2017-03-28 12:38:07 +02:00
King Kévin b7049df659 add improvement from thermo-regulator project 2017-03-28 12:37:34 +02:00
King Kévin c76abae464 add Aosong DHT11 relative humidity and temperature sensor library 2017-02-06 17:33:27 +01:00
King Kévin 4e9d7efcba add timer for inter-messsage silence to improve response rate 2017-01-30 09:54:58 +01:00
King Kévin 98469964a5 fix typo 2017-01-30 09:46:54 +01:00
King Kévin f09e5cb98a use USART 2 instead of 1 for ESP8266 2017-01-30 09:46:04 +01:00
King Kévin a3d838e665 add new library from spark abacus project 2016-10-23 17:42:55 +02:00
King Kévin 7aa9c23a27 add changes from spark abacus project 2016-10-23 17:42:27 +02:00
King Kévin 8002255525 document and correct VFD library 2016-08-14 20:18:10 +02:00
King Kévin 78f052e540 rename flash library 2016-08-14 19:25:58 +02:00
King Kévin dade16b86a document flash library 2016-08-14 19:25:38 +02:00
King Kévin 54d8f82353 remove trivial incomplete library 2016-08-14 19:05:32 +02:00
King Kévin 101c20ebec get new library files from LED clock 2016-08-14 18:37:58 +02:00