{"action":"created","issue":{"url":"https://api.github.com/repos/elua/elua/issues/72","labels_url":"https://api.github.com/repos/elua/elua/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/elua/elua/issues/72/comments","events_url":"https://api.github.com/repos/elua/elua/issues/72/events","html_url":"https://github.com/elua/elua/issues/72","id":111674747,"number":72,"title":"Add support for Teensy 3 - Cortex-M4, MK20DX128VLH5 / MK20DX256VLH7","user":{"login":"oddstr13","id":638706,"avatar_url":"https://avatars.githubusercontent.com/u/638706?v=3","gravatar_id":"","url":"https://api.github.com/users/oddstr13","html_url":"https://github.com/oddstr13","followers_url":"https://api.github.com/users/oddstr13/followers","following_url":"https://api.github.com/users/oddstr13/following{/other_user}","gists_url":"https://api.github.com/users/oddstr13/gists{/gist_id}","starred_url":"https://api.github.com/users/oddstr13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddstr13/subscriptions","organizations_url":"https://api.github.com/users/oddstr13/orgs","repos_url":"https://api.github.com/users/oddstr13/repos","events_url":"https://api.github.com/users/oddstr13/events{/privacy}","received_events_url":"https://api.github.com/users/oddstr13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-15T18:08:22Z","updated_at":"2015-10-16T15:12:20Z","closed_at":null,"body":"Would it be feasible to add support for the Teensy 3.1/3.2 boards?\r\n\r\nTeensy 3 is an Arduino compatible development board. Arduino cor\r\n\r\nARM Cortex-M4, 72 MHz standard, 96 MHz overclocked\r\n64kB RAM\r\n256kB flash\r\n2kB EEPROM\r\nUSB, Serial, SPI, I2C, CAN, I2S, GPIO\r\n3.3V, most pins are 5V tolerant (a few exceptions)\r\nRTC if optional clock crystal and backup battery is added.\r\n\r\nI2S \"soundcard\" is available in the pjrc store, so is a 320x240 color display.\r\n\r\n\r\n * [Specs overview](http://www.pjrc.com/teensy/teensy31.html#specs)\r\n * [Datasheets](http://www.pjrc.com/teensy/datasheets.html)\r\n * [Schematics](http://www.pjrc.com/teensy/schematic.html)\r\n * [Teensy 3.2 - PJRC store - $19.80](http://www.pjrc.com/store/teensy32.html)\r\n * [Teensy 3 Arduino core code](https://github.com/PaulStoffregen/cores/tree/master/teensy3)\r\n * [Better SPI Bus Design in 3 Steps by Paul Stoffregen](http://dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps) (just for for further reference)\r\n\r\n\r\nI have a little experience with C/C++ from a few Arduino projects, but otherwise not too much experience with the language. My main programming language is Python, and I know a fair bit of Lua from playing with the [ComputerCraft Minecraft mod](http://www.computercraft.info/). My goal would be to create something similar to ComputerCraft with real hardware.\r\nI would be able to do some work on the porting to Teensy3, but I currently have little experience with C/C++, and no experience with eLua. No experience with bare-metal programming of ARM chips (or other microcontrollers).\r\nI can however donate a Teensy 3.2 to someone who have good understanding of the internal workings of eLua, that would like to help with the porting and testing.\r\n\r\n---\r\nOddstr13"},"comment":{"url":"https://api.github.com/repos/elua/elua/issues/comments/148742775","html_url":"https://github.com/elua/elua/issues/72#issuecomment-148742775","issue_url":"https://api.github.com/repos/elua/elua/issues/72","id":148742775,"user":{"login":"dadosutter","id":240784,"avatar_url":"https://avatars.githubusercontent.com/u/240784?v=3","gravatar_id":"","url":"https://api.github.com/users/dadosutter","html_url":"https://github.com/dadosutter","followers_url":"https://api.github.com/users/dadosutter/followers","following_url":"https://api.github.com/users/dadosutter/following{/other_user}","gists_url":"https://api.github.com/users/dadosutter/gists{/gist_id}","starred_url":"https://api.github.com/users/dadosutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadosutter/subscriptions","organizations_url":"https://api.github.com/users/dadosutter/orgs","repos_url":"https://api.github.com/users/dadosutter/repos","events_url":"https://api.github.com/users/dadosutter/events{/privacy}","received_events_url":"https://api.github.com/users/dadosutter/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T15:12:20Z","updated_at":"2015-10-16T15:12:20Z","body":"Not exactly an elegant answer IMHO, as the question was only about the\nfeasibility for now.\n\nBased on the specs it would be a Yes, the CortexM4 port with some custom\nadaptations would do.\n\nThank you for your interest Odd and you for the help Martin.\n\nDado\n\n\nOn Oct 16, 2015 12:07 AM, \"Martin Guy\" <notifications@github.com> wrote:\n\n> Mmm. Do you have any money to buy people's time for this?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/elua/elua/issues/72#issuecomment-148585613>.\n>\n"}}