3 karma · joined April 29, 2020
I do believe in separating code between the fast and slow path. My goal is to bring open source, well optimized common libraries to VM world.
Platform can handle a simple http server with a NIC as of today but with custom apis.
Kotlin and groovy works for hello world, did not tried further as I am thinking of bringing those languages by eliminating Java ties. I am aware of Kotlin native but 200K for a hello world is not reasonable. I can fit in 21K for VM.
If you have killer app idea for this platform I can make it happen in a very short period of time.
What are the top 3 reasons you prefer C++ to Java for embedded systems?
Do you have a killer project for students in your mind which will help them learn with fun with this?
I would love to hear your comments about the post i did recently, thanks in advance.
https://news.ycombinator.com/item?id=23025510 https://news.ycombinator.com/item?id=23036604
package demo; import eapi.*;
public class App {
public static void main(String args[]) {
final Led led = Led.init('C', 13); // Port C Pin 13
PushButton pushButton = PushButton.init('A',
8, //Port A Pin 8
GPIO.INPUT_PULL_UP,
GPIO.FALLING_EDGE,
200, //debounce
(time) -> {
Core.println("push button event");
led.flip();
});
while (true) {
Looper.loop();
}
}Analog.inSetup(Analog.IN1); Analog.read(Analog.IN1);
Analog.outSetup(Analog.OUT5); Analog.write(Analog.OUT5, (short)255);
I2C.setup(I2C.I2C2, 400); SPI.setup(SPI.SPI_ID2, 0, SPI.SPI_MODE_3, SPI.SPI_FB_MSB);
References: https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill.html