166 Commits

Author SHA1 Message Date
RedHawk
01604edcfd LpcUart:[#22] Added USART0 wrapper. (LpcDebugUart)
* Refactored LpcUart for USART0, the handling is a bit different,
so it would have been painful to add that to LpcUart class.
* scanf() still doesn't work, but hey, we have debug prints now!
* Can't believe it actually worked.
2023-05-06 12:37:25 +03:00
RedHawk
13e392f37b LpcUart: [#22] This could have worked.
* It appears that LPC11u68 has ony USART0 redirected to USB as debug UART.
* The code here was written only for USART1-4.
2023-05-05 19:31:30 +03:00
Vasily Davydov
8ea6b33b4e workflows: delete unsuccesfull mcu build 2023-04-29 06:16:30 +03:00
RedHawk
620439fff4 LpcUart: [#22] rewritten wrapper for lpc11u68.
* We have UART1-4 (from UARTN, UART0 handling is different.)
* Added Fmutex
* Removed movable pins.
* Disabled handshakes. (Not sure how to configure those.)
* 1 and 4, as well as 2 and 3 share their interrupts with each other. (Again, not sure how it should work.)
2023-04-28 14:32:25 +03:00
Vasily Davydov
86c09dc353
Merge pull request #29 from vas-dav/vas-dav-patch-1
Update build.yml
2023-04-27 02:17:09 +03:00
Vasily Davydov
dfab9da7dd
Update build.yml 2023-04-27 02:15:42 +03:00
Vasily Davydov
e0a083f61c
Merge pull request #27 from vas-dav/ci-build-mcu
Create build.yml
2023-04-27 02:11:37 +03:00
RedHawk
37a61e89be
Merge pull request #26 from vas-dav/thread-rotary
Thread rotary
2023-04-27 02:09:39 +03:00
Vasily Davydov
cfd9a96155
Create build.yml 2023-04-27 02:08:57 +03:00
RedHawk
0c04ccf2e0 rotary:[#9] small cleanup. 2023-04-27 02:08:24 +03:00
Vasily Davydov
2ed0653056 rotary:[#9] process interrupts and send to master 2023-04-27 01:44:17 +03:00
Vasily Davydov
da50fa4de1 rotary:[#9] enable interrupts on three pins 2023-04-27 00:47:55 +03:00
Vasily Davydov
a57f814875 digitalio: add interrupt support and append to rotary 2023-04-26 18:19:42 +03:00
Vasily Davydov
809358b341 rotary: init task [#9] 2023-04-26 16:56:15 +03:00
RedHawk
e4885adbc9
Merge pull request #24 from vas-dav/eeprom
eeprom fix
2023-04-26 16:22:39 +03:00
Vasily Davydov
b8935a9bdc eeprom: [#22] remove <map> dependency 2023-04-26 16:14:42 +03:00
Vasily Davydov
1b6cbdb725 eeprom:[#22] fix lib to be compatible for 11u6x 2023-04-26 16:11:18 +03:00
RedHawk
b7980537dc
Merge pull request #23 from vas-dav/event
event: separate event
2023-04-26 11:42:17 +03:00
RedHawk
3517f171f3 shoh: Fix project includes
main: Remove unused variable.
2023-04-26 11:36:43 +03:00
Vasily Davydov
daec484c01 event: separate event
Give container-type implementation
2023-04-26 02:53:47 +03:00
Vasily Davydov
d909fdb609 root: update diagrams 2023-04-26 02:17:50 +03:00
RedHawk
cdcb13bc1f
Merge pull request #21 from vas-dav/queue-manager
Queue manager
2023-04-26 01:07:08 +03:00
Vasily Davydov
ad4a100989 thread-manager: create on heap
Add a simple queue-manager test
2023-04-26 01:03:40 +03:00
Vasily Davydov
4a553e3093 queue-manager: wrap send & receive 2023-04-26 00:56:18 +03:00
RedHawk
34f6b5b694 Master.cpp: Fixing uninitialised memory. 2023-04-26 00:03:13 +03:00
RedHawk
98e9e11355 QueueManager & Master: Base for queues. 2023-04-25 23:57:18 +03:00
RedHawk
d589a8734d
Merge pull request #20 from vas-dav/remove-FreeRTOSCPP
Remove free rtoscpp
2023-04-25 22:50:45 +03:00
Vasily Davydov
927409d2a8 thread-manager: create master task with manager 2023-04-25 22:47:31 +03:00
RedHawk
f85bf8ef8d FreeRTOS: Removed FreeRTOSCPP and fixed build.
*Rewritten Master class to create C-style FreeRTOS task.
2023-04-24 20:49:41 +03:00
RedHawk
ed426e4736 Merge branch 'thread-master' 2023-04-18 15:53:24 +03:00
RedHawk
c5ad41556d Master.h: Project should be buildable 2023-04-18 15:53:06 +03:00
RedHawk
99677b2bd5
Merge pull request #18 from vas-dav/thread-master
Create Event
2023-04-18 15:51:08 +03:00
RedHawk
43398065f8
Merge pull request #17 from vas-dav/essential-libs
Essential libs
2023-04-18 14:27:26 +03:00
RedHawk
48d577f8fb I2C: Fixing pin Muxing. #15 2023-04-18 12:01:12 +03:00
RedHawk
a6ca04435b Merge remote-tracking branch 'origin/main' into essential-libs 2023-04-16 16:03:12 +03:00
RedHawk
88d68aac56 I2C: Adapted 15xx wrapper to 11u6x. #15
* Refactured class initialisation.
* Refactured I2C::I2CM_XferBlocking() function.
* (!Chip_I2CM_IsMasterPending(pI2C)) -> (Chip_I2CM_StateChanged(pI2C) == 0)
2023-04-16 16:00:35 +03:00
Vasily Davydov
de6ab9ff6f
Merge pull request #16 from vas-dav/main
root: add .vscode to gitignore
2023-04-13 19:26:29 +03:00
Vasily Davydov
4a818e9e24 root: add .vscode to gitignore 2023-04-13 19:25:33 +03:00
Vasily Davydov
524eb4e780 root: add .vscode to gitignore 2023-04-13 19:23:50 +03:00
Vasily Davydov
b88a1dd2ee threads: add Event class for master communication #6 2023-04-13 19:20:38 +03:00
RedHawk
8977eeb8f6 DigitalIoPin: Fine 2023-04-06 11:43:42 +03:00
RedHawk
c662936689 peripherals: Commented out until fixed.
Peripherals were following old lpc chip pinout (lpc15xx). We have different (lpc11u6x). I decided to comment them out until we figure out correct pinout. (project should always build in master)
2023-04-06 11:12:47 +03:00
RedHawk
67579db883 shoh: Fixing project includes. 2023-04-06 10:52:39 +03:00
RedHawk
409fb44d2c Merge remote-tracking branch 'origin/task_prep' 2023-04-05 00:17:24 +03:00
RedHawk
521f3f495a Merge branch 'essential-libs' 2023-04-05 00:17:19 +03:00
Vasily Davydov
6cfe14b3fe threads: add master skeleton 2023-04-05 00:09:58 +03:00
Vasily Davydov
0f45c4adbb peripherals: add I2C lib [#2] 2023-04-04 22:24:43 +03:00
Vasily Davydov
4fda9a4128 peripherals: add LpcUart lib [#2] 2023-04-04 22:21:30 +03:00
Vasily Davydov
785f8a6806 peripherals: add EEPROM lib [#2] 2023-04-04 22:19:24 +03:00
Vasily Davydov
208fbab92c peripherals: add LCD lib [#2] 2023-04-04 22:18:10 +03:00