Jallib 2.0 Beta released

22 views
Skip to first unread message

Matthew Schinkel

unread,
Feb 8, 2025, 5:07:28 PMFeb 8
to jallib
Hi Everyone, Jallib 2.0.0 Beta has been released.

You'll find it at http://justanotherlanguage.org/downloads under beta release
 

Changes since 1.9.0

device files:
 - Added 16f18156.jal, 16f18176.jal.
 - Added 18f06q20.jal, 18f16q20.jal.
 - Added 18f24q24.jal, 18f25q24.jal, 18f26q24.jal, 18f45q24.jal, 18f46q24.jal,
         18f55q24.jal, 18f56q24.jal.
 - Added 16f13113.jal, 16f13114.jal, 16f13115.jal,
         16f13123.jal, 16f13124.jal, 16f13125.jal,
         16f13143.jal, 16f13144.jal, 16f13145.jal.
 - Added 18f24q71.jal, 18f25q71.jal.
 - Added 18f44q71.jal, 18f45q71.jal, 18f54q71.jal, 18f55q71.jal.
 - Added 16f18013.jal, 16f18014.jal, 16f18023.jal, 16f18024.jal.
 
externals:
 - Added library mcp23s08.jal. 8-bit i/o expander with spi interface.
 - Added library mcp23008.jal. 8-bit i/o expander with i2c interface.
 - Added library bmp180.jal. Temperature and pressure sensor.
 - Added library as5600l.jal. 12-bit Programmable On-Axis Magnetic Rotary Position Sensor
 - Update of nrf905.jal. Moved SPI initialization to sample file and removed from library.
   Note: This results in a breaking change is you have used the previous version.
 - Update of nr24l01.jal. Moved SPI initialization to sample file and removed from library.
   Note: This results in a breaking change is you have used the previous version.

 
filesystem:
 -

compiler:
 - Added new compiler, version jalv25r9, fixing compiler issues #33 and #35.
 
jal:
 -

networking:
 -

peripherals:
 - Update of pwm_pwm1.jal, pwm_pwm2.jal, pwm_pwm3.jal, pwm_pwm4.jal, pwm_pwm5.jal, pwm_pwm6.jal.
   Added 16-bit PWM functionality in addition to the existing 10-bit PWM functionality.
   Fixing jallib issue#208.
 - Added pwm_pwm7.jal, pwm_pwm8.jal, pwm_pwm9.jal, pwm_pwm10.jal, pwm_pwm11.jal, pwm_pwm12.jal
   Includes 10-bit PWM and 16-bit PWM. Fixing jallib issue#208.
 - Update of pwm_hardware.jal. Added PWM7..PWM12. Fixing jallib issue#208.
 - Update of pwm_common.jal. Added 16-bit PWM functionality and extended the prescaler ranges.
   2-bit prescaler was extended with prescale 64 and 3-bit prescaler supports prescale 1..128.
 - Update of adc.jal. Supporting PIC with channel/group registers (e.g. pic18f4431).
 - Update of i2c_hardware.jal. Added i2c timeout option and variable i2c bus speed option.
 - Update of serial_hardware.jal and serial_hw_int_cts.jalto support newer PIC
   (e.g the 18f06q20, 18f16q20).

projects:
 -
 
protocols:
 -

