From 1f71f33b1ddc434b65d619ec833d58e42a77680e Mon Sep 17 00:00:00 2001 From: lcgamboa Date: Wed, 14 Feb 2024 18:11:59 -0300 Subject: [PATCH] chg: Script update !minor --- CHANGELOG_auto.md | 19 +++++++++++++++++++ Doxyfile | 2 +- TODO.md | 35 ++++++++++++++++++----------------- VERSION | 2 +- bscripts/build_package.sh | 2 +- debian/changelog | 2 +- src/parts/virtual_Text.cc | 2 +- src/picsimlab1.cc | 4 ++-- 8 files changed, 44 insertions(+), 24 deletions(-) diff --git a/CHANGELOG_auto.md b/CHANGELOG_auto.md index 31b36d90b..7201cd0f5 100644 --- a/CHANGELOG_auto.md +++ b/CHANGELOG_auto.md @@ -1,3 +1,22 @@ +## (unreleased) + +### New + +* Add support to use analog values in gpboard (gpsim backend) [lcgamboa] + +* Add I2C support to ESP32C3. [lcgamboa] + +* Add support to PWM outputs for ESP32C3 and STM32 boards. [lcgamboa] + +### Changes + +* Changlog updated. [lcgamboa] + +### Fix + +* Fix path for load rcontrol and debug port from options. [lcgamboa] + + ## v0.9.1 (2023-12-10) ### New diff --git a/Doxyfile b/Doxyfile index f8e6b72f0..011203b26 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "PICSimLab - Programmable IC Simulator Laboratory" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.9.1 +PROJECT_NUMBER = 0.9.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/TODO.md b/TODO.md index 6ecbcc5e2..121a14587 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,24 @@ +### FIXMEs +| Filename | line # | FIXME | +|:------|:------:|:------| +| [src/picsimlab1.cc](src/picsimlab1.cc#L1041) | 1041 | remote control disabled | +| [src/boards/board_uCboard.cc](src/boards/board_uCboard.cc#L298) | 298 | NSTEP must be multiplied for 4 | +| [src/boards/bsim_simavr.cc](src/boards/bsim_simavr.cc#L1595) | 1595 | avr CONFIG size | +| [src/devices/io_MCP23X17.cc](src/devices/io_MCP23X17.cc#L134) | 134 | only for BANK=0; | +| [src/parts/input_MPU6050.cc](src/parts/input_MPU6050.cc#L26) | 26 | remove lxrad | +| [src/parts/input_encoder.cc](src/parts/input_encoder.cc#L171) | 171 | on slow speed output is not 90 degrees | +| [src/parts/output_dcmotor.cc](src/parts/output_dcmotor.cc#L224) | 224 | on slow speed output is not 90 degrees | + ### TODOs | Filename | line # | TODO | |:------|:------:|:------| -| [src/picsimlab4.cc](src/picsimlab4.cc#L413) | 413 | select the better mode for channel trigguer | +| [src/picsimlab4.cc](src/picsimlab4.cc#L416) | 416 | select the better mode for channel trigguer | | [src/boards/board_Arduino_Mega.cc](src/boards/board_Arduino_Mega.cc#L68) | 68 | cboard_Arduino_Mega: add suport to analog inputs A6 and A7 | | [src/boards/board_Arduino_Nano.cc](src/boards/board_Arduino_Nano.cc#L69) | 69 | cboard_Arduino_Nano: add suport to analog inputs A6 and A7 | | [src/boards/board_McLab2.cc](src/boards/board_McLab2.cc#L98) | 98 | jumper support | -| [src/boards/board_PICGenios.cc](src/boards/board_PICGenios.cc#L193) | 193 | TEMP cooler must don't work with AQUE=0 | +| [src/boards/board_PICGenios.cc](src/boards/board_PICGenios.cc#L236) | 236 | TEMP cooler must don't work with AQUE=0 | | [src/boards/board_RemoteTCP.cc](src/boards/board_RemoteTCP.cc#L176) | 176 | define pins | -| [src/boards/bsim_gpsim.cc](src/boards/bsim_gpsim.cc#L153) | 153 | add VCC and GND pins | +| [src/boards/bsim_gpsim.cc](src/boards/bsim_gpsim.cc#L169) | 169 | add VCC and GND pins | | [src/boards/bsim_simavr.cc](src/boards/bsim_simavr.cc#L1210) | 1210 | default output value is not used yet (DOV) | | [src/boards/bsim_simavr.cc](src/boards/bsim_simavr.cc#L1578) | 1578 | avr ID pointer | | [src/boards/bsim_simavr.cc](src/boards/bsim_simavr.cc#L1600) | 1600 | avr ID size | @@ -23,17 +34,7 @@ | [src/devices/ldd_max72xx.cc](src/devices/ldd_max72xx.cc#L88) | 88 | display test | | [src/devices/rtc_ds1307.cc](src/devices/rtc_ds1307.cc#L300) | 300 | int output | | [src/devices/rtc_pfc8563.cc](src/devices/rtc_pfc8563.cc#L282) | 282 | int output and countdown timer | -| [src/parts/input_ds1621.cc](src/parts/input_ds1621.cc#L200) | 200 | set addr | -| [src/parts/input_ds1621.cc](src/parts/input_ds1621.cc#L212) | 212 | implement Tout output | -| [src/parts/other_IO_MCP23S17.cc](src/parts/other_IO_MCP23S17.cc#L379) | 379 | only write support implemented | -| [src/parts/output_dcmotor.cc](src/parts/output_dcmotor.cc#L160) | 160 | Add transfer funcion of dc motor | - -### FIXMEs -| Filename | line # | FIXME | -|:------|:------:|:------| -| [src/boards/board_uCboard.cc](src/boards/board_uCboard.cc#L298) | 298 | NSTEP must be multiplied for 4 | -| [src/boards/bsim_simavr.cc](src/boards/bsim_simavr.cc#L1595) | 1595 | avr CONFIG size | -| [src/devices/io_MCP23X17.cc](src/devices/io_MCP23X17.cc#L134) | 134 | only for BANK=0; | -| [src/lib/picsimlab.cc](src/lib/picsimlab.cc#L1171) | 1171 | remote control disabled | -| [src/parts/input_encoder.cc](src/parts/input_encoder.cc#L163) | 163 | on slow speed output is not 90 degrees | -| [src/parts/output_dcmotor.cc](src/parts/output_dcmotor.cc#L213) | 213 | on slow speed output is not 90 degrees | +| [src/parts/input_ds1621.cc](src/parts/input_ds1621.cc#L206) | 206 | set addr | +| [src/parts/input_ds1621.cc](src/parts/input_ds1621.cc#L218) | 218 | implement Tout output | +| [src/parts/other_IO_MCP23S17.cc](src/parts/other_IO_MCP23S17.cc#L387) | 387 | only write support implemented | +| [src/parts/output_dcmotor.cc](src/parts/output_dcmotor.cc#L171) | 171 | Add transfer funcion of dc motor | diff --git a/VERSION b/VERSION index 0ec2e93d3..044c9d7cf 100644 --- a/VERSION +++ b/VERSION @@ -1,6 +1,6 @@ PACKAGE=picsimlab MAINVER=0 MINORVER=9 -VERSION=0.9.1 +VERSION=0.9.2 DATE=240210 VERSION_STABLE=0.9.1 diff --git a/bscripts/build_package.sh b/bscripts/build_package.sh index 66f1e5d8b..39117fc6f 100755 --- a/bscripts/build_package.sh +++ b/bscripts/build_package.sh @@ -4,7 +4,7 @@ VERSION_="${VERSION}_${DATE}" rm -rf build_all/picsimlab* -sudo apt-get install devscripts debmake debhelper sed +sudo apt-get -y install devscripts debmake debhelper sed git archive --format=tar master > build_all/picsimlab-${VERSION}.tar cd build_all tar --delete -f picsimlab-${VERSION}.tar "docs/kicad" diff --git a/debian/changelog b/debian/changelog index b824c8fc8..61d547497 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -picsimlab (0.9.1-1) UNRELEASED; urgency=low +picsimlab (0.9.2-1) UNRELEASED; urgency=low * Initial release. Closes: #1234 diff --git a/src/parts/virtual_Text.cc b/src/parts/virtual_Text.cc index ed9d639fb..68c43e97b 100644 --- a/src/parts/virtual_Text.cc +++ b/src/parts/virtual_Text.cc @@ -139,7 +139,7 @@ void cpart_TEXT::DrawOutput(const unsigned int i) { Text += "\n" + Lines.at(l); } - SpareParts.CanvasCmd({CC_TEXTONRECT, .TextOnRect{(lxString::FromUTF8(Text)).c_str(), rec, + SpareParts.CanvasCmd({CC_TEXTONRECT, .TextOnRect{(lxString::FromUTF8(Text.c_str())).c_str(), rec, lxALIGN_CENTER | lxALIGN_CENTER_VERTICAL}}); break; } diff --git a/src/picsimlab1.cc b/src/picsimlab1.cc index 8cfe47f4a..1370abae1 100644 --- a/src/picsimlab1.cc +++ b/src/picsimlab1.cc @@ -327,7 +327,7 @@ void CPWindow1::timer2_EvOnTime(CControl* control) { if (PICSimLab.GetErrorCount()) { #ifndef __EMSCRIPTEN__ - Message_sz(lxString::FromUTF8(PICSimLab.GetError(0)), 600, 240); + Message_sz(lxString::FromUTF8(PICSimLab.GetError(0).c_str()), 600, 240); #else printf("Error: %s\n", PICSimLab.GetError(0).c_str()); #endif @@ -1218,7 +1218,7 @@ void CPWindow1::menu1_Help_Board_EvMenuActive(CControl* control) { void CPWindow1::menu1_Help_About_Board_EvMenuActive(CControl* control) { Message_sz("Board " + lxString(boards_list[PICSimLab.GetLab()].name) + "\nDeveloped by " + - lxString::FromUTF8(PICSimLab.GetBoard()->GetAboutInfo()), + lxString::FromUTF8(PICSimLab.GetBoard()->GetAboutInfo().c_str()), 400, 200); }