Commit Graph

87 Commits

Author SHA1 Message Date
King Kévin 17dd14b744 fix typo 2016-10-03 12:10:10 +02:00
King Kévin 8708cfd570 add alarm command 2016-10-03 12:09:24 +02:00
King Kévin 2b7178284e add set SDM120 configuration 2016-09-17 14:31:56 +02:00
King Kévin 8c9f5afaaf add configuration request and decode 2016-09-17 14:22:11 +02:00
King Kévin d44bbfe4f9 add generic wait to transmit SDM120 request 2016-09-14 16:39:31 +02:00
King Kévin f0eb5e0f7c fix reveiced and decode data 2016-09-14 10:02:38 +02:00
King Kévin 9b047ccf41 add SDM120 electricity meter library (only transmit works) 2016-09-13 22:43:38 +02:00
King Kévin 1e1cfb8c62 try SDM120 library 2016-09-13 22:42:56 +02:00
King Kévin 8916359b7e add SDM120 electricity meter library (only transmit works 2016-09-13 22:42:33 +02:00
King Kévin 2d8edda833 enable RCC for alternate UART function 2016-09-13 22:41:31 +02:00
King Kévin 79d76ee0fd rename PZEM enums 2016-09-12 21:42:37 +02:00
King Kévin 353dfe295f fix comment 2016-09-12 21:35:15 +02:00
King Kévin 8c15580cf1 update documentation 2016-09-11 22:44:27 +02:00
King Kévin 1923e2af4b add example code to use PZEM library 2016-09-11 17:21:33 +02:00
King Kévin 599027ac39 add library to communicate with PZEM-004 electricity meter 2016-09-11 17:21:15 +02:00
King Kévin 38e39aca63 fix small change 2016-09-11 16:54:22 +02:00
King Kévin eb47261de4 don't use software UART 2016-09-11 11:25:43 +02:00
King Kévin 66c25ec0fd implement transmit functionnalities for software UART 2016-09-05 09:33:56 +02:00
King Kévin 833d40fe10 drop old data if receive buffer full 2016-09-04 19:08:57 +02:00
King Kévin 868283a8e7 use macros to derivate USART addresses based on ID 2016-09-04 18:56:49 +02:00
King Kévin 63f07be7b5 add software UART receive buffer 2016-09-04 18:33:12 +02:00
King Kévin f9b46124a0 try soft UART EXTI and timer 2016-09-04 14:48:40 +02:00
King Kévin 6b355b0bb3 fix EXTI macro 2016-09-04 14:48:01 +02:00
King Kévin d5783f945c compiler-rt trial 2016-09-04 14:47:15 +02:00
King Kévin 7861140027 prepare for clang switch, but still use gcc 2016-08-28 23:16:13 +02:00
King Kévin f2fb84c7df adjust printf %u for gcc 2016-08-28 23:15:45 +02:00
King Kévin c7905b43a2 use proper linked ld and clean definitions 2016-08-28 14:35:12 +02:00
King Kévin 412095a244 use proper linked ld and clean definitions 2016-08-28 14:27:25 +02:00
King Kévin efcf735395 fix RTC counter and add blinking 2016-08-20 23:32:08 +02:00
King Kévin c6c74aaa1b use newlib 2016-08-20 23:27:01 +02:00
King Kévin 3c4a1ae976 fix index 2016-08-20 23:24:49 +02:00
King Kévin 545b0be96e use clang to compile 2016-08-20 18:10:31 +02:00
King Kévin 0e09038871 fix printf 2016-08-19 22:00:50 +02:00
King Kévin 55d8dcd629 rename software USART to UART 2016-08-19 22:00:12 +02:00
King Kévin 53fe247b9d use defines for the USART pins (incomplete) 2016-08-19 21:59:22 +02:00
King Kévin 6959c3a41f use macros instead of tables for less possible errors (but everything has to be defined at compile time) 2016-08-19 11:48:03 +02:00
King Kévin af3da18de7 allow to set BOARD when calling make 2016-08-18 12:04:10 +02:00
King Kévin 739dc01db4 fix RTC 2016-08-18 11:54:24 +02:00
King Kévin 4635ff588e fix led toggle 2016-08-18 11:44:47 +02:00
King Kévin e1f0f8e159 fix port 2016-08-18 11:31:39 +02:00
King Kévin 05dac677ab clean how to get address 2016-08-18 11:25:11 +02:00
King Kévin 045f533afa add generic way to get register addresses 2016-08-18 10:45:36 +02:00
King Kévin abb59970bd add software usart library (incomplete) 2016-08-16 11:56:10 +02:00
King Kévin 2f9dcd0ff7 add RCC macros 2016-08-16 11:55:25 +02:00
King Kévin 4c1a3c74a3 change project name 2016-08-16 11:55:09 +02:00
King Kévin 31beaa5f74 use libopencm3 ld files 2016-08-14 21:04:41 +02:00
King Kévin f3410200b7 update example description 2016-08-14 21:04:08 +02:00
King Kévin f2d0184e00 update example, add RTC 2016-08-14 21:02:38 +02:00
King Kévin 5b68c5701e use documents globals 2016-08-14 20:30:16 +02:00
King Kévin 51330747e2 update README to template project 2016-08-14 20:25:55 +02:00