Commit Graph

54 Commits

Author SHA1 Message Date
e5l 89e626c8f5 translator: call fixes, constructors stub 2016-07-12 14:11:39 +03:00
Alexey Stepanov 1a76a916a6 translator: add pointer modificator, fixes for stack allocation, refactoring 2016-07-12 13:54:19 +03:00
MaximZaitsev d17c8922b8 alpha server and client for st flash 2016-07-12 13:26:05 +03:00
MaximZaitsev 72e4b532f2 modified proto for st flash 2016-07-12 13:26:05 +03:00
e5l b4df05a832 translator: plain classes and types 2016-07-12 12:13:27 +03:00
Alexey Stepanov 31c2937acc translator: add stack variable allocation, refactoring, llvmVariable starts storing Kotlin Name 2016-07-12 12:07:03 +03:00
Alexey Stepanov fbfe5dedda add simpy variable manager, fix some bugs 2016-07-11 20:18:27 +03:00
e5l 33ff4f720a translator: add plain function calls, C function support 2016-07-11 18:02:09 +03:00
Alexey Stepanov 83a41238e2 translator: code fix, add double type and llvm return operator 2016-07-11 16:42:28 +03:00
e5l c170a24cc9 translator: fix var and function naming 2016-07-11 16:18:29 +03:00
e5l 4caf323d9d Merge branch 'master' of https://github.com/olonho/carkot 2016-07-11 16:12:37 +03:00
e5l a47b61d332 translator: add function call 2016-07-11 16:10:08 +03:00
Alexey Stepanov ac76e305eb translator: quick fix for kfunction 2016-07-11 15:54:57 +03:00
Alexey Stepanov 0586473bb6 translator: reorginize code, fix double expression, add assigment llvm 2016-07-11 15:50:30 +03:00
Alexey Stepanov 55c3401f56 translator: add double and fix variable bugs 2016-07-11 15:25:13 +03:00
Alexey Stepanov 968fc9ec03 translator: add primitive types and basic for operators. 2016-07-11 14:19:56 +03:00
MaximZaitsev 599a7f77c1 renamed dev loader folder 2016-07-11 13:47:39 +03:00
MaximZaitsev 659be75b57 corrected protos 2016-07-11 13:47:39 +03:00
MaximZaitsev 2b71f3ad85 corrected proto files 2016-07-11 13:47:39 +03:00
MaximZaitsev 4eb06599e2 car emulator and corrected srv 2016-07-11 13:47:39 +03:00
MaximZaitsev 72d2a8c510 corrected proto files, compiling proto 2016-07-11 13:47:39 +03:00
MaximZaitsev 5f2dfa4c99 created test server project 2016-07-11 13:47:39 +03:00
MaximZaitsev 1be4ad3732 rename dirs 2016-07-11 13:47:39 +03:00
MaximZaitsev 10fc8eb7a9 client proto template 2016-07-11 13:47:39 +03:00
MaximZaitsev b0a8370e6d proto template 2016-07-11 13:47:39 +03:00
dsavvinov 86e55175c9 Removed all generics from Kotlin Protobuf Runtime (as too advanced language feature for target platform) 2016-07-11 13:28:36 +03:00
e5l 2f661e9ec7 add function index 2016-07-08 19:32:28 +03:00
Alexey Stepanov 86e50516a3 translator: refactoring, add a skeleton for LLVMBuilder, reformat expression generation 2016-07-08 18:02:51 +03:00
dsavvinov 349055959f Merge branch 'master' of https://github.com/olonho/carkot 2016-07-08 17:11:51 +03:00
e5l beed98a1e5 Merge branch 'master' of https://github.com/olonho/carkot 2016-07-08 17:10:15 +03:00
dsavvinov 23710b3bb2 Added draft version of runtime classes for Kotlin Protobuf 2016-07-08 17:09:12 +03:00
e5l 5ba772fff9 Translator: cleanup, add simple structure, function declarations
generation
2016-07-08 17:08:14 +03:00
Eugene Batalov 4cb33ba88f car_fmw: implement switching of current car program using push button 2016-07-08 16:27:51 +03:00
Eugene Batalov d0ea89cbb3 car_fmw: reuse STM evaluation board library code in car_led library 2016-07-08 16:27:51 +03:00
Eugene Batalov c7b88455e5 car_fmw: implement 5 demo car programs
Demo programs:
1. Go forward
2. Go backward
3. Rotate right
4. Rotate left
5. Complicated route
All programs are running in a cycle

+ Refactor delay.h code to have common code style with main.c
2016-07-08 16:27:51 +03:00
Eugene Batalov aa67c399e6 car_fmw: add support for car rotation to engine interface 2016-07-08 16:27:51 +03:00
Alexey Stepanov 498b4423af translator: adding a skeletons and basic llvm code function generator 2016-07-08 16:09:01 +03:00
Eugene Batalov 4ada683ad7 car_fmw: implementation of periodic forward and backward engine rotation 2016-07-05 22:21:23 +03:00
Eugene Batalov 5be1238427 car_fmw: make tags Makefile target PHONY
tags target should always run when requested
2016-07-05 22:21:23 +03:00
Eugene Batalov 46b994f65b car_fmw: straightforward refactoring of MCU GPIO example code
- Extract code to dedicated files, create more abstract interfaces
- Remove meaningless comments
2016-07-05 22:21:23 +03:00
Eugene Batalov 8779695a64 car_fmw: add ctags generation target to Makefile 2016-07-05 22:21:23 +03:00
Eugene Batalov ca2529a9ce car_fmw: fix ld script and add comments
It turned out that we can't use all the 192K SRAM on our MCU.
See explanation inside.
Also made fake debug and flash Makefile targets PHONY.
2016-07-04 15:51:45 +03:00
Kotlin Developer 8407eedba8 Make device dev more friendly. 2016-07-03 22:21:48 +00:00
Kotlin Developer f79c5da427 Merge branch 'master' of github.com:olonho/carkot 2016-07-03 18:03:42 +00:00
Kotlin Developer 25e5b8ed3b Fix build, small proto tweak. 2016-07-03 18:02:52 +00:00
Nikolay Igotti 0a8cb87950 Fix typo. 2016-07-03 14:41:57 +02:00
Nikolay Igotti 937a7bae74 Added docs. 2016-07-03 14:40:35 +02:00
Eugene Batalov 7d8124ae52 car_fmw: initial source code
This is initial source code for cars MCU firmware coded in C.
Source code is based on Peripheral_Examples/IO_Toggle project
from STM32F4-Discovery_FW (firmware) package. Firmware version: V1.1.0

Makefiles are implemented manually. They are not part of STM32F4 FW
package.
2016-06-30 20:34:14 +03:00
Nikolay Igotti d0c2643bbd Python loader 2016-06-17 12:51:23 +06:00
Nikolay Igotti 1b2645854c Add Mac device tools. 2016-06-12 09:23:05 +02:00