Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : PicoMite V5.07.08 betas
Page 5 of 11 | |||||
Author | Message | ||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
gpio.c C:\homa\PicoMite\pico-sdk\lib\btstack\port\msp432p401lp-cc256x\ti\devices\msp432p4xx\driverlib C:\homa\PicoMite\pico-sdk\lib\btstack\port\stm32-f4discovery-cc256x\Src C:\homa\PicoMite\pico-sdk\src\host\hardware_gpio --> C:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_gpio spi.h C:\homa\PicoMite\pico-sdk\lib\btstack\port\stm32-f4discovery-cc256x\Inc C:\homa\PicoMite\pico-sdk\src\rp2040\hardware_regs\include\hardware\regs C:\homa\PicoMite\pico-sdk\src\rp2040\hardware_structs\include\hardware\structs --> C:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_spi\include\hardware OK, I have found the two correct files. See above. It works fine now and I can compile it to PicoMite.uf2. But I have not yet achieved the ultimate goal of creating the WebMite version. How do I add these files to the Visual Studio Code? Or do I need to copy all the files from PicoMite and WebMite into one directory first? Please let me know, thanks! Matthias |
||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
Unfortunately not [main] Building folder: PicoMiteWeb [build] Starting build [proc] Executing command: chcp [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build c:/homa/PicoMite/PicoMiteWeb/build --config Release --target all -j 18 -- [build] Warning: NMake does not support parallel builds. Ignoring parallel build command line option. [build] [ 0%] Creating directories for 'ELF2UF2Build' [build] [ 1%] No download step for 'ELF2UF2Build' [build] [ 1%] No update step for 'ELF2UF2Build' [build] [ 2%] No patch step for 'ELF2UF2Build' [build] [ 2%] Performing configure step for 'ELF2UF2Build' [build] -- The C compiler identification is MSVC 19.36.32537.0 [build] -- The CXX compiler identification is MSVC 19.36.32537.0 [build] -- Detecting C compiler ABI info [build] -- Detecting C compiler ABI info - done [build] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe - skipped [build] -- Detecting C compile features [build] -- Detecting C compile features - done [build] -- Detecting CXX compiler ABI info [build] -- Detecting CXX compiler ABI info - done [build] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe - skipped [build] -- Detecting CXX compile features [build] -- Detecting CXX compile features - done [build] -- Configuring done (1.4s) [build] -- Generating done (0.0s) [build] -- Build files have been written to: C:/homa/PicoMite/PicoMiteWeb/build/elf2uf2 [build] [ 2%] Performing build step for 'ELF2UF2Build' [build] [build] Microsoft (R) Program Maintenance Utility, Version 14.36.32537.0 [build] Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. [build] [build] [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.obj [build] main.cpp [build] C:\homa\PicoMite\pico-sdk\tools\elf2uf2\main.cpp(391): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [build] C:\homa\PicoMite\pico-sdk\tools\elf2uf2\main.cpp(397): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [build] [100%] Linking CXX executable elf2uf2.exe [build] [100%] Built target elf2uf2 [build] [ 2%] No install step for 'ELF2UF2Build' [build] [ 2%] Completed 'ELF2UF2Build' [build] [ 2%] Built target ELF2UF2Build [build] [ 2%] Building ASM object CMakeFiles/slower_boot2.dir/C_/homa/PicoMite/pico-sdk/src/rp2_common/boot_stage2/compile_time_choice.S.obj [build] [ 3%] Linking ASM executable slower_boot2.elf [build] [ 3%] Built target slower_boot2 [build] [ 4%] Generating slower_boot2.bin [build] [ 4%] Generating slower_boot2_padded_checksummed.S [build] [ 4%] Built target slower_boot2_padded_checksummed_asm [build] [ 5%] Creating directories for 'PioasmBuild' [build] [ 5%] No download step for 'PioasmBuild' [build] [ 5%] No update step for 'PioasmBuild' [build] [ 5%] No patch step for 'PioasmBuild' [build] [ 5%] Performing configure step for 'PioasmBuild' [build] loading initial cache file C:/homa/PicoMite/PicoMiteWeb/build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/tmp/PioasmBuild-cache-Release.cmake [build] CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): [build] Compatibility with CMake < 3.5 will be removed from a future version of [build] CMake. [build] [build] Update the VERSION argument <min> value or use a ...<max> suffix to tell [build] CMake that the project does not need compatibility with older versions. [build] [build] [build] -- The CXX compiler identification is MSVC 19.36.32537.0 [build] -- Detecting CXX compiler ABI info [build] -- Detecting CXX compiler ABI info - done [build] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe - skipped [build] -- Detecting CXX compile features [build] -- Detecting CXX compile features - done [build] -- Configuring done (0.7s) [build] -- Generating done (0.0s) [build] -- Build files have been written to: C:/homa/PicoMite/PicoMiteWeb/build/pioasm [build] [ 6%] Performing build step for 'PioasmBuild' [build] [build] Microsoft (R) Program Maintenance Utility, Version 14.36.32537.0 [build] Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. [build] [build] [ 10%] Building CXX object CMakeFiles/pioasm.dir/main.cpp.obj [build] main.cpp [build] [ 20%] Building CXX object CMakeFiles/pioasm.dir/pio_assembler.cpp.obj [build] pio_assembler.cpp [build] [ 30%] Building CXX object CMakeFiles/pioasm.dir/pio_disassembler.cpp.obj [build] pio_disassembler.cpp [build] [ 40%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.obj [build] lexer.cpp [build] [ 50%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.obj [build] parser.cpp [build] [ 60%] Building CXX object CMakeFiles/pioasm.dir/c_sdk_output.cpp.obj [build] c_sdk_output.cpp [build] [ 70%] Building CXX object CMakeFiles/pioasm.dir/python_output.cpp.obj [build] python_output.cpp [build] [ 80%] Building CXX object CMakeFiles/pioasm.dir/hex_output.cpp.obj [build] hex_output.cpp [build] [ 90%] Building CXX object CMakeFiles/pioasm.dir/ada_output.cpp.obj [build] ada_output.cpp [build] [100%] Linking CXX executable pioasm.exe [build] [100%] Built target pioasm [build] [ 6%] No install step for 'PioasmBuild' [build] [ 6%] Completed 'PioasmBuild' [build] [ 6%] Built target PioasmBuild [build] [ 6%] Generating cyw43_bus_pio_spi.pio.h [build] [ 6%] Built target cyw43_driver_picow_cyw43_bus_pio_spi_pio_h [build] [ 6%] Building C object CMakeFiles/PicoMiteWeb.dir/PicoMite.c.obj [build] C:\homa\PicoMite\PicoMiteWeb\PicoMite.c: In function 'main': [build] C:\homa\PicoMite\PicoMiteWeb\PicoMite.c:1891:5: warning: implicit declaration of function 'InitDisplaySSD'; did you mean 'InitDisplaySPI'? [-Wimplicit-function-declaration] [build] 1891 | InitDisplaySSD(); [build] | ^~~~~~~~~~~~~~ [build] | InitDisplaySPI [build] C:\Users\homa\AppData\Local\Temp\ccU1PXCw.s: Assembler messages: [build] C:\Users\homa\AppData\Local\Temp\ccU1PXCw.s:8087: Warning: ignoring changed section attributes for .text [build] [ 6%] Building C object CMakeFiles/PicoMiteWeb.dir/regex.c.obj [build] [ 7%] Building C object CMakeFiles/PicoMiteWeb.dir/MMBasic.c.obj [build] [ 7%] Building C object CMakeFiles/PicoMiteWeb.dir/Operators.c.obj [build] [ 7%] Building C object CMakeFiles/PicoMiteWeb.dir/Custom.c.obj [build] [ 8%] Building C object CMakeFiles/PicoMiteWeb.dir/Functions.c.obj [build] [ 8%] Building C object CMakeFiles/PicoMiteWeb.dir/Commands.c.obj [build] [ 8%] Building C object CMakeFiles/PicoMiteWeb.dir/Memory.c.obj [build] [ 8%] Building C object CMakeFiles/PicoMiteWeb.dir/FileIO.c.obj [build] [ 9%] Building C object CMakeFiles/PicoMiteWeb.dir/ff.c.obj [build] [ 9%] Building C object CMakeFiles/PicoMiteWeb.dir/ffsystem.c.obj [build] [ 9%] Building C object CMakeFiles/PicoMiteWeb.dir/ffunicode.c.obj [build] [ 10%] Building C object CMakeFiles/PicoMiteWeb.dir/mmc_stm32.c.obj [build] [ 10%] Building C object CMakeFiles/PicoMiteWeb.dir/Draw.c.obj [build] [ 10%] Building C object CMakeFiles/PicoMiteWeb.dir/Editor.c.obj [build] [ 10%] Building C object CMakeFiles/PicoMiteWeb.dir/XModem.c.obj [build] [ 11%] Building C object CMakeFiles/PicoMiteWeb.dir/MM_Misc.c.obj [build] C:\homa\PicoMite\PicoMiteWeb\MM_Misc.c: In function 'cmd_option': [build] C:\homa\PicoMite\PicoMiteWeb\MM_Misc.c:2533:37: warning: implicit declaration of function 'ConfigDisplaySSD'; did you mean 'ConfigDisplaySPI'? [-Wimplicit-function-declaration] [build] 2533 | if(!Option.DISPLAY_TYPE)ConfigDisplaySSD(tp); [build] | ^~~~~~~~~~~~~~~~ [build] | ConfigDisplaySPI [build] [ 11%] Building C object CMakeFiles/PicoMiteWeb.dir/External.c.obj [build] [ 11%] Building C object CMakeFiles/PicoMiteWeb.dir/MATHS.c.obj [build] [ 12%] Building C object CMakeFiles/PicoMiteWeb.dir/Onewire.c.obj [build] [ 12%] Building C object CMakeFiles/PicoMiteWeb.dir/I2C.c.obj [build] [ 12%] Building C object CMakeFiles/PicoMiteWeb.dir/SPI.c.obj [build] [ 12%] Building C object CMakeFiles/PicoMiteWeb.dir/Serial.c.obj [build] [ 13%] Building C object CMakeFiles/PicoMiteWeb.dir/SPI-LCD.c.obj [build] [ 13%] Building C object CMakeFiles/PicoMiteWeb.dir/BmpDecoder.c.obj [build] [ 13%] Building C object CMakeFiles/PicoMiteWeb.dir/Touch.c.obj [build] [ 14%] Building C object CMakeFiles/PicoMiteWeb.dir/GPS.c.obj [build] [ 14%] Building C object CMakeFiles/PicoMiteWeb.dir/Audio.c.obj [build] [ 14%] Building C object CMakeFiles/PicoMiteWeb.dir/CFunction.c.obj [build] [ 14%] Building C object CMakeFiles/PicoMiteWeb.dir/Keyboard.c.obj [build] [ 15%] Building C object CMakeFiles/PicoMiteWeb.dir/SSD1963.c.obj [build] C:\homa\PicoMite\PicoMiteWeb\SSD1963.c: In function 'InitDisplaySSD': [build] C:\homa\PicoMite\PicoMiteWeb\SSD1963.c:226:21: error: 'DrawRectangleSSD1963' undeclared (first use in this function); did you mean 'DrawRectangleSPI'? [build] 226 | DrawRectangle = DrawRectangleSSD1963; [build] | ^~~~~~~~~~~~~~~~~~~~ [build] | DrawRectangleSPI [build] C:\homa\PicoMite\PicoMiteWeb\SSD1963.c:226:21: note: each undeclared identifier is reported only once for each function it appears in [build] C:\homa\PicoMite\PicoMiteWeb\SSD1963.c: In function 'SetBacklightSSD1963': [build] C:\homa\PicoMite\PicoMiteWeb\SSD1963.c:393:5: error: 'display_backlight' undeclared (first use in this function) [build] 393 | display_backlight = intensity/5; // this is used in timer.c [build] | ^~~~~~~~~~~~~~~~~ [build] NMAKE : fatal error U1077: "C:\PROGRA~2\ARMGNU~1\12DBAB~1.2RE\bin\AR19DD~1.EXE -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DCFG_TUSB_OS=OPT_OS_PICO -DCYW43_LWIP=1 -DLIB_PICO_ASYNC_CONTEXT_POLL=1 -DLIB_PICO_BIT_OPS=1 -DLIB_PICO_BIT_OPS_PICO=1 -DLIB_PICO_CYW43_ARCH=1 -DLIB_PICO_DIVIDER=1 -DLIB_PICO_DIVIDER_HARDWARE=1 -DLIB_PICO_DOUBLE=1 -DLIB_PICO_DOUBLE_PICO=1 -DLIB_PICO_FIX_RP2040_USB_DEVICE_ENUMERATION=1 -DLIB_PICO_FLOAT=1 -DLIB_PICO_FLOAT_PICO=1 -DLIB_PICO_INT64_OPS=1 -DLIB_PICO_INT64_OPS_PICO=1 -DLIB_PICO_MALLOC=1 -DLIB_PICO_MEM_OPS=1 -DLIB_PICO_MEM_OPS_PICO=1 -DLIB_PICO_PLATFORM=1 -DLIB_PICO_PRINTF=1 -DLIB_PICO_PRINTF_PICO=1 -DLIB_PICO_RAND=1 -DLIB_PICO_RUNTIME=1 -DLIB_PICO_STANDARD_LINK=1 -DLIB_PICO_STDIO=1 -DLIB_PICO_STDIO_USB=1 -DLIB_PICO_STDLIB=1 -DLIB_PICO_SYNC=1 -DLIB_PICO_SYNC_CRITICAL_SECTION=1 -DLIB_PICO_SYNC_MUTEX=1 -DLIB_PICO_SYNC_SEM=1 -DLIB_PICO_TIME=1 -DLIB_PICO_UNIQUE_ID=1 -DLIB_PICO_UTIL=1 -DMBEDTLS_CONFIG_FILE=\"mbedtls_config.h\" -DPICO_BOARD=\"pico_w\" -DPICO_BUILD=1 -DPICO_BUILD_BOOT_STAGE2_NAME=\"compile_time_choice\" -DPICO_CMAKE_BUILD_TYPE=\"Release\" -DPICO_COPY_TO_RAM=0 -DPICO_CXX_ENABLE_EXCEPTIONS=0 -DPICO_CYW43_ARCH_POLL=1 -DPICO_NO_FLASH=0 -DPICO_NO_HARDWARE=0 -DPICO_ON_DEVICE=1 -DPICO_RP2040_USB_DEVICE_UFRAME_FIX=1 -DPICO_TARGET_NAME=\"PicoMiteWeb\" -DPICO_USE_BLOCKED_RAM=0 -IC:\homa\PicoMite\PicoMiteWeb -IC:\homa\PicoMite\PicoMiteWeb\.. -IC:\homa\PicoMite\pico-sdk\src\common\pico_stdlib\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_gpio\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_base\include -IC:\homa\PicoMite\PicoMiteWeb\build\generated\pico_base -IC:\homa\PicoMite\pico-sdk\src\boards\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_platform\include -IC:\homa\PicoMite\pico-sdk\src\rp2040\hardware_regs\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_base\include -IC:\homa\PicoMite\pico-sdk\src\rp2040\hardware_structs\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_claim\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_sync\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_irq\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_sync\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_time\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_timer\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_util\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_uart\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_resets\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_clocks\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_pll\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_vreg\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_watchdog\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_xosc\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_divider\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_runtime\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_printf\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_bit_ops\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_divider\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_double\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_float\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_malloc\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_bootrom\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_binary_info\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_stdio\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_stdio_usb\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_unique_id\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_flash\include -IC:\homa\PicoMite\pico-sdk\src\common\pico_usb_reset_interface\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_int64_ops\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_mem_ops\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\boot_stage2\include -IC:\homa\PicoMite\pico-sdk\lib\tinyusb\src -IC:\homa\PicoMite\pico-sdk\lib\tinyusb\src\common -IC:\homa\PicoMite\pico-sdk\lib\tinyusb\hw -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_fix\rp2040_usb_device_enumeration\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_adc\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_pwm\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_i2c\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_spi\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_dma\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_exception\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\hardware_pio\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_async_context\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_lwip\include -IC:\homa\PicoMite\pico-sdk\lib\lwip\src\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_cyw43_arch\include -IC:\homa\PicoMite\pico-sdk\lib\cyw43-driver\src -IC:\homa\PicoMite\pico-sdk\lib\cyw43-driver\firmware -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_cyw43_driver\cybt_shared_bus -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_cyw43_driver\include -IC:\homa\PicoMite\pico-sdk\src\rp2_common\pico_rand\include -IC:\homa\PicoMite\PicoMiteWeb\build\pico-sdk\src\rp2_common\pico_cyw43_driver -IC:\homa\PicoMite\pico-sdk\lib\mbedtls\include -IC:\homa\PicoMite\pico-sdk\lib\mbedtls\library -mcpu=cortex-m0plus -mthumb -O3 -DNDEBUG -std=gnu11 -DPICOMITEWEB -DNDEBUG -DPICO_XOSC_STARTUP_DELAY_MULTIPLIER=64 -DPICO_FLASH_SIZE_BYTES=16777216 -DPICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE=0 -DPICO_STACK_SIZE=0x1800 -DPICO_CORE1_STACK_SIZE=0x0 -DPICO_HEAP_SIZE=0x9000 -DPICO_CYW43_ARCH_POLL -DCYW43_HOST_NAME=\"WebMite\" -O2 -ffunction-sections -fdata-sections -MD -MT CMakeFiles\PicoMiteWeb.dir\SSD1963.c.obj -MF CMakeFiles\PicoMiteWeb.dir\SSD1963.c.obj.d -o CMakeFiles\PicoMiteWeb.dir\SSD1963.c.obj -c C:\homa\PicoMite\PicoMiteWeb\SSD1963.c": R³ckgabe-Code "0x1" [build] Stop. [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build c:/homa/PicoMite/PicoMiteWeb/build --config Release --target all -j 18 -- exited with code: 2 [build] NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe" -s -f CMakeFiles\PicoMiteWeb.dir\build.make /nologo -SL CMakeFiles\PicoMiteWeb.dir\build": R³ckgabe-Code "0x2" [build] Stop. [build] NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -LS all": R³ckgabe-Code "0x2" [build] Stop. [driver] Build completed: 00:00:33.822 [build] Build finished with exit code 2 |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
V5.07.08b11 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Includes support for SK6812 RGBW Leds Use BITBANG WS2812 W, pin, nbr, value%[()] Put the white value in bits 24-31. e.g. BITBANG WS2812 W, 1, 1, &HFF000000 to light the white LED Also cancels the HW watchdog after END command, ctrl-C, or program end Wrong CMakeLists.txt file |
||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
And where do I get the right one? It's from here: https://github.com/UKTailwind/PicoMiteWeb/tree/main |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
I suspect you have overwritten the cmake file from the web github with the one from the normal pico or something similar Please no more build questions on this thread which is for beta releases Edited 2023-08-05 18:55 by matherp |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 511 |
Hi Peter, 1) Does the mm.watchdog automatic variable work with the new HW watchdog, or is there a new mm variable? 2) I have tried using the HW watchdog, with autorun ON, on an VGA, when the program restarts after a watchdog time out I appear to be able to ^C into it, but the USB terminal communication does not appear to restart, and the VGA output does not appear to be running, so I am having to resort to nuking it and re-installing. Any help much appreciated. Regards, Kevin. OPTION SYSTEM I2C GP22,GP15 OPTION CPUSPEED 378000 OPTION SDCARD GP5, GP2, GP3, GP4 OPTION AUDIO GP6, GP7 OPTION RTC AUTO ENABLE OPTION F6 "Edit 1"+chr$(13) OPTION F7 "Edit 2"+chr$(13) OPTION COLOURCODE ON OPTION DEFAULT MODE 2 OPTION LCDPANEL CONSOLE 8 OPTION AUTORUN ON |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
Forgot about mm.watchdog - will fix. Don't understand 2. Works fine with Geoff's watering controller on the Web version and the VGA version does nothing different. If you post a test program that demonstrates the fault I will look at it. |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 511 |
Hi Peter, Thanks for the help, I think the second problem is effectively operator error. As far as I can tell, as long as I ^C while the basic code is still running it breaks out ok, but because you can't see if MMBasic has reloaded and re-started, when AUTORUN is ON, I managed to do the ^C in that period, so before my Basic code had started. I have the HW Watchdog just inside a loop forever, with a timeout of 1000mS, so I was effectively missing that 1 second window and using ^C either once the Watchdog had triggered, or while MMBasic was still re-starting, I think! I widened the Watchdog window to make it easier to hit and it appears to be fine, I'll monitor it. Thanks again. Regards, Kevin. |
||||
EDNEDN Senior Member Joined: 18/02/2023 Location: United StatesPosts: 118 |
@matherp What is the proper way to get the updated source for V5.07.08b5 ? I've been using V5.05.05 and would like to catch up with all the improvements. (In particular, the file system in the EEPROM and the new mid$() features. V5.05.05 does not have either of those great new features.) I just sent the source request and the 'bot answered with identical links that it provided a year ago. And the most current version in that set is version V5.05.05. I appreciate all you have done and are doing for the community! I apologize for tossing one more thing one your plate! I would really love to be working off the V5.07.08 code base! :) |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
There might be some confusion here. V5.05.05 is the current version for the Micromite (based on the PICMX32 chips). Due to memory constraints this does not include Peter's latest "features". V5.07.08b5 is the PicoMite version for the Raspberry Pi Pico written and maintained by Peter and the source is available from https://github.com/UKTailwind/PicoMite Note that the source does not include the beta versions. The source will be updated when the beta becomes the released version. Geoff Geoff Graham - http://geoffg.net |
||||
EDNEDN Senior Member Joined: 18/02/2023 Location: United StatesPosts: 118 |
I appreciate your help to get rid of the confusion! I will update my source based on your information. THANK YOU!!! |
||||
carlschneider Senior Member Joined: 04/08/2023 Location: South AfricaPosts: 158 |
Sorry wrong thread Edited 2023-08-18 13:19 by carlschneider Cheers Carl Retirement is tough on Hobbies without a day job |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
Hi Peter, In Jim's example for inter-webmite-communication he used PIN(temp). I never used that before, and was amazed it was quite accurate compared to a reference sensor. But on the pico running from the switcher, once in every few hundred readings it would give a value that is several degrees of. So I started looking at adding an LM4040 to the Vref pin. Tring to improve. That is when I detected the temperature value was very much depending on the Vref voltage. Started playing with OPTION VCC to set the value to the accurate reference voltage, and noticed temperature was still 6 degrees off. Did you "calibrate" the temperture sensor in any way ? It is just curious that the sensor was so accurate without OPTION VCC (so the default was 3.3) and the internal switching regulator that has an output voltage of around 3.25 V (slightly lower than 3.3V). Is that a coincidence ? Or is this sensor not designed to be accurate in any way. Running the rp2040 chip at 133MHz, so it's temperature should be close to ambient... It does not even get warm at 378MHz. Volhout PicomiteVGA PETSCII ROBOTS |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
The use of a heat sink, here a double offset angle profile 30 x 20 x 2 mm made of aluminium, can increase the accuracy of measuring the ambient temperature. The outgoing heat flow from the processor only has a minor influence in relation to the heat sink surface. Gregor |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
Volhout See the RP2040 manual page section 4.9.5 (saves me re-typing ) rp2040-datasheet.pdf |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
EDIT: broken LM4040... sorry Volhout Edited 2023-08-23 20:12 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
V5.07.08b12 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip H/W watchdog now sets mm.watchdog Fixes various bugs in ADC use after ADC DMA conversions. Implements interlock to stop other ADC use while ADC DMA is running. Fixes bug in PIN(TEMP) after another ADC channel is used. Re-times all WS2812 variants and increases reset pulse for WS2812B to 280uSec Implements OPTION WEB MESSAGES ON/OFF ' defaults ON This is a temporary option reset whenever a program is run. When set to OFF messages like "Connecting to nnn port" will not appear |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 511 |
Hi Peter, Sorry for this, but I still don't think mm.watchdog is working correctly with HW Watchdog. It appears that if I have "option autorun off" set, it returns from a timeout set to 1, however if I do the same with "option autorun on" it returns from a timeout set to 0. :-( Regards Kevin. Edited 2023-08-25 01:32 by Bleep |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9128 |
MM.WATCHDOG should be OK now if you re-download |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
Peter, Any chance on adding the orientation parameter to the picomite blit command.? Volhout PicomiteVGA PETSCII ROBOTS |
||||
Page 5 of 11 |
Print this page |