The STM8 has good support in SDCC  C compiler. STM32 has C++ support in
gcc? Not sure...

Anyway, I thought also of using JAL to generate assembler source for some
PIC24HJ compilers - assembler source that can be compiled by the standalone
ASM30 assembler suite (exclusive Linux user here), supporting the micros
that Basic Firewing supports. Never started the project that probably would
need some assembler tokens equivalence and creating new tokens and dropping
the part where it generates "the executable". I think this is the best (and
faster) way to extend the JAL language to other families of
microcontrollers.

I never started with STM8, I think PIC & AVR are still a good alternative
and for STM32, I use C language mainly but for some STM32 families out
there PIC24 and dsPIC33 are even better (28pin DIP case, 5Vcc native, good
speed and I think even 1 cycle execution - the newer series).



On Mon, May 25, 2020 at 2:39 PM Richard Soderblom <[email protected]>
wrote:

> Sounds like a challenge :-)
>
> I have never written a compiler yet, so maybe I'll give it a bash if I can
> scrape the required time together.
>
> There are a few C++ compilers for them. Don't think any are open source
> though that I can poke around. Also, while I know a number of languages
> with C#, C++ and JAL just being a few of them, I don't know anything about
> assembly. Not looking forward to learning that one either lol :-)
>
> Thanks for the info. I will continue playing with the PICs for the time
> being.
>
> Best Regards,
> *Richard Soderblom*
>
>
> *My book:Information Security for the Small Business:*
>
> *is now available on Amazon in Paperback!
> <http://www.amazon.com/gp/product/1508789177/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1508789177&linkCode=as2&tag=coachincom-20&linkId=DNZOC7OBCWPKLGGT>*
>
> *And also av
> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>ailable
> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>in
> Kindle format on Amazon
> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>.*
> [image: cloudHQ]
> <https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>
>  Powered
> by
> cloudHQ
> <https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>
>
>
> On Mon, May 25, 2020 at 10:49 AM Rob CJ <[email protected]> wrote:
>
>> Hi Richard,
>>
>> Thanks and good to hear.
>>
>> Supporting the STM processor with JAL would require a huge amount of
>> work, to be more specific:
>>
>>    - Updating the compiler. I know that Kyle has split the code
>>    generation part so that part should be rewritten completely.
>>    - Generating device files for these controllers. That would require
>>    rewriting all Python scripts that Rob Hamerling made and it need to be
>>    sorted out how they provide the info of the chips. Currently XML files 
>> from
>>    Microchip are used as input to generate the device file.
>>
>> Although I do maintain the JAL compiler to fix bugs, it would require a
>> lot of studying to get it working for another controller (if I could figure
>> it out at all). So nice suggestion but I think this is currently not doable
>> for me.
>>
>> So please continue with your PICs (I have becoming a big fan of them) 🙂.
>>
>> Kind regards,
>>
>> Rob
>> ------------------------------
>> *Van:* [email protected] <[email protected]> namens Richard
>> Soderblom <[email protected]>
>> *Verzonden:* maandag 25 mei 2020 08:47
>> *Aan:* [email protected] <[email protected]>
>> *Onderwerp:* Re: [jallib] Any JAL requests?
>>
>> Hi Rob.
>>
>> Thank you for all your great work!
>>
>> I haven't touched JAL in a few years. Actually I haven't really touched
>> electronics dev in awhile.
>>
>> You have got me itching to bust open the crates with all my stuff in it
>> and get hacking again. I have a bunch of low and mid-spec PIC's around
>> somewhere. even have a few of the good ol' F877.
>>
>> Keep it up :-)
>>
>> Any idea on if JAL will be supporting other architectures? I see the
>> STM32 series have some good bang for the buck in terms of value. Would love
>> to see the JAL compiler support the STM8 - STM32.
>>
>> Best Regards,
>> *Richard Soderblom*
>>
>>
>> *My book: Information Security for the Small Business: *
>>
>> *is now available on Amazon in Paperback!
>> <http://www.amazon.com/gp/product/1508789177/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1508789177&linkCode=as2&tag=coachincom-20&linkId=DNZOC7OBCWPKLGGT>
>> *
>>
>> *And also av
>> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>ailable
>> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>in
>> Kindle format on Amazon
>> <http://www.amazon.com/gp/product/B00UFD8856/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00UFD8856&linkCode=as2&tag=coachincom-20&linkId=G24HKL7XHPM6JQPJ>.
>> *
>> [image: cloudHQ]
>> <https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>
>>  Powered
>> by
>> cloudHQ
>> <https://chrome.google.com/webstore/detail/free-email-tracker/nknojfclnachdkpdkjbbhbkgpnladhnj>
>>
>>
>> On Sun, May 24, 2020 at 12:16 PM RobJ <[email protected]> wrote:
>>
>> Hi All,
>>
>> Since I am running out of JAL projects and I want to spend a part of my
>> free time on improving the JAL experience so I am wondering if there are
>> any specific JAL library requests or other JAL requests.
>>
>> Currently I am working on a library for the TM1637 but I am waiting for
>> the components to arrive to that I can test it after which I will add the
>> library to Jallib.
>>
>> I was thinking of a library for the LoRa chip RFM95 and use the Adafruit
>> TinyLora Arduino Library as starting point but if there is no need for it I
>> could spend my time better on other JAL improvements.
>>
>> So if you have suggestions, let me know.
>>
>> Thanks
>>
>> Kind regards,
>>
>> Rob
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "jallib" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jallib/82c6dd72-24af-4667-beae-5248e7460dd3%40googlegroups.com
>> <https://groups.google.com/d/msgid/jallib/82c6dd72-24af-4667-beae-5248e7460dd3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "jallib" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jallib/CAKEvGyi76mhiDxY-wwTPCCZmD-_QEdhqx9qFQiODwMrQsvd9xw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jallib/CAKEvGyi76mhiDxY-wwTPCCZmD-_QEdhqx9qFQiODwMrQsvd9xw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "jallib" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jallib/AM0PR07MB62413CDCC602755F1C79305EE6B30%40AM0PR07MB6241.eurprd07.prod.outlook.com
>> <https://groups.google.com/d/msgid/jallib/AM0PR07MB62413CDCC602755F1C79305EE6B30%40AM0PR07MB6241.eurprd07.prod.outlook.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jallib/CAKEvGyi8oyrPrm6Tb1VRuJv-7e9Fx5xzZuGMVLmMMFmKK8KHBg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jallib/CAKEvGyi8oyrPrm6Tb1VRuJv-7e9Fx5xzZuGMVLmMMFmKK8KHBg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Vasi

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CABsDq%3D_mU8NQgt_y%2By2qEM80Xr8wnqFfTQQ1hdWy_0uz%2BbjOBw%40mail.gmail.com.

Reply via email to