Commit graph

614 commits

Author SHA1 Message Date
1e9a831361
Invalid state now frees up allocated memory
Semaphore is reset so receiver can reuse said entry
2023-04-01 11:02:29 +02:00
851cbb6e52
Implement light fading 2023-03-31 12:29:07 +02:00
0af1561820
Define composable command interface 2023-03-30 20:36:16 +02:00
2c6396fbf5
Remove unnecessary ternary operator 2023-03-30 20:08:25 +02:00
bca8a347ff
Make Invalid default for not implemented functionality 2023-03-30 19:55:46 +02:00
f458187095
Add reset functionality 2023-03-30 19:53:33 +02:00
08ca59099d
Add reset command 2023-03-30 19:51:41 +02:00
a35ae616df
Switch parser to self contained task class 2023-03-30 17:53:56 +02:00
05adf10e45
Make receiver work
Switch from mutex to bin-semaphore (thread overarching) & Proper failure handling
2023-03-30 17:53:27 +02:00
5fe004ce30
Add serial debugger 2023-03-30 17:50:04 +02:00
908f0a5e9c
Fix circular buffer index
Index was previously not being increased as statement could not be reached
2023-03-30 17:49:40 +02:00
908a6becba
Implement BinarySemaphore freertos wrapper 2023-03-30 17:48:53 +02:00
e2a64ac231
Implement serial interaction 2023-03-25 18:10:25 +01:00
d1f9e3d88c
Implement custom barebones circular buffer 2023-03-25 18:09:47 +01:00
48c2cdf97b
Implement freertos mutex wrapper 2023-03-25 18:09:28 +01:00
96c39d4792
Accept T as copy instead of referende
xQueueSend() copies the value, so accepting a reference is misleading
2023-03-25 18:09:11 +01:00
428a0f437f
Add sleepForever() function 2023-03-25 18:07:57 +01:00
c5f3220569
Enable clangtidy checking 2023-03-24 17:23:09 +01:00
0a8802fb51
Clangtidy improvements (const & noexcept) 2023-03-24 17:19:03 +01:00
d1369fd8ec
Enable -Wall build flag 2023-03-24 16:51:25 +01:00
5de0b22ada
Make pinmode for-loop typing more declarative 2023-03-24 16:42:13 +01:00
215315bd3a
Remove unused function declaration 2023-03-24 14:10:28 +01:00
21b5796ee3
Add sleep function 2023-03-24 14:09:00 +01:00
1e40e1f870
Implement basic light controller logic 2023-03-24 14:08:42 +01:00
10e937b0dd
Fully implement callback logic 2023-03-13 13:34:45 +01:00
4eee08aeed
Add callback function calls to parser 2023-03-11 17:38:23 +01:00
af9f122a98
Implement functional skeleton of message protocol handling 2023-03-11 16:52:25 +01:00
7ff332ce1a
Create FreeRTOS C++ wrappers 2023-03-11 16:35:44 +01:00
1ae061c5d4
Update platformio.ini 2023-03-11 16:35:18 +01:00
2113f71722
Move files from /include to /src 2023-03-11 16:35:06 +01:00
be53432598
Initialize modern C++ rewrite 2023-03-11 14:16:55 +01:00
e7f4a4ec57
Merge branch 'dev' 2023-03-11 12:55:57 +01:00
ce38e34051
Add UI presentation 2023-02-12 16:58:46 +01:00
ea3f815e3e
Add files via upload 2023-02-12 16:54:51 +01:00
12da5957b8
Switch default mux position 2022-09-20 20:44:47 +02:00
14846e5aa5
Restructure communication protocol 2022-09-20 18:58:26 +02:00
3adb5c576f
Add eeprom
Eeproms outlive flash, which quickly dies during light state preservation.
2022-09-17 17:29:23 +02:00
4f84fc650f
Fix first pcb batch issues
Reassign input only pins, external uart connected to flash spi & mux blocking uart access
2022-09-17 17:07:48 +02:00
6b4c24783e
Add hex prefix 2022-04-19 23:52:45 +02:00
740abd951d
Add safe clearBuffer websocket method 2022-04-13 19:09:03 +02:00
d285387f38
Implement websocket receive 2022-04-13 18:42:39 +02:00
833cc5bbd9
Change hostname 2022-04-11 21:52:26 +02:00
0c72169217
Change app icon 2022-04-11 21:50:55 +02:00
44af7e0559
Update communication.md 2022-04-11 21:08:16 +02:00
34daed07d8
Fix table header 2022-04-11 19:40:06 +02:00
4c45934128
Add first communication protocol draft 2022-04-11 19:16:49 +02:00
1abc699b07
Make code more readable 2022-04-11 16:33:27 +02:00
31c864f140
First bluetooth connection proof-of-concept 2022-04-11 16:32:50 +02:00
db72525fd4
Implement first demo UI 2022-04-11 13:22:08 +02:00
9834c36baf
Update com port 2022-04-10 22:14:02 +02:00