samples:
 - Added 16f1455_pwm1_led.jal, 16f1455_pwm2_led.jal.
 - Added 16f1579_pwm1_16_bit_led.jal, 16f1579_pwm2_16_bit_led.jal, 16f1579_pwm3_16_bit_led.jal,
         16f1579_pwm4_16_bit_led.jal.
 - Added 16f1777_pwm10_led.jal.
 - Added 16f1778_pwm3_led.jal, 16f1778_pwm4_led.jal, 16f1778_pwm5_16_bit_led.jal,
         16f1778_pwm6_16_bit_led.jal, 16f1778_pwm9_led.jal, 16f1778_pwm11_16_bit_led.jal.
 - Added 16f1779_pwm12_16_bit_led.jal.
 - Added 18f26k42_pwm5_led.jal, 18f26k42_pwm7_led.jal,1 18f26k42_pwm7_led.jal
         18f26k42_pwm8_led.jal.
 - Added 16f1825_mcp23s08.jal. Sample program for mcp23s08 8-bit i/o expander with spi interface.
 - Added 16f1825_mcp23o08.jal. Sample program for mcp23p08 8-bit i/o expander with i2c interface.
 - Added 16f18156_blink_hs.jal, 16f18156_blink_intosc.jal,
         16f18176_blink_hs.jal, 16f18176_blink_intosc.jal.
 - Added 18f06q20_blink_hs.jal, 18f06q20_blink_intosc.jal,
         18f16q20_blink_hs.jal, 18f16q20_blink_intosc.jal.
 - Added 18f24q24_blink_hs.jal, 18f24q24_blink_intosc.jal,
         18f25q24_blink_hs.jal, 18f25q24_blink_intosc.jal,
         18f26q24_blink_hs.jal, 18f26q24_blink_intosc.jal,
         18f45q24_blink_hs.jal, 18f45q24_blink_intosc.jal,
         18f46q24_blink_hs.jal, 18f46q24_blink_intosc.jal,
         18f55q24_blink_hs.jal, 18f55q24_blink_intosc.jal,
         18f56q24_blink_hs.jal, 18f46q24_blink_intosc.jal.
 - Added 16f13113_blink_hs.jal, 16f13113_blink_intosc.jal,
         16f13114_blink_hs.jal, 16f13114_blink_intosc.jal,
         16f13115_blink_hs.jal, 16f13115_blink_intosc.jal,
         16f13123_blink_hs.jal, 16f13123_blink_intosc.jal,
         16f13124_blink_hs.jal, 16f13124_blink_intosc.jal,
         16f13125_blink_hs.jal, 16f13125_blink_intosc.jal,
         16f13143_blink_hs.jal, 16f13143_blink_intosc.jal,
         16f13144_blink_hs.jal, 16f13144_blink_intosc.jal,
         16f13145_blink_hs.jal, 16f13145_blink_intosc.jal.
 - Added 16f1825_bmp180.jal. Sample program for bmp180 temperature and pressure sensor.
 - Added 16f1825_as5600l.jal. Sample program for 12-bit Programmable On-Axis Magnetic
         Rotary Position Sensor. Supports both AS5600 and AS5600L.
 - Added 18f24q71_blink_hs.jal, 18f24q71_blink_intosc.jal,
         18f25q71_blink_hs.jal, 18f25q71_blink_intosc.jal.
 - Added 18f44q71_blink_hs.jal, 18f44q71_blink_intosc.jal,
         18f45q71_blink_hs.jal, 18f45q71_blink_intosc.jal,
         18f54q71_blink_hs.jal, 18f54q71_blink_intosc.jal,
         18f55q71_blink_hs.jal, 18f55q71_blink_intosc.jal.
 - Added 16f18013_blink_intosc.jal, 16f18014_blink_intosc.jal,
         16f18023_blink_intosc.jal, 16f18024_blink_intosc.jal.
 - Update of 16f1823_nrf905. jal and 16f1825_nrf905.jal, added SPI initialization.
 - Added 18f16q20_serial_hardware.jal. New sample to support update of serial_hardware.jal
 - Update of 16f1823_nr24l01. jal and 16f1825_nrf24l01.jal, added SPI initialization.
 - Added 18f1829_nrf24l01.jal for use of nrf24l01.jal with SPI hardware 2.
 
documentation:
 - Update of Jallib_Tutorial_book.pdf.
 
tools:
 - Update of all-in-one.py, blink-a-led.py, mplabxtract.py, pic2jal.py, picjal_enviroment.py,
   pinmap_create.py, xmltree.py. Script cleanup and added multiprocessor functionality.

vsurducan

unread,
Feb 9, 2025, 1:26:28 AMFeb 9
to jal...@googlegroups.com
Cool, thx!
I'm curious how has been solved the glitches issues on 16bit pwm due reload registers moment.

--
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 jallib+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jallib/fdf335e0-9a28-45d4-ac20-d43055e423c7n%40googlegroups.com.

Rob CJ

unread,
Feb 9, 2025, 3:03:25 AMFeb 9
to jal...@googlegroups.com
Hi Matt,

Thanks. 

Downloaded and intstalled it. Seems to work fine.

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens vsurducan <vsur...@gmail.com>
Verzonden: zondag 9 februari 2025 07:26
Aan: jal...@googlegroups.com <jal...@googlegroups.com>
Onderwerp: Re: [jallib] Jallib 2.0 Beta released
 

Rob CJ

unread,
Feb 9, 2025, 3:04:49 AMFeb 9
to jal...@googlegroups.com
Hi Vasile,

About your remark on PWM. Has there been any problem?

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens vsurducan <vsur...@gmail.com>
Verzonden: zondag 9 februari 2025 07:26
Aan: jal...@googlegroups.com <jal...@googlegroups.com>
Onderwerp: Re: [jallib] Jallib 2.0 Beta released
 

vsurducan

unread,
Feb 9, 2025, 4:22:11 AMFeb 9
to jal...@googlegroups.com
Hi Rob,
I did not used the 16bit PWM libraries so far, so I do not know. But I was not able yet to have a clean PWM on 16bit, fixed frequency and 50% duty cycle output if PWM registers were loaded with a 10bit ADC result.  At each PWM registers reload there is at least one period missing. So I'm curious about these libraries. Thx.

Pinhead

unread,
Feb 9, 2025, 8:14:11 AMFeb 9
to jal...@googlegroups.com

Thank you Matt, Rob, and all those who have contributed to make jal "NOT Just Another Language" ;-)

Kr,

D.


Le 09-02-25 à 10:26, vsurducan a écrit :
Reply all
Reply to author
Forward
0 new messages