Search found 19 matches

by simpleboy
Tue Aug 16, 2022 5:28 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

Hello all, Just to update on this issue. I have solved it already. It seems I missed out to provide modifications on my LMIC library. Problem does not occur beause my my operating system. The cause of the stall is when the program is trying to connect with the LoRaWAN network server. I just add the ...
by simpleboy
Tue Jun 07, 2022 3:09 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

I have modified it on stm32CubeProg.sh I added p=none: ${STM32CP_CLI} -c port=${PORT} p=none ${MODE} ${ERASE:+"-e all"} -q -d "${FILEPATH}" ${ADDRESS} "${OPTS}" I received this error message: ------------------------------------------------------------------- STM32CubeP...
by simpleboy
Tue Jun 07, 2022 12:27 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

The program compiles now. I uploaded it using Upload Method: STM32CubeProgrammer(Serial) It got some issues on running the program: Maybe because of the default port setting. I wonder where can I modify it. I need a parity bit of "none". Thanks for your help. ------------------------------...
by simpleboy
Tue Jun 07, 2022 12:16 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

STL C++ abs() is as described in this link: https://en.cppreference.com/w/cpp/numeric/math/abs so as stated by the log: abs(uint32_t) does not exist. Simply cast like that: return (abs(((long long)getEpochTime() - (long long)inReference))) Moreover subtract 2 unsigned number is not advised... This ...
by simpleboy
Tue Jun 07, 2022 12:15 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

This variant I make is also the one I use in the deprecated stm32 core version 1.5.0. I want to update it now to the official stm32 core, but I think I need to edit a lot of things, maybe I have more dependencies on that earlier version. I appreciate your help with this. I've made a PR with the var...
by simpleboy
Mon May 30, 2022 8:39 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

The variant_generic.h error has been resolved. I use the guide sent by ag123 . However I got some new errors coming from RTC and LowPower. In the old version, my firmware use stm32duino Low Power & RTC ver. 1.0.3, now I upgraded to the latest version 1.2.0. What do you think is the problem here?...
by simpleboy
Mon May 30, 2022 7:49 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

You should not create new directory, your variant should be added in this folder: https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32L0xx/L072R(B-Z)T_L073R(B-Z)T_L083R(B-Z)T The L0 hal conf is also not correct as you duplicate it. The PR example provided by @ag123 should help ...
by simpleboy
Mon May 30, 2022 7:46 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

fpiSTM wrote: Mon May 30, 2022 7:42 am
simpleboy wrote: Mon May 30, 2022 7:40 am
fpiSTM wrote: Mon May 30, 2022 7:02 am Could you share on github your variant ?
https://github.com/fsagbuya/variant-acsip.git
And the change made in the boards.txt? As your issue seems linked to wrong entry.
I already git push the boards.txt. Kindly refresh the repo.
by simpleboy
Mon May 30, 2022 7:40 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

fpiSTM wrote: Mon May 30, 2022 7:02 am Could you share on github your variant ?
https://github.com/fsagbuya/variant-acsip.git
by simpleboy
Mon May 30, 2022 6:07 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 7723

Re: Linux serial_posix vs. Windows serial_w32

I follow your suggestion to use the official and updated Arduino STM32cores. I also make my own variant. I editted the boards.txt to have it on my board menu. I receive this error. I wonder how to fix it. Thanks in advance.

Image

Go to advanced search