Forum > Embedded - ARM

[ARM,LPC1114] First steps

(1/3) > >>

devport:
Hello,

Inspired from
http://j-software.dk/
thank you very much! Good Job

I'm writing libraries under LPC1114.
If anyone was interested, I share my codes.
FreePascal is suitable for embedded devices.
I am living proof of this.

I am aware of the possibility of making mistakes in the code. Be careful.

https://github.com/devport/LPC1114

Soon I will also make Lazarus projects available and support for the ETHERNET ENC28J60 module

Best regards to the FreePascal community

MiR:
Nice work!

One hint, every Cortex-M CPU has an independent timer that is usually used for creating SysTick. By using that one you can use the chip specific timers for other purposes

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/Bhccjgga.html



devport:
Available sources were to run external modules (OLED, temperature sensor) at the moment. I did not focus on configurability, expansion of the uC peripherals. In the near future, however, I will come back to this.

I will show SysTick while creating a multitasking library.
But that soon.

Thaddy:
Nice code.
Tip: using trunk you should be able to use the bittwiddlers that are now in trunk:
setbit()
clearbit()
ToggleBit()
and TestBit()

devport:
Thaddy:
these functions use SysUtils which is not useful for me. (SysUtils adds kB of code to hex)

Navigation

[0] Message Index

[#] Next page

Go to full version