Search found 25 matches

by gsmith42
04 Nov 2017 02:08
Forum: mikroC PRO for ARM General
Topic: string.h is missing "const" qualifiers
Replies: 1
Views: 2810

string.h is missing "const" qualifiers

Most of the functions declared by <string.h> are missing const qualifiers. For instance, void *memcmp(void *s1, void *s2, int n); should be void *memcmp(const void *s1, const void *s2, int n) Note that "const" on the arguments does not imply that the strings are in ROM or will never change, it means...
by gsmith42
11 Apr 2017 20:39
Forum: mikroC PRO for ARM General
Topic: Want to find max stack depth
Replies: 0
Views: 11875

Want to find max stack depth

Is there any sample code to determine max stack usage for Mikroe projects? (ARM)
by gsmith42
11 Apr 2017 06:21
Forum: mikroC PRO for ARM General
Topic: Mikromedia plus STM32F7: errors compiling source
Replies: 11
Views: 13590

Re: Mikromedia plus STM32F7: errors compiling source

I try to compile the source code of the Mikromedia plus for STM32F7 but I get this error: "207 438 Call signature does not match the function definition signature 'Mmc_Multi_Read_Sector' __Lib_FAT32_Driver_STM32.c" I installed the FAT32 library "1461660309_fat32_library_mikroc_arm.mpkg" and use the...
by gsmith42
10 Apr 2017 02:29
Forum: mikroC PRO for ARM General
Topic: Mikromedia plus STM32F7: errors compiling source
Replies: 11
Views: 13590

Re: Mikromedia plus STM32F7: errors compiling source

Hi Look here https://libstock.mikroe.com/projects/view/108/fat32-library I am using this library for a Mikromedia Plus for STM32: https://libstock.mikroe.com/projects/download/108/4804/1483702589_fat32_library_mikroc_arm.mpkg It does compile. I have successfully written a file -- once! -- but I am ...
by gsmith42
15 Mar 2017 04:44
Forum: mikroC PRO for ARM Wish List
Topic: Eliminate reliance on elevated privileges
Replies: 7
Views: 4660

Re: Eliminate reliance on elevated privileges

Now that MicroC Pro version 5.0.0 is out, I tried what was suggested before -- run the installer as Admin -- i.e., right-click, then "run as administrator". No problem installing, but when I start the compiler as a regular user, I still see the same dialogs. So basically, installing as administrator...
by gsmith42
15 Mar 2017 01:40
Forum: ARM PRO Compilers
Topic: Finished (with errors), but no error messages
Replies: 1
Views: 3418

Finished (with errors), but no error messages

Any ideas how I can diagnose this? It just happened after a minor edit and undoing the changes does not help When I compile, I get the dreaded final error notice, but no other error messages. Every file compiles successfully, and there are no messages about memory usage. 0 102 Finished (with errors)...
by gsmith42
01 Dec 2016 12:57
Forum: PIC32 Compilers General
Topic: Most desired upgrades and enhancements for MikroE compilers
Replies: 139
Views: 3230485

Re: Most desired upgrades and enhancements for MikroE compil

When I am in the debugger, it would be incredibly useful to be able to see where you are in the calling tree. A separate stack window that I could bring up from View> would be perfect.
by gsmith42
30 Nov 2016 12:01
Forum: mikroC PRO for ARM General
Topic: typedef struct in compilers
Replies: 3
Views: 2514

Re: typedef struct in compilers

Of course, you won't want to do that if you are using the Mikroe libraries.
by gsmith42
30 Nov 2016 06:21
Forum: mikroC PRO for ARM General
Topic: large array indexes - compiler bug
Replies: 1
Views: 1871

large array indexes - compiler bug

I found a bug in MikroC Pro with large arrays, i.e. any array with more than 65536 entries -- and it actually looks like it's a problem for any array with over 65536 bytes. I don't know the actual limits here, just that I got burned. I haven't found any relevant advice in the forum although it does ...
by gsmith42
12 Nov 2016 03:25
Forum: mikroC PRO for ARM Wish List
Topic: Stack window in debugger
Replies: 1
Views: 2779

Stack window in debugger

When I am in the debugger, it would be incredibly useful to be able to see where you are in the calling tree. A separate stack window that I could bring up from View> would be perfect.
by gsmith42
11 Nov 2016 23:16
Forum: Visual TFT General
Topic: mikromedia 7 with stm32f7xx
Replies: 17
Views: 8076

Re: mikromedia 7 with stm32f7xx

It would be great to one for the "mikromedia plus for STM32F7", too.

(Same STM32F746ZG, but a 4.3-inch display instead of 7-inch)

I was able to hack up mikromedia 7 code to work, but it would be nice to have it work for this board out-of-the-box.
by gsmith42
10 Nov 2016 09:07
Forum: mikroC PRO for ARM Wish List
Topic: Eliminate reliance on elevated privileges
Replies: 7
Views: 4660

Re: Eliminate reliance on elevated privileges

Now that I understand it, I can live with the current behavior.

I'd just like to see it fixed in a future version. Thanks.
by gsmith42
08 Nov 2016 07:49
Forum: User Projects
Topic: help required
Replies: 2
Views: 3699

Re: help required

I don't really understand the original post, but you should be aware that testing floating point for equality against a constant is usually a bad idea. The reason is that floating point is only an approximation for most fractional values you can write. For example, you cannot represent 0.1 exactly i...
by gsmith42
08 Nov 2016 02:50
Forum: mikroC PRO for ARM Wish List
Topic: Persistant Find Dialog
Replies: 1
Views: 2489

Persistant Find Dialog

I would like the "find" dialog to be persistent, at least on Windows. Explanation: While examining code, I often look for text in the same file -- Edit>Find, or ctrl-F. Enter the search-for text, then click "OK". This works fine ... except that the dialog disappears. To search for the same text agai...
by gsmith42
08 Nov 2016 00:12
Forum: mikroC PRO for ARM General
Topic: DMA for ARM?
Replies: 5
Views: 3424

Re: DMA for ARM?

Are you looking for the compiler to automatically use DMA for (large) memory operations? DMA is hardware -- well, strictly speaking, a feature of some hardware devices. For example, Analog-to-Digital converters are typically connected through DMA so you can collect many samples without polling. I wo...

Go to advanced search