ESP8266 Developer Zone The Official ESP8266 Forum 2017-02-06T11:31:24+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=3299 2017-02-06T11:31:24+08:00 2017-02-06T11:31:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3299&p=11247#p11247 <![CDATA[Re: Direct programming: no os?]]>
Consequently, the best way to program ESP8266 is to use the API functions. They are efficient and need some getting used to. Believe me, I still have a tough time when I cannot access registers.

By the way, try out the ESP32 - it is just what you want. ;)

Statistics: Posted by Guest — Mon Feb 06, 2017 11:31 am


]]>
2017-01-28T09:54:49+08:00 2017-01-28T09:54:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3299&p=11195#p11195 <![CDATA[Direct programming: no os?]]>
I'm working through "AVR Programming" by Elliot Williams. What' I'm hoping to do, is be able to recreate the projects using the ESP8266 instead of the Atmel chip.

One difference I find with the code Elliot writes for the Atmel chip is he assigns values directly to memory registers. An example of this can be found in the first exercise for toggling an LED: https://github.com/hexagon5un/AVR-Progr ... blinkLED.c

My question is, how can I mimic this style of AVR programming on the ESP8266--without using the higher level functions exposed in either of the provided OSs. Is the ESP8266 programmed in a similar manner outlined above?

Thanks you!

Statistics: Posted by noumes — Sat Jan 28, 2017 9:54 am


]]>