> On Dec 20, 2015, at 12:22 AM, Dmitri Gribenko via swift-users 
> <swift-us...@swift.org> wrote:
> 
> Regarding the microcontroller that you referenced, I think it would be an 
> overly ambitious goal to try to make everything work with 256 Kb of flash and 
> 32 Kb of RAM.  I would recommend to start with a more powerful bare-metal 
> target

It would be great to get Swift up and running on a beefier ARM system like a 
BeagleBoard or Raspberry Pi 2, or the upcoming C.H.I.P. (The other RPi models 
could be problematic because their CPUs are only ARM6.)

Writing for the bare metal probably isn’t the most effective way to go unless 
your primary goal is to learn — before you can get Swift running you’d need to 
implement a memory allocator, enough concurrency/threading to be able to handle 
I/O interrupts, and drivers for whatever I/O devices you need like USB or WiFi. 
If I were doing a project like this I’d start with a microkernel like FreeRTOS 
or the guts of MINIX3, which provide the above and a bit more.

—Jens
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to