Page 1 of 1

A text editor for ChbiOs

Posted: Tue Jun 15, 2021 6:49 pm
by robert_o
Hello everybody. As a proof of concept i ported the kilo editor to ChibiOs. Kilo Editor.
I used the fatfs + lwip example und deleted all lwip stuff. I used ChibiOs trunk from Chibi Studio 20 on linux mint. I can now edit my config-files which are on the Sd-card without removing it.
since the editor is build as a series of articles it is extremely easy to implement new features (search, syntax highlightning,...) but i find it useful for editing small configfiles with less than 10ish lines.
I basically used the version from the end of chapter five.
Board is a black STM32F407VG ebay Board wich is similar to the olimex H407. In the project i also implemented the moates ostrch (an eprom emulator) protocol over usb-cdc because thats what this project is. An EPROM emulator which can upload multiple files from sdcard wihout computer.

Re: A text editor for ChbiOs

Posted: Tue Jun 15, 2021 7:04 pm
by Giovanni
Hi,

So you are running the editor IN ChibiOS? that is a first for sure :-)

Giovanni

Re: A text editor for ChbiOs

Posted: Tue Jun 15, 2021 7:10 pm
by robert_o
Yes i do. I wanted a possibility to alter the config with a smartphone, a bluetooth connection and a simple terminal program like "Bluetooth terminal" or Serial bluetooth terminal